Document the M_ARENA_* mallopt parameters
[glibc.git] / ChangeLog
blob1b21469ee5d824dde00c9a100e20a4ffc2d74cb2
1 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3         * manual/memory.texi (M_ARENA_TEST): Add documentation.
4         (M_ARENA_MAX): Likewise.
5         * malloc/malloc.c: Remove obsolete comment.
7         * manual/memory.texi: Add environment variable alternatives to
8         setting mallopt parameters.
10 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
12         * include/atomic.h
13         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
14         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
16 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
19         * stdlib/tst-strfrom.h: New file.
20         * stdlib/tst-strfrom.c: New file.
21         * stdlib/tst-strfrom-locale.c: New file.
23         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
24         * stdlib/bug-strtod2.c: Likewise.
25         * stdlib/tst-strtod-round-skeleton.c: Likewise.
26         * stdlib/tst-strtod6.c: Likewise.
27         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
29 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
31         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
32         * manual/arith.texi: Document strfromd, strfromf, strfroml.
33         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
34         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
35         * stdlib/stdlib.h (strfromd): New declaration.
36         (strfromf): Likewise.
37         (strfroml): Likewise.
38         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
39         strfrom.
40         * stdlib/strfromd.c: New file.
41         * stdlib/strfromf.c: Likewise.
42         * stdlib/strfroml.c: Likewise.
43         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
44         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
45         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
46         * sysdeps/arm/nacl/libc.abilist: Update.
47         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
48         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
49         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
50         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
51         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
52         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
53         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
54         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
55         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
56         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
57         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
58         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
59         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
60         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
61         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
62         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
63         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
64         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
65         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
66         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
67         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
68         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
69         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
70         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
71         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
72         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
73         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
74         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
76 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
78         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
79         instead of cmpli.
80         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
81         instead of cmpli.
83 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
85         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
86         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
87         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
88         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
89         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
90         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
92 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
94         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
95         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
96         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
97         SYSCALL_LL64_PRW.
98         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
99         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
100         __ASSUME_PRW_DUMMY_ARG.
101         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
102         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
103         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
104         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
105         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
106         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
108 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
110         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
112 2016-10-22  Florian Weimer  <fweimer@redhat.com>
114         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
115         "C++", to override a potential extern "C" directive around the
116         header file inclusion.
118 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
120         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
122 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
124         * sysdeps/powerpc/fpu/fenv_private.h:
125         (_FPU_MASK_ALL): Rename to...
126         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
127         XE FPSCR bits.
129         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
131         (_FPU_MASK_ROUNDING): Rename to...
132         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
133         NI bits.
135         (_FPU_MASK_EXCEPT_ROUND): Rename to...
136         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
137         bits and rounding bits.
139         (__libc_feholdbits_ppc): New inline function to mask, set,
140         and pontentially clear FSPCR bits, and change MSR[FE] bits.
141         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
142         (libc_feholdexcept_setround_ppc): Likewise.
144         (__libc_femergeenv_ppc): New function to dynamically mask both
145         old and new FP environments and merge.
146         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
147         (libc_feresetround_ppc): Likewise.
148         (libc_feupdateenv_test_ppc): Likewise.
149         (libc_feupdateenv_ppc): Likewise.
151         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
152         of ISA RN bits, and update macro names.
153         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
154         effectively the same as the previously mentioned function.
156         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
157         usage with fe_resetround_ppc.
159         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
160         to be used.
161         (libc_feholdexcept_setround_ctxf): Likewise.
162         (libc_feholdexcept_setround_ctxl): Likewise.
164 2016-10-21  Florian Weimer  <fweimer@redhat.com>
166         [BZ #20715]
167         * math/math.h [__cplusplus] (iszero): Define as function template.
168         * math/Makefile [CXX] (tests): Add test-math-iszero.
169         (CFLAGS-test-math-iszero.cc): Set.
170         * math/test-math-iszero.cc: New file.
172 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
174         [BZ #20660]
175         * sysdeps/arm/e_sqrt.c: New file.
176         * sysdeps/arm/e_sqrtf.c: Likewise.
178 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
180         [BZ #20718]
181         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
182         not use floating-point comparisons to test sign.
183         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
184         Likewise.
186         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
187         (getpayload): New declaration.
188         * math/Versions (getpayload): New libm symbol at version
189         GLIBC_2.25.
190         (getpayloadf): Likewise.
191         (getpayloadl): Likewise.
192         * math/Makefile (libm-calls): Add s_getpayloadF.
193         * math/libm-test.inc: Include <nan-high-order-bit.h>.
194         (struct test_f_f_data): Add comment.
195         (RUN_TEST_fp_f): New macro.
196         (RUN_TEST_LOOP_fp_f): Likewise.
197         (getpayload_test_data): New array.
198         (getpayload_test): New function.
199         (main): Call getpayload_test.
200         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
201         descriptor.
202         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
203         getpayloadf and getpayloadl.
204         * manual/libm-err-tab.pl: Update comment on interfaces without
205         ulps tabulated.
206         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
207         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
208         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
209         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
210         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
211         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
212         * sysdeps/nacl/libm.abilist: Update.
213         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
214         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
215         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
216         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
217         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
218         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
219         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
220         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
221         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
222         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
223         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
224         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
226         Likewise.
227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
228         Likewise.
229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
230         Likewise.
231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
232         Likewise.
233         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
234         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
235         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
236         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
237         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
239         Likewise.
240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
241         Likewise.
242         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
243         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
244         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
246 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
248         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
249         tst-fallocate{64}.
250         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
251         on syscall return.
253 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
255         [BZ #20689]
256         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
257         usable.
259 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
261         * sysdeps/generic/nan-high-order-bit.h: New file.
262         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
263         * sysdeps/mips/nan-high-order-bit.h: Likewise.
264         * sysdeps/hppa/math_private.h: Remove file.
265         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
266         not define here.
267         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
268         <nan-high-order-bit.h>.
269         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
270         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
271         <nan-high-order-bit.h>.
272         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
273         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
274         <nan-high-order-bit.h>.
275         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
276         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
277         <nan-high-order-bit.h>.
278         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
279         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
280         <nan-high-order-bit.h>.
281         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
282         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
283         <nan-high-order-bit.h>.
284         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
285         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
286         <nan-high-order-bit.h>.
287         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
288         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
289         <nan-high-order-bit.h>.
290         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
291         * sysdeps/ieee754/flt-32/s_totalordermagf.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-128/s_issignalingl.c: Include
295         <nan-high-order-bit.h>.
296         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
297         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
298         <nan-high-order-bit.h>.
299         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
300         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
301         <nan-high-order-bit.h>.
302         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
303         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
304         <nan-high-order-bit.h>.
305         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
306         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
307         <nan-high-order-bit.h>.
308         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
309         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
310         <nan-high-order-bit.h>.
311         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
312         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
313         <nan-high-order-bit.h>.
314         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
315         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
316         <nan-high-order-bit.h>.
317         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
318         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
319         <nan-high-order-bit.h>.
320         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
322 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
324         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
326 2016-09-22  John David Anglin  <dave.anglin@bell.net>
328         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
329         abort-instr.h.
330         (EFAULT): Remove conditional define.
331         (ENOSYS): Likewise.
332         (atomic_compare_and_exchange_val_acq): Use instruction nullification
333         instead of conditional branch instructions.
335 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
337         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
338         (totalordermag): New declaration.
339         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
340         New macro.
341         * math/Versions (totalordermag): New libm symbol at version
342         GLIBC_2.25.
343         (totalordermagf): Likewise.
344         (totalordermagl): Likewise.
345         * math/Makefile (libm-calls): Add s_totalordermagF.
346         * math/libm-test.inc (totalordermag_test_data): New array.
347         (totalordermag_test): New function.
348         (main): Call totalordermag_test.
349         * math/test-tgmath.c (NCALLS): Increase to 125.
350         (F(compile_test)): Call totalordermag.
351         (F(totalordermag)): New function.
352         * manual/arith.texi (FP Comparison Functions): Document
353         totalordermag, totalordermagf and totalordermagl.
354         * manual/libm-err-tab.pl: Update comment on interfaces without
355         ulps tabulated.
356         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
357         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
358         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
359         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
360         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
361         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
362         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
363         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
364         totalordermag.
365         (CFLAGS-nldbl-totalordermag.c): New variable.
366         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
367         (do_test): Also test totalordermagl.
368         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
369         Likewise.
370         * sysdeps/nacl/libm.abilist: Update.
371         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
372         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
373         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
374         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
375         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
376         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
377         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
378         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
379         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
380         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
381         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
382         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
384         Likewise.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
386         Likewise.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
388         Likewise.
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
390         Likewise.
391         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
392         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
393         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
394         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
395         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
397         Likewise.
398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
399         Likewise.
400         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
401         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
402         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
404 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
406         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
407         boolean.
409 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
411         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
412         raising FE_INVALID with feraisexcept in case where part of
413         argument is infinite, subtract that part of argument from itself.
414         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
415         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
416         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
418 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
420         * math/libm-test.inc (totalorder_test_data): Add more tests.
422 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
424         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
425         Undefine weak_alias and add a comment why mips64 require
426         versioning.
428 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
430         [BZ #20647]
431         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
432         maximum CPUID level is less than 2.
434 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
436         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
437         (totalorder): New declaration.
438         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
439         New macro.
440         * math/Versions (totalorder): New libm symbol at version
441         GLIBC_2.25.
442         (totalorderf): Likewise.
443         (totalorderl): Likewise.
444         * math/Makefile (libm-calls): Add s_totalorderF.
445         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
446         string.
447         * math/libm-test.inc (PAYLOAD_DIG): New macro.
448         (qnan_value_pl): Likewise.
449         (snan_value_pl): Likewise.
450         (qnan_value): Define using qnan_value_pl.
451         (snan_value): Define using snan_value_pl.
452         (struct test_ff_i_data): Add comment about which tests use this
453         structure.
454         (RUN_TEST_ff_b): New macro.
455         (RUN_TEST_LOOP_ff_b): Likewise.
456         (totalorder_test_data): New array.
457         (totalorder_test): New function.
458         (main): Call totalorder_test.
459         * math/test-tgmath.c (NCALLS): Increase to 122.
460         (F(compile_test)): Call totalorder.
461         (F(totalorder)): New function.
462         * manual/arith.texi (FP Comparison Functions): Document
463         totalorder, totalorderf and totalorderl.
464         * manual/libm-err-tab.pl: Update comment on interfaces without
465         ulps tabulated.
466         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
467         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
468         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
469         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
470         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
471         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
472         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
473         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
474         totalorder.
475         (CFLAGS-nldbl-totalorder.c): New variable.
476         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
477         file.
478         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
479         Add test-totalorderl-ldbl-128ibm.
480         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
481         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
482         test-totalorderl-ldbl-96.
483         * sysdeps/nacl/libm.abilist: Update.
484         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
485         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
486         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
487         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
488         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
489         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
490         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
491         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
492         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
493         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
494         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
495         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
497         Likewise.
498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
499         Likewise.
500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
501         Likewise.
502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
503         Likewise.
504         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
505         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
506         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
508         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
510         Likewise.
511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
512         Likewise.
513         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
514         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
515         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
517 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
519         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
520         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
521         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
522         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
523         remove ENOSYS implementation.
524         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
525         Consolidate all Linux implementations.
527 2016-10-11  Florian Weimer  <fweimer@redhat.com>
529         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
530         * resolv/herror.c (herror): Cast away const-ness.
531         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
532         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
534 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
536         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
537         instead of M_NAN + M_NAN.
538         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
540 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
542         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
543         unused variable 'p'.
545 2016-10-09  Alan Modra  <amodra@gmail.com>
546             Andreas Schwab  <schwab@linux-m68k.org>
548         [BZ #20554]
549         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
550         [PIC && !SHARED]: Set up PIC register for PLT call.
552 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
554         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
555         conditional on value of [__FLT_EVAL_METHOD__].
556         * math/test-iseqsig-excess-precision.c: New file.
557         * math/Makefile (tests): Add test-iseqsig-excess-precision.
559 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
561         * math/s_iseqsig_template.c: Include math-private.h.
563         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
564         * posix/tst-posix_fadvise.c: New file.
565         * posix/tst-posix_fadvise64.c: Likewise.
566         * posix/tst-posix_fadvise-common.c: Likewise.
567         * sysdeps/unix/sysv/linux/arm/kernel-features.h
568         (__ASSUME_FADVISE64_64_6ARG): Define.
569         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
570         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
571         * sysdeps/unix/sysv/linux/tile/kernel-features.h
572         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
573         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
574         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
575         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
576         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
577         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
578         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
579         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
580         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
583         Likewise.
584         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
585         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
586         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
587         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
588         Alias to __posix_fadvise64_l32.
589         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
590         Add compat definition to posix_fadvise64.
591         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
592         Add versioned definition to posix_fadvise64.
593         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
594         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
595         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
596         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
597         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
599         * io/Makefile (tests): Add tst-posix_fallocate and
600         tst-posix_fallocate64.
601         * io/tst-posix_fallocate-common.c: New file.
602         * io/tst-posix_fallocate.c: Likewise.
603         * io/tst-posix_fallocate64.c: Likewise.
604         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
605         file.
606         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
607         Likewise.
608         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
609         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
610         Likewise.
611         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
612         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
613         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
614         SYSCALL_LL to pass both offset and len arguments.
615         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
616         Likewise.
617         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
618         __libc_pwrite64 alias used by posix_fallocate64.
620         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
621         tst-fallocate64.
622         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
623         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
624         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
625         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
626         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
627         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
628         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
629         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
630         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
631         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
632         macro on offset argument.
633         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
634         SYSCALL_LL64 on offset argument.
636         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
637         tst-fallocate64.
638         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
639         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
640         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
641         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
642         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
643         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
644         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
645         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
646         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
647         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
648         macro on offset argument.
649         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
650         SYSCALL_LL64 on offset argument.
651         * test-skeleton.c (FAIL_RET): Add macro.
652         (FAIL_EXIT): Likewise.
653         (FAIL_EXIT1): Likewise.
654         (_FAIL): Likewise.
656 2016-10-07  Florian Weimer  <fweimer@redhat.com>
658         [BZ #20629]
659         resolv: Remove RES_USEBSTRING and its implementation.
660         * resolv/resolv.h (RES_USEBSTRING): Remove.
661         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
662         (digitvalue, encode_bitstring, decode_bitstring): Remove.
663         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
664         (labellen): Remove extended label types support.
665         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
666         * resolv/res_init.c (res_setoptions): Likewise.
667         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
669 2016-10-07  Florian Weimer  <fweimer@redhat.com>
671         resolv: Remove RES_NOIP6DOTINT and its implementation.
672         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
673         (RES_NOIP6DOTINT): Remove.
674         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
675         handling.
676         * resolv/res_debug.c (p_option): Likewise.
677         * resolv/res_init.c (res_setoptions): Likewise.
678         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
680 2016-10-07  Florian Weimer  <fweimer@redhat.com>
682         resolv: Deprecate unimplemented flags.
683         * misc/sys/cdefs.h (__glibc_macro_warning1)
684         (__glibc_macro_warning): Define.
685         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
686         (RES_KEEPTSIG): Mark as deprecated.
687         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
688         RES_NOCHECKNAME, RES_KEEPTSIG.
689         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
691 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
693         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
694         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
695         Use strong_alias to create symbols for glibc verison 2.19.
697 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
699         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
701 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
703         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
705 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
707         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
709 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
711         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
712         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
713         in header for using it as type for ifunc function because __GI_* symbols
714         for ppc32 do not target the ifunc symbols.
715         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
717 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
719         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
720         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
721         libc_ifunc_hidden_def.
722         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
723         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
724         Redirect ifunced function in header for using it as type of ifunc'ed
725         function. Redefine libc_hidden_def to use fallback non ifunc'ed
726         function for __GI_* symbol.
727         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
728         * include/libc-symbols.h
729         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
731 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
733         [BZ #20478]
734         * sysdeps/s390/multiarch/ifunc-resolve.h
735         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
736         to create ifunc symbols.
737         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
738         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
739         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
740         for using it as type for ifunc function.
741         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
742         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
743         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
744         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
745         * sysdeps/s390/multiarch/strcat.c: Likewise.
746         * sysdeps/s390/multiarch/strchr.c: Likewise.
747         * sysdeps/s390/multiarch/strcmp.c: Likewise.
748         * sysdeps/s390/multiarch/strcpy.c: Likewise.
749         * sysdeps/s390/multiarch/strcspn.c: Likewise.
750         * sysdeps/s390/multiarch/strlen.c: Likewise.
751         * sysdeps/s390/multiarch/strncmp.c: Likewise.
752         * sysdeps/s390/multiarch/strncpy.c: Likewise.
753         * sysdeps/s390/multiarch/strnlen.c: Likewise.
754         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
755         * sysdeps/s390/multiarch/strrchr.c: Likewise.
756         * sysdeps/s390/multiarch/strspn.c: Likewise.
757         * sysdeps/s390/multiarch/wcschr.c: Likewise.
758         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
759         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
760         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
761         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
762         * sysdeps/s390/multiarch/wmemset.c: Likewise.
763         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
764         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
765         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
766         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
767         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
768         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
770 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
772         * include/libc-symbols.h (__ifunc_resolver):
773         New macro is used by __ifunc* macros.
774         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
775         depending on HAVE_GCC_IFUNC.
776         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
777         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
779         Redirect ifunced function in header for using as type for ifunc function.
780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
785         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
786         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
787         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
788         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
789         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
790         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
791         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
792         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
793         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
799         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
800         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
801         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
802         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
803         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
804         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
805         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
806         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
807         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
808         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
809         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
810         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
811         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
812         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
814         Add libc_hidden_def() and use libc_ifunc_hidden() macro
815         instead of libc_ifunc() macro.
816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
817         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
819 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
821         * config.h.in (HAVE_GCC_IFUNC): New undef.
822         * configure.ac: Add check if gcc supports attribute ifunc feature.
823         * configure: Regenerated.
824         * manual/install.texi: Add recommendation for gcc with
825         indirect-function support.
826         * INSTALL: Regenerated.
828 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
830         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
831         macro.
832         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
833         (__iseqsig): New declaration.
834         * math/s_iseqsig_template.c: New file.
835         * math/Versions (__iseqsigf): New libm symbol at version
836         GLIBC_2.25.
837         (__iseqsig): Likewise.
838         (__iseqsigl): Likewise.
839         * math/libm-test.inc (iseqsig_test_data): New array.
840         (iseqsig_test): New function.
841         (main): Call iseqsig_test.
842         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
843         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
844         * manual/libm-err-tab.pl: Update comment on interfaces without
845         ulps tabulated.
846         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
847         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
848         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
849         * sysdeps/nacl/libm.abilist: Update.
850         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
851         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
852         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
853         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
854         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
855         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
856         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
857         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
858         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
860         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
861         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
863         Likewise.
864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
865         Likewise.
866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
867         Likewise.
868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
869         Likewise.
870         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
871         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
872         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
873         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
874         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
876         Likewise.
877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
878         Likewise.
879         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
880         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
881         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
883 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
885         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
886         do_sincos_2, sloww, sloww1): Update comments.
888         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
889         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
891         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
892         K boolean and rename it.
893         (__sin): Adjust.
894         (__cos): Adjust.
896 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
897             Siddhesh Poyarekar  <siddhesh@sourceware.org>
899         * manual/nss.texi: Fix typos in the manual.
901 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
903         * manual/contrib.texi: Fix typos in the manual.
905         * manual/maint.texi: Fix typos in the manual.
907         * manual/install.texi: Fix typos in the manual.
908         * INSTALL: Regenerated.
910         * manual/lang.texi: Fix typos in the manual.
912         * manual/probes.texi: Fix typos in the manual.
914         * manual/threads.texi: Fix typos in the manual.
916         * manual/debug.texi: Fix typos in the manual.
918         * manual/crypt.texi: Fix typos in the manual.
920         * manual/conf.texi: Fix typos in the manual.
922         * manual/sysinfo.texi: Fix typos in the manual.
924         * manual/users.texi: Fix typos in the manual.
926         * manual/job.texi: Fix typos in the manual.
928         * manual/process.texi: Fix typos in the manual.
930         * manual/argp.texi: Fix typos in the manual.
931         * manual/getopt.texi: Likewise.
932         * manual/startup.texi: Likewise.
934         * manual/signal.texi: Fix typos in the manual.
936         * manual/setjmp.texi: Fix typos in the manual.
938         * manual/resource.texi: Fix typos in the manual.
940         * manual/time.texi: Fix typos in the manual.
942         * manual/arith.texi: Fix typos in the manual.
944         * manual/math.texi: Fix typos in the manual.
946         * manual/syslog.texi: Fix typos in the manual.
948         * manual/terminal.texi: Fix typos in the manual.
950         * manual/socket.texi: Fix typos in the manual.
952         * manual/filesys.texi: Fix typos in the manual.
954         * manual/llio.texi: Fix typos in the manual.
956         * manual/stdio.text: Fix typos in the manual.
958 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
960         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
961         instead of K1.
963         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
964         SHIFT_QUADRANT and make it bool.
965         (do_sincos_2): Likewise.
966         (sloww): Likewise.
967         (sloww1): Likewise.
968         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
969         (__cos): Likewise.
971 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
973         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
975 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
977         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
978         Define to __WORDSIZE, not conditional on [LONG_MAX ==
979         0x7fffffffL].
980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
982 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
984         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
985         inline by __inline__.
986         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
987         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
988         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
989         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
990         sigset_t from signal.h.
991         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
992         which is already required.
994 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
996         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
998 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
1000         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1001         (struct tcp_repair_window): New type.
1003 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1005         * libio/tst-memstream3.c: Include string.h.
1007 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1009         [BZ #18241]
1010         [BZ #20181]
1011         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1012         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1013         write position is at the end the buffer.
1014         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1015         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1016         (_IO_str_seekoff): Set correct offset from negative displacement and
1017         set EINVAL for invalid ones.
1018         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1019         buffer length.
1020         (_IO_wstr_switch_to_get_mode): New function.
1021         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1022         set EINVAL for invalid ones.
1023         * libio/tst-memstream3.c: New file.
1024         * libio/tst-wmemstream3.c: Likewise.
1025         * manual/examples/memstrm.c: Remove warning when priting size_t.
1027 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1029         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1030         macro to use __builtin_fma.
1031         * sysdeps/x86_64/fpu/dla.h: Remove file.
1033         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1034         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1035         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1037 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1039         [BZ #20292]
1040         * elf/Makefile (routines): Add dl-addr-obj.
1041         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1042         tst-_dl_addr_inside_object.
1043         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1044         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1045         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1046         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1047         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1048         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1049         * elf/dl-open.c: Likewise.
1050         * elf/dl-addr-obj.c: New file.
1051         * elf/tst-_dl_addr_inside_object.c: New file.
1053 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1055         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1056         <bits/iscanonical.h>.
1057         * bits/iscanonical.h: New file.
1058         * math/s_iscanonicall.c: Likewise.
1059         * math/Versions (__iscanonicall): New libm symbol at version
1060         GLIBC_2.25.
1061         * math/libm-test.inc (iscanonical_test_data): New array.
1062         (iscanonical_test): New function.
1063         (main): Call iscanonical_test.
1064         * math/Makefile (headers): Add bits/iscanonical.h.
1065         (type-ldouble-routines): Add s_iscanonicall.
1066         * manual/arith.texi (Floating Point Classes): Document
1067         iscanonical.
1068         * manual/libm-err-tab.pl: Update comment on interfaces without
1069         ulps tabulated.
1070         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1071         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1072         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1073         Likewise.
1074         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1075         test-iscanonical-ldbl-128ibm.
1076         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1077         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1078         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1079         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1080         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1081         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1082         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1084         Likewise.
1085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1086         Likewise.
1087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1088         Likewise.
1089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1090         Likewise.
1091         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1092         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1094 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1096         * string/bits/string3.h: Remove C++ style comments.
1098 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1100         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1101         instead of ternary condition.
1102         (do_sincos_2): Likewise.
1103         (__sin): Likewise.
1104         (__cos): Likewise.
1105         (slow): Likewise.
1106         (sloww): Likewise.
1107         (sloww1): Likewise.
1108         (bsloww): Likewise.
1109         (bsloww1): Likewise.
1111         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1112         instead of ternary condition.
1113         (do_sin_slow): Likewise.
1114         (do_sincos_1): Likewise.
1115         (do_sincos_2): Likewise.
1116         (__cos): Likewise.
1117         (sloww): Likewise.
1118         (sloww1): Likewise.
1119         (sloww2): Likewise.
1120         (bsloww): Likewise.
1121         (bsloww1): Likewise.
1122         (bsloww2): Likewise.
1124         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1125         check from here...
1126         (slow2): ... and here...
1127         (__sin): ... to here.
1129 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1131         * math/math.h
1132         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1133         Cast argument to its own type.
1134         * math/test-iszero-excess-precision.c: New file.
1135         * math/Makefile (tests): Add test-iszero-excess-precision.
1136         (CFLAGS-test-iszero-excess-precision.c): New variable.
1138 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1140         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1141         field, add err field.
1142         (__spawni_child): Report error through err member instead of pipe.
1143         (__spawnix): Likewise.
1145 2016-09-28  Zack Weinberg  <zackw@panix.com>
1147         * scripts/check-installed-headers.sh: Generalize treatment of
1148         sys/elf.h to all target architectures.
1150         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1151         deleted typedef ucontext_t.
1153 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1155         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1156         (__INTERNAL_SYSCALL1): Likewise.
1157         (__INTERNAL_SYSCALL2): Likewise.
1158         (__INTERNAL_SYSCALL3): Likewise.
1159         (__INTERNAL_SYSCALL4): Likewise.
1160         (__INTERNAL_SYSCALL5): Likewise.
1161         (__INTERNAL_SYSCALL6): Likewise.
1162         (__INTERNAL_SYSCALL7): Likewise.
1163         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1164         (__INTERNAL_SYSCALL_NARGS): Likewise.
1165         (__INTERNAL_SYSCALL_DISP): Likewise.
1166         (INTERNAL_SYSCALL_CALL): Likewise.
1167         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1168         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1169         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1170         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1171         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1172         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1173         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1174         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1175         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1176         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1177         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1178         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1179         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1181 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1183         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1184         macro.
1185         * math/libm-test.inc (iszero_test_data): New array.
1186         (iszero_test): New function.
1187         (main): Call iszero_test.
1188         * manual/arith.texi (Floating Point Classes): Document iszero.
1189         * manual/libm-err-tab.pl: Update comment on interfaces without
1190         ulps tabulated.
1192 2016-09-23  Zack Weinberg  <zackw@panix.com>
1194         * scripts/check-installed-headers.sh: New script.
1195         * Rules: In each directory that defines header files to be installed,
1196         run check-installed-headers.sh on them as a special test.
1197         * Makefile: Likewise for the headers installed at top level.
1199         * include/aliases.h, include/alloca.h, include/argz.h
1200         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1201         * include/elf.h, include/envz.h, include/err.h
1202         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1203         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1204         * include/link.h, include/malloc.h, include/mcheck.h
1205         * include/mntent.h, include/netinet/ether.h
1206         * include/nss.h, include/obstack.h, include/printf.h
1207         * include/pty.h, include/resolv.h, include/rpc/auth.h
1208         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1209         * include/rpc/clnt.h, include/rpc/des_crypt.h
1210         * include/rpc/key_prot.h, include/rpc/netdb.h
1211         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1212         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1213         * include/rpc/rpc_msg.h, include/rpc/svc.h
1214         * include/rpc/svc_auth.h, include/rpc/xdr.h
1215         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1216         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1217         * include/rpcsvc/ypupd.h, include/shadow.h
1218         * include/stdio_ext.h, include/sys/epoll.h
1219         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1220         * include/sys/prctl.h, include/sys/profil.h
1221         * include/sys/statfs.h, include/sys/sysctl.h
1222         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1223         * sysdeps/arm/nacl/include/bits/setjmp.h
1224         * sysdeps/mips/include/sys/asm.h
1225         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1226         * sysdeps/unix/sysv/linux/include/sys/timex.h
1227         * sysdeps/x86/fpu/include/bits/fenv.h:
1228         Add #ifndef _ISOMAC guard around internal declarations.
1229         Add multiple-inclusion guard if not already present.
1231 2016-09-23  Zack Weinberg  <zackw@panix.com>
1233         * sysdeps/generic/sys/ucontext.h
1234         * sysdeps/arm/sys/ucontext.h
1235         * sysdeps/i386/sys/ucontext.h
1236         * sysdeps/m68k/sys/ucontext.h
1237         * sysdeps/mips/sys/ucontext.h
1238         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1239         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1240         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1241         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1242         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1243         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1244         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1245         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1246         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1247         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1248         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1249         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1250         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1251         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1252         Include both bits/sigcontext.h and bits/sigstack.h.
1253         Fix grammar error in comment, if present.
1255         * bits/sigstack.h
1256         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1257         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1258         * sysdeps/unix/sysv/linux/bits/sigstack.h
1259         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1260         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1261         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1262         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1263         * bits/sigcontext.h
1264         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1265         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1266         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1267         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1268         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1269         as well as signal.h, if this was not already allowed.  Request
1270         definition of size_t if necessary.  Minimize semantically-null
1271         differences across files.
1273 2016-09-23  Zack Weinberg  <zackw@panix.com>
1275         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1276         Remove all logic conditional on __need macros.  Move all the
1277         conditionally defined types to their own headers...
1278         * time/bits/types/clock_t.h: Define clock_t here.
1279         * time/bits/types/clockid_t.h: Define clockid_t here.
1280         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1281         * time/bits/types/struct_timespec.h: Define struct timespec here.
1282         * time/bits/types/struct_timeval.h: Define struct timeval here.
1283         * time/bits/types/struct_tm.h: Define struct tm here.
1284         * time/bits/types/time_t.h: Define time_t here.
1285         * time/bits/types/timer_t.h: Define timer_t here.
1286         * time/Makefile: Install the new headers.
1288         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1289         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1290         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1291         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1292         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1293         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1294         * sysdeps/unix/sysv/linux/bits/resource.h
1295         * sysdeps/unix/sysv/linux/bits/timex.h
1296         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1297         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1298         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1299         * sysdeps/unix/sysv/linux/sys/acct.h
1300         * sysdeps/unix/sysv/linux/sys/timerfd.h
1301         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1302         * time/sys/time.h, time/sys/timeb.h
1303         Use the new bits/types headers.
1305         * include/time.h: Remove __need logic.
1306         * include/bits/time.h
1307         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1308         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1309         * include/bits/types/struct_itimerspec.h
1310         * include/bits/types/struct_timespec.h
1311         * include/bits/types/struct_timeval.h
1312         * include/bits/types/struct_tm.h:
1313         New wrapper headers.
1315 2016-09-23  Zack Weinberg  <zackw@panix.com>
1317         * sysdeps/mach/hurd/net/if_ppp.h
1318         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1319         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1320         if __USE_MISC is defined, to ensure struct ifreq is declared.
1322         * inet/netinet/ether.h: Condition all function prototypes
1323         on __USE_MISC, to ensure struct ether_addr is declared.
1325         * socket/bits/types/struct_osockaddr.h: New header.
1326         * include/bits/types/struct_osockaddr.h: New wrapper.
1327         * socket/Makefile: Install the new header.
1328         * socket/sys/socket.h, inet/protocols/talkd.h:
1329         Refer to bits/types/struct_osockaddr.h for the definition of
1330         struct osockaddr.
1332 2016-09-23  Zack Weinberg  <zackw@panix.com>
1334         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1335         * inet/protocols/routed.h, inet/protocols/talkd.h
1336         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1337         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1338         * sysdeps/generic/netinet/if_ether.h
1339         * sysdeps/generic/netinet/in_systm.h
1340         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1341         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1342         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1343         * sysdeps/mach/hurd/net/if_arp.h
1344         * sysdeps/mach/hurd/net/if_ppp.h
1345         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1346         * sysdeps/unix/sysv/linux/bits/in.h
1347         * sysdeps/unix/sysv/linux/net/ethernet.h
1348         * sysdeps/unix/sysv/linux/net/if_arp.h
1349         * sysdeps/unix/sysv/linux/net/if_ppp.h
1350         * sysdeps/unix/sysv/linux/net/if_shaper.h
1351         * sysdeps/unix/sysv/linux/net/route.h
1352         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1353         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1354         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1355         * sysdeps/unix/sysv/linux/netipx/ipx.h
1356         * sysdeps/unix/sysv/linux/sys/acct.h
1357         * include/arpa/nameser.h, include/resolv.h:
1358         Change all uses of u_char to unsigned char,
1359         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1360         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1361         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1362         and u_int64_t and u_quad_t to uint64_t.
1364         * mach/sys/reboot.h: Remove two casts of integer literals
1365         to the types they already have.
1367         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1368         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1369         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1370         from referring to 'unsigned char' to 'uint8_t' for consistency with
1371         the macro definition below.
1373         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1374         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1375         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1376         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1377         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1378         * sysdeps/unix/sysv/linux/sys/acct.h
1379         * include/arpa/nameser.h, include/resolv.h:
1380         Fix indentation disrupted by mechanical edits.
1382         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1383         * sysdeps/generic/netinet/in_systm.h
1384         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1385         * sysdeps/gnu/netinet/udp.h
1386         * sysdeps/unix/sysv/linux/net/ethernet.h
1387         * sysdeps/unix/sysv/linux/net/if_arp.h
1388         * sysdeps/unix/sysv/linux/net/if_ppp.h
1389         * sysdeps/unix/sysv/linux/net/if_shaper.h
1390         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1391         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1392         * sysdeps/unix/sysv/linux/netipx/ipx.h
1393         * sysdeps/unix/sysv/linux/sys/acct.h
1394         Include stdint.h for uintNN_t definitions.
1395         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1397 2016-09-23  Zack Weinberg  <zackw@panix.com>
1399         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1400         * sysdeps/unix/sysv/linux/netrose/rose.h:
1401         Include sys/socket.h and netax25/ax25.h.
1403         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1404         * resolv/arpa/nameser_compat.h:
1405         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1407         * sysdeps/unix/sysv/linux/sys/quota.h:
1408         Use __caddr_t instead of caddr_t.
1409         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1410         Use __clockid_t instead of clockid_t.
1412         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1414         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1415         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1416         expanding it.
1418         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1419         Define __glibc_c99_flexarr_available to 1 when the compiler
1420         supports C99-compatible flexible array members, 0 otherwise.
1421         * sysdeps/unix/sysv/linux/bits/socket.h
1422         * sysdeps/mach/hurd/bits/socket.h
1423         * bits/socket.h: Use __glibc_c99_flexarr_available in
1424         definitions of struct cmsghdr and CMSG_DATA.
1426 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1428         * manual/nss.texi (NSS Modules Interface): Adjust function return
1429         type to enum nss_status.  Document errnop argument.  Clarify
1430         h_errnop semantics.  Fix cross-reference formatting.
1431         (NSS Module Function Internals): Mention that *errnop needs to be
1432         set on failure, but not to zero.
1434 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1436         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1437         (get_random_name): New functions.
1438         (check_wrapper_flags_mode): Use linkat to give the new file a name
1439         determined by get_random_name.
1440         (do_test): Add calls to test open64 and openat64.
1442 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1444         * test-skeleton.c: Remove #include <stdarg.h>.
1446 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1448         [BZ #19826]
1449         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1450         initialization of static TLS entries.
1451         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1452         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1454 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1456         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1457         _hurd_malloc_fork_prepare.
1458         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1459         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1460         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1461         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1462         (_hurd_fork_child_hook): Drop malloc_fork_child.
1463         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1464         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1465         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1466         after locking locks (notably hurd_dtable_lock). Call
1467         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1468         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1469         __malloc_fork_unlock_child.
1470         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1472 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1474         * soft-fp/extendhftf2.c: New.
1475         * soft-fp/fixhfti.c: Likewise.
1476         * soft-fp/fixunshfti.c: Likewise.
1477         * soft-fp/floattihf.c: Likewise.
1478         * soft-fp/floatuntihf.c: Likewise.
1479         * soft-fp/half.h: Likewise.
1480         * soft-fp/trunctfhf2.c: Likewise.
1482 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1484         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1485         macro.
1486         * math/libm-test.inc (issubnormal_test_data): New array.
1487         (issubnormal_test): New function.
1488         * manual/arith.texi (Floating Point Classes): Document
1489         issubnormal.
1490         * manual/libm-err-tab.pl: Update comment on interfaces without
1491         ulps tabulated.
1493         * sysdeps/generic/stdint.h: Define
1494         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1495         <bits/libc-header-start.h> instead of including <features.h>.
1496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1515         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1516         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1517         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1518         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1519         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1524         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1525         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1526         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1527         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1528         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1529         * manual/arith.texi (Integers): Document these macros for types
1530         specified by width properties.
1531         * manual/lang.texi (Width of Type): Document these macros for
1532         other standard typedefs.
1533         * stdlib/tst-width-stdint.c: New file.
1534         * stdlib/Makefile (tests): Add tst-width-stdint.
1536 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1538         [BZ #20016]
1539         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
1540         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
1541         Move ...
1542         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
1543         ... here, as compatibility symbols in a new file.
1544         * resolv/Makefile (libresolv-routines): Add compat-hooks.
1545         * resolv/res_init.c (__res_vinit): Adjust member names.
1546         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
1547         * resolv/resolv.h (res_sendhookact, res_send_qhook)
1548         (res_send_rhook): Remove.
1549         (struct __res_state): Rename qhook, rhook members.
1551 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1553         malloc: Use __libc_lock wrappers.
1554         * malloc/arena.c (list_lock, free_list_lock): Define using
1555         __libc_lock_define_initialized.
1556         (arena_lock): Adjust formatting.
1557         * malloc/malloc.c (struct malloc_state): Define mutex using
1558         __libc_lock_define.
1559         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
1560         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
1561         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
1562         (mutex_unlock, mutex_trylock): Remove.
1563         (__pthread_initialize): Remove unused macro.
1564         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
1565         (mutex_unlock, mutex_trylock): Remove.
1567 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1569         [BZ #20592]
1570         Remove RR type classification macros.
1571         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
1572         (ns_t_udp_p, ns_t_xfr_p): Remove.
1574 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1576         Remove misleading version information.
1577         * resolv/arpa/nameser.h (__NAMESER): Remove.
1578         * resolv/arpa/nameser_compat.h (__BIND): Remove.
1580 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1582         Remove the always-defined BIND_4_COMPAT macro.
1583         * resolv/arpa/nameser.h: Unconditionally include
1584         <arpa/nameser_compat.h>.
1585         (BIND_4_COMPAT): Remove.
1586         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
1588 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1590         [BZ #20591]
1591         Remove obsolete DNSSEC support.
1592         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
1593         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
1594         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
1595         (ns_verify_tcp, ns_verify_tcp_init): Remove.
1596         (ns_cert_types): Add comment.
1597         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
1598         separately.
1599         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
1600         (dst_s_dns_key_id): Remove.
1601         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
1602         variables.
1604 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1606         [BZ #20524]
1607         * manual/string.texi (String/Array Comparison): Clarify the
1608         strverscmp behavior.
1610 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1612         * test-skeleton.c (xasprintf): Add function.
1613         * io/tst-open-tmpfile.c: New test.
1614         * io/Makefile (tests): Add it.
1616 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1618         Avoid running $(CXX) during build to obtain header file paths.
1619         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
1620         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
1621         * Makerules (cstdlib, cmath): Remove variables.  Use
1622         $(c++-cstdlib-header), $(c++-cmath-header) instead.
1623         * configure: Regenerate.
1625 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1627         * Makeconfig (all-object-suffixes): Include .op only if
1628         $(build-profile).
1630 2016-09-21  Florian Weimer  <fweimer@redhat.com>
1632         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
1633         conditionals.  Do not define PATH_MAX.
1635 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1637         * posix/Makefile (tests): Add tst-spawn3.
1638         * posix/tst-spawn3.c: New file.
1639         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
1640         if it is already opened for open action.
1642         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
1643         all signals when executing the clone vfork child.
1644         (SIGALL_SET): Remove macro.
1646         * nptl/Makefile (tests): Add tst-exec5.
1647         * nptl/tst-exec5.c: New file.
1648         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
1649         asynchronous cancellation.
1651 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1653         * hurd/exc2signal.c: #include <hurd/signal.h>
1654         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
1655         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
1656         accordingly.
1657         * mach/mach_error.c (mach_error): Fix old-style function definition.
1658         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
1660 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1662         * math/Makefile (libm-calls): Remove s_nanF.
1663         (gen-libm-calls): Add s_nanF.
1665         * math/s_nan.c: Refactor into ...
1666         * math/s_nan_template.c: New file.
1668         * math/s_nanf.c: Removed.
1669         * math/s_nanl.c: Removed.
1670         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
1671         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
1673         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
1674         (LDOUBLE_nanl_libm_version): New macro.
1676         * sysdeps/generic/math-type-macros-double.h:
1677         (M_STRTO_NAN): New macro.
1678         * sysdeps/generic/math-type-macros-float.h: Likewise.
1679         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1681         * sysdeps/generic/math-type-macros.h: Document
1682         M_STRTO_NAN.
1684 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1686         * math/s_nanf.c: Remove __nanf undef.
1687         * math/s_nan.c: Remove __nan undef.
1688         * math/s_nanl.c: Remove __nanl undef.
1690         * sysdeps/generic/math_private.h (__nan): Remove macro
1691         override.
1692         (__nanf): Likewise.
1693         (__nanl): Likewise.
1695 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1697         * math/Makefile (gen-all-calls): New variable.
1698         (generated): Replace gen-libm-calls with gen-all-calls.
1699         (gen-libm-templates.stmp): Likewise.  Also, ensure
1700         the output directory exists or is created and add
1701         dependency on the Makefile.
1702         (calls): Move s_ldexpF into gen-calls.
1703         (gen-calls): New variable.
1705         * math/s_ldexpf.c: Removed.
1706         * math/s_ldexpl.c: Removed.
1707         * math/s_ldexp.c: Refactored into ...
1708         * math/s_ldexp_template.c: New file.
1710         * sysdeps/generic/math-type-macros-double.h: Remove
1711         redundant fall-through definition of declare_mgen_alias.
1712         (declare_mgen_alias_2): New macro.
1714         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
1715         New macro for function aliased to two exported symbols.
1717         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
1718         new template file.
1719         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1721 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1723         * Makeconfig (all-object-suffixes): Remove .og.
1724         * Makerules (elide-routines.og): Remove.
1725         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
1726         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
1727         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
1729 2016-09-20  Florian Weimer  <fweimer@redhat.com>
1731         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
1732         .os objects.
1734 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1736         [BZ #20615]
1737         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
1738         fpu directory by non-fpu.
1739         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
1740         on non-fpu directory from a fpu directory.
1742 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
1744         * include/limits.h: Define
1745         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1746         <bits/libc-header-start.h> instead of including <features.h>.
1747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
1748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
1749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
1750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
1751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
1752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
1753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
1754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
1755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
1757         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
1758         * manual/lang.texi (Width of Type): Document these macros.
1759         * stdlib/tst-width.c: New file.
1760         * stdlib/Makefile (tests): Add tst-width.
1762 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1764         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
1765         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
1767 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1769         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
1770         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1771         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1773 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1775         [BZ #18243]
1776         * rt/Makefile (test): Add tst-shm-cancel.
1777         * rt/tst-shm-cancel.c: New file.
1778         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
1780         [BZ #18243]
1781         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
1782         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
1783         definition.
1784         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
1785         uncontended case.
1786         * nptl/sem_wait.c (__new_sem_wait): Likewise.
1787         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
1788         (tf): Fix check for uncontended case.
1789         (do_test): Likewise.
1790         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
1791         (tf): Fix check for uncontended case.
1792         (do_test): Likewise.
1793         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
1794         (tf): Fix check for uncontended case.
1795         (do_test): Likewise.
1796         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
1797         (tf): Fix check for uncontended case.
1798         (do_test): Likewise.
1800         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
1801         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
1803         [BZ #15765]
1804         * nptl/Makefile (tests): Add tst-sem16.
1805         * nptl/tst-sem16.c: New file.
1806         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
1808         * nptl/sem_open.c (sem_open): Init pad value to 0.
1809         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
1810         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
1812 2016-09-15  Florian Weimer  <fweimer@redhat.com>
1814         [BZ #20611]
1815         * inet/Makefile (routines): Add inet6_scopeid_pton.
1816         (tests): Add tst-inet6_scopeid_pton.
1817         * inet/inet6_scopeid_pton.c: New file.
1818         * inet/net-internal.h: Likewise.
1819         * inet/tst-inet6_scopeid_pton.c: New test.
1820         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
1821         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
1822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1824 2016-09-14  Florian Weimer  <fweimer@redhat.com>
1826         Remove support for compiling wrappers with PTW.
1827         * sysdeps/nptl/Makeconfig: Drop ptw- support.
1828         * nptl/Makefile (pthread-compat-wrappers): Define.
1829         (libpthread-routines): Use pthread-compat-wrappers.
1830         * sysdeps/unix/sysv/linux/alpha/Makefile
1831         (libpthread-routines, libpthread-shared-only-routines): Remove
1832         ptw- prefix.
1833         * sysdeps/s390/nptl/Makefile
1834         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1835         * sysdeps/ia64/nptl/Makefile
1836         (libpthread-routines, libpthread-shared-only-routines): Likewise.
1837         * sysdeps/nacl/Makefile (libpthread-routines): Use
1838         pthread-compat-wrappers to filter the routines list instead of the
1839         ptw- prefix.
1841 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1843         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
1844         with L() and remove explicit suffix, convert real literals
1845         which can be equivalentally substituted with integers, and
1846         transform -L(x) to L(-x).
1848         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1849         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1850         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1851         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1852         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1853         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1854         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1855         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
1856         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1857         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1858         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1859         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1860         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1861         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1862         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1863         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1864         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1865         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1866         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1867         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1868         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1869         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1870         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1871         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1872         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
1873         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1874         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1875         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1876         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1877         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1878         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1879         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
1880         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1881         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1882         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1883         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1884         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1885         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1886         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1887         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1888         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1889         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1890         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1891         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1892         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1893         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1894         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1895         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
1896         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1897         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1899 2016-09-13  Florian Weimer  <fweimer@redhat.com>
1901         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
1903 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1905         * malloc/Makefile (tests): Remove individual static test names
1906         and just add all of tests-static.
1908         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
1910 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
1912         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
1913         file.
1915         * sysdeps/sparc/fpu/fegetmode.c: New file.
1916         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
1918         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
1919         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
1921         * sysdeps/s390/fpu/fegetmode.c: New file.
1922         * sysdeps/s390/fpu/fesetmode.c: Likewise.
1924         * sysdeps/powerpc/fpu/fegetmode.c: New file.
1925         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
1926         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
1927         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
1928         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
1929         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
1931         * sysdeps/mips/fpu/fegetmode.c: New file.
1932         * sysdeps/mips/fpu/fesetmode.c: Likewise.
1934         * sysdeps/m68k/fpu/fegetmode.c: New file.
1935         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
1937         * sysdeps/ia64/fpu/fegetmode.c: New file.
1938         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
1940         * sysdeps/hppa/fpu/fegetmode.c: New file.
1941         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
1943         * sysdeps/arm/fegetmode.c: New file.
1944         * sysdeps/arm/fesetmode.c: Likewise.
1946         * sysdeps/alpha/fpu/fegetmode.c: New file.
1947         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
1949         * sysdeps/aarch64/fpu/fegetmode.c: New file.
1950         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
1952         * math/fegetmode.c: New file.
1953         * math/fesetmode.c: Likewise.
1954         * sysdeps/i386/fpu/fegetmode.c: Likewise.
1955         * sysdeps/i386/fpu/fesetmode.c: Likewise.
1956         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
1957         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
1958         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
1959         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
1960         declaration.
1961         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
1962         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
1963         typedef.
1964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1965         * sysdeps/aarch64/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/alpha/fpu/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/arm/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/hppa/fpu/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/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1978         (femode_t): New typedef.
1979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1980         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1981         (femode_t): New typedef.
1982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1983         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1984         (femode_t): New typedef.
1985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1986         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1987         (femode_t): New typedef.
1988         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1989         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1990         (femode_t): New typedef.
1991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1992         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1993         (femode_t): New typedef.
1994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
1995         declaration.
1996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
1997         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1998         (femode_t): New typedef.
1999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2000         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2001         (femode_t): New typedef.
2002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2003         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2004         (femode_t): New typedef.
2005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2006         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2007         (femode_t): New typedef.
2008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2009         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2010         (femode_t): New typedef.
2011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2012         * manual/arith.texi (FE_DFL_MODE): Document macro.
2013         (fegetmode): Document function.
2014         (fesetmode): Likewise.
2015         * math/Versions (fegetmode): New libm symbol at version
2016         GLIBC_2.25.
2017         (fesetmode): Likewise.
2018         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2019         (tests): Add test-femode and test-femode-traps.
2020         * math/test-femode-traps.c: New file.
2021         * math/test-femode.c: Likewise.
2022         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2023         alias for __fe_dfl_env.
2024         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2025         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2026         (__fe_dfl_mode): Likewise.
2027         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2028         version GLIBC_2.25.
2029         * sysdeps/nacl/libm.abilist: Update.
2030         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2031         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2032         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2033         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2034         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2035         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2036         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2037         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2038         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2039         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2040         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2041         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2043         Likewise.
2044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2045         Likewise.
2046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2047         Likewise.
2048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2049         Likewise.
2050         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2051         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2052         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2053         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2054         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2056         Likewise.
2057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2058         Likewise.
2059         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2060         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2061         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2063 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2065         [BZ #20495]
2066         [BZ #20508]
2067         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2068         processors, set Use_dl_runtime_resolve_slow and set
2069         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2070         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2071         New.
2072         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2073         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2074         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2075         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2076         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2077         if Use_dl_runtime_resolve_opt is set.  Use
2078         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2079         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2080         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2081         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2082         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2083         New.
2084         (_dl_runtime_resolve_opt): Likewise.
2085         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2086         defined.
2088 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2090         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2091         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2093 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2095         Convert malloc to __libc_lock.  Automated part, using this Perl
2096         s/// command:
2097           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2098             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2099         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2100         conversion.
2102 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2104         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2105         (linknamespace-symlists-tests): Likewise.
2106         (linknamespace-header-tests): Likewise.
2108 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2110         [BZ #19810]
2111         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2112         * elf/tst-noload.c: New test case.
2113         * elf/Makefile (tests): Add tst-noload.
2115 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2117         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2119         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2120         not any more.
2122         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2124 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2126         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2127         (do_cos_slow): Likewise.
2128         (do_sin): Likewise.
2129         (do_sin_slow): Likewise.
2130         (slow): Likewise.
2131         (slow1): Likewise.
2132         (slow2): Likewise.
2133         (sloww): Likewise.
2134         (sloww1): Likewise.
2135         (sloww2): Likewise.
2136         (bsloww): Likewise.
2137         (bsloww1): Likewise.
2138         (bsloww2): Likewise.
2139         (cslow2): Likewise.
2141         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2143         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2144         arguments.  Consolidate input partitioning from callers here.
2145         (do_cos_slow): Likewise.
2146         (do_sin): Likewise.
2147         (do_sin_slow): Likewise.
2148         (do_sincos_1): Remove the no longer necessary input partitioning.
2149         (do_sincos_2): Likewise.
2150         (__sin): Likewise.
2151         (__cos): Likewise.
2152         (slow1): Likewise.
2153         (slow2): Likewise.
2154         (sloww1): Likewise.
2155         (sloww2): Likewise.
2156         (bsloww1): Likewise.
2157         (bsloww2): Likewise.
2158         (cslow2): Likewise.
2160 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2162         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2163         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2164         outside of allocated array.
2166 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2168         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2169         instead of MB_CUR_MAX to avoid variable-length array.
2171 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2173         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2174         (type-double-routines): Add k_rem_pio2.
2175         (type-float-routines): Add k_rem_pio2f.
2177         * sysdeps/generic/math_private.h:
2178         (__kernel_rem_pio2l): Removed.
2180         * math/k_rem_pio2l.c: Removed.
2181         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2182         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2183         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2184         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2186 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2188         * math/Makefile (gen-libm-calls): Add s_fmin
2189         (libm-calls): Remove above.
2191         * math/s_fmin.c: Refactor into ...
2192         * math/s_fmin_template.c: New file.
2194         * math/s_fminf.c: Removed.
2195         * math/s_fminl.c: Removed.
2196         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2197         (LDOUBLE_fmin_libm_version): New macro.
2199         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2200         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2202 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2204         * math/Makefile: (gen-libm-calls): Add s_fmax.
2205         (libm-calls): Remove above.
2207         * math/s_fmax.c: Refactor into ...
2208         * math/s_fmax_template.c: New file.
2209         * math/s_fmaxf.c: Removed.
2210         * math/s_fmaxl.c: Removed.
2212         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2213         (LDOUBLE_fmaxl_libm_version): New macro.
2215         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2216         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2218         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2219         s_fmin.c to pick the aarch64 version of the file.
2220         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2221         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2223 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2225         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2226         (libm-calls): Remove above.
2228         * math/s_nextdown.c: Refactor into ...
2229         * math/s_nextdown_template.c: New file.
2230         * math/s_nextdownf.c: Removed.
2231         * math/s_nextdownl.c: Removed.
2233         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2235 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2237         * math/Makefile (gen-libm-calls): Add s_fdim.
2238         (libm-calls): Move to above.
2240         * math/s_fdim.c: Renamed and refactored into to ...
2241         * math/s_fdim_template.c: New file.
2242         * math/s_fdiml.c: Removed.
2243         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2244         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2246         * sysdeps/generic/math-type-macros-double.h:
2247         (declare_mgen_alias): Don't declare if already declared.
2248         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2249         Likewise.
2251         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2252         (declare_mgen_alias): Don't declare if already declared.
2253         (M_LIBM_NEED_COMPAT): Likewise.
2254         (declare_mgen_libm_compat): Likewise.
2255         (LDOUBLE_fdiml_libm_version): New macro.
2257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2258         Include math/s_fdim.c now that ldbl-opt version is not needed.
2259         (declare_mgen_alias): New macro to disable aliasing.
2261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2262         (declare_mgen_alias): Likewise.
2263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2264         (declare_mgen_alias): Likewise.
2265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2266         (declare_mgen_alias): Likewise.
2267         (M_LIBM_NEED_COMPAT): Likewise.
2269 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2271         [BZ #20525]
2272         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2273         Include <linux/quota.h>.
2274         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2275         and btodb.
2276         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2277         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2278         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2279         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2280         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2281         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2282         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2283         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2284         types.
2285         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2286         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2288 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2290         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2291         (gammal_positive): Fix spacing.
2292         (__ieee754_gammal_r): Likewise.
2294 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2296         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2297         (_Float128): Define as long double, always.
2298         (L): Apply long double type suffix, always.
2300         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2301         _Float128, excepting comments.
2303         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2304         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2305         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2306         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2307         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2308         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2309         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2310         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2311         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2312         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2313         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2314         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2315         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2316         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2317         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2318         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2319         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2320         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2330         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2331         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2338         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2362         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2363         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2365         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2366         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2367         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2368         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2369         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2370         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2372         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2373         _Float128, and include math_private.h.
2374         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2376         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2377         long double semantics.
2378         (_Float128): Likewise.
2379         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2380         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2381         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2382         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2384 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2386         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2387         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2388         * sysdeps/s390/configure: Regenerated.
2389         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2390         instruction for raising over-/underflow if z196 zarch is supported
2391         by default.
2392         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2394 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2396         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2397         it point to a dumb buffer for RPC to fill it.
2399 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2401         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2402         instead of if/else.
2403         (do_sin_slow): Likewise.
2404         (do_sincos_1): Use fabs instead of if/else.
2405         (do_sincos_2): Likewise.
2406         (__sin): Likewise.
2407         (__cos): Likewise.
2408         (slow2): Likewise.
2409         (sloww): Likewise.
2410         (sloww1): Likewise.  Drop argument M.
2411         (sloww2): Use fabs instead of if/else.
2412         (bsloww): Likewise.
2413         (bsloww1): Likewise.
2414         (bsloww2): Likewise.
2416         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2417         fall through comment.
2418         (do_sincos_1): Likewise.
2420         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2421         Consolidate switch cases 0 and 2.
2423 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2425         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2426         (libm-calls): Remove the above.
2428         * math/s_cexp_template.c: Update using type-generic macros.
2429         * math/s_clog10_template.c: Likewise.
2430         * math/s_cpow_template.c: Likewise.
2431         * math/s_clog_template.c: Likewise.
2432         * math/s_cproj_template.c: Likewise.
2433         * math/s_csqrt_template.c: Likewise.
2435         * math/s_cexp.c: Removed.
2436         * math/s_cexpf.c: Removed.
2437         * math/s_cexpl.c: Removed.
2438         * math/s_clog10.c: Removed.
2439         * math/s_clog10f.c: Removed.
2440         * math/s_clog10l.c: Removed.
2441         * math/s_cpow.c: Removed.
2442         * math/s_cpowf.c: Removed.
2443         * math/s_cpowl.c: Removed.
2444         * math/s_clog.c: Removed.
2445         * math/s_clogf.c: Removed.
2446         * math/s_clogl.c: Removed.
2447         * math/s_cproj.c: Removed.
2448         * math/s_cprojf.c: Removed.
2449         * math/s_cprojl.c: Removed.
2450         * math/s_csqrt.c: Removed.
2451         * math/s_csqrtf.c: Removed.
2452         * math/s_csqrtl.c: Removed.
2454         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2455         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2456         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2457         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2458         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2459         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2461         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2462         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2463         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2464         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2465         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2466         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2467         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2468         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2469         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2470         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2471         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2473         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2474         version.
2476         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2477         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2478         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2479         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2481 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2483         * s_cexp_template.c: Copy of s_cexp.c.
2484         * s_clog_template.c: Copy of s_clog.c.
2485         * s_clog10_template.c: Copy of s_clog10.c.
2486         * s_cpow_template.c: Copy of s_cpow.c.
2487         * s_cproj_template.c: Copy of s_cproj.c.
2488         * s_csqrt_template.c: Copy of s_csqrt.c.
2490 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2492         [BZ #20517]
2493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2494         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2495         exported.
2497 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2499         * math/fetestexceptflag.c: New file.
2500         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2501         Stefan Liebler.
2502         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2503         (fetestexceptflag): New function declaration.
2504         * manual/arith.texi (fetestexceptflag): Document function.
2505         * math/Versions (fetestexceptflag): New libm symbol at version
2506         GLIBC_2.25.
2507         * math/Makefile (libm-support): Add fetestexceptflag.
2508         (tests): Add test-fetestexceptflag.
2509         * math/test-fetestexceptflag.c: New file.
2510         * sysdeps/nacl/libm.abilist: Update.
2511         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2512         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2513         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2514         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2515         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2516         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2517         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2518         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2519         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2520         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2521         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2522         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2524         Likewise.
2525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2526         Likewise.
2527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2528         Likewise.
2529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2530         Likewise.
2531         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2532         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2533         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2534         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2535         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2537         Likewise.
2538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2539         Likewise.
2540         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2541         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2542         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2544 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2546         [BZ #20432]
2547         Avoid strong references to malloc-internal symbols when linking
2548         statically, to support statically interposed mallocs.
2549         * include/libc-symbols.h (call_function_static_weak): New macro.
2550         * malloc/Makefile (tests): Add tst-interpose-nothread,
2551         tst-interpose-thread, tst-interpose-static-nothread,
2552         tst-interpose-static-thread.
2553         (tests-static): Add tst-interpose-static-nothread,
2554         tst-interpose-static-thread.
2555         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
2556         tst-interpose-aux-thread.o.
2557         (test-extras): Add tst-interpose-aux-nothread,
2558         tst-interpose-aux-thread.
2559         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
2560         tst-interpose-aux-nothread.o.
2561         (tst-interpose-thread, tst-interpose-static-thread): Link with
2562         tst-interpose-aux-thread.o and libthread.
2563         * malloc/tst-interpose-aux-nothread.c: New file.
2564         * malloc/tst-interpose-aux-thread.c: Likewise.
2565         * malloc/tst-interpose-aux.c: Likewise.
2566         * malloc/tst-interpose-aux.h: Likewise.
2567         * malloc/tst-interpose-nothread.c: Likewise.
2568         * malloc/tst-interpose-skeleton.c: Likewise.
2569         * malloc/tst-interpose-static-nothread.c: Likewise.
2570         * malloc/tst-interpose-static-thread.c: Likewise.
2571         * malloc/tst-interpose-thread.c: Likewise.
2572         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
2573         * sysdeps/mach/hurd/fork.c (__fork): Only call
2574         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2575         __malloc_fork_unlock_child if defined.
2576         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2578 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2580         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
2581         timespec C99 designated initialization.
2583 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2585         [BZ #19946]
2586         Avoid expected SIGALRM signals.
2587         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
2588         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
2589         (xpthread_create, xpthread_detach, xpthread_join)
2590         (delayed_exit_thread, delayed_exit): New functions.
2591         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
2592         (tf): Use xpthread_cond_wait.
2593         (do_test): Likewise.  Replace alarm with delayed_exit.
2594         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2595         (do_test): Call delayed_exit.  Report failure.
2596         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2597         (do_test): Call delayed_exit.
2598         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2599         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
2600         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2601         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
2602         error.
2603         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
2604         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
2605         error.
2606         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
2607         (do_test): Call delayed_exit.
2608         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
2609         (do_test): Call delayed_exit.
2610         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
2611         (do_test): Call delayed_exit instead of alarm.  Use
2612         xpthread_mutex_lock.
2613         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
2614         (do_test): Call delayed_exit instead of alarm.  Use
2615         xpthread_mutex_lock.
2616         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
2617         (do_test): Call delayed_exit instead of alarm.
2618         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
2619         (do_test): Call delayed_exit instead of alarm.  Use
2620         xpthread_spin_lock.
2621         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
2622         (do_test): Call delayed_exit instead of alarm.  Use
2623         xpthread_join.
2625 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
2627         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
2628         adjust CFA when allocating register save area on re-aligned
2629         stack.
2631 2016-08-26  Florian Weimer  <fweimer@redhat.com>
2633         * string/tst-cmp.c: New test.
2634         * string/Makefile (tests): Add it.
2636 2016-08-25  Mark Wielaard  <mark@klomp.org>
2638         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
2639         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
2640         (check_tree_recurse): Use newly defined accessors.
2641         (check_tree): Likewise.
2642         (maybe_split_for_insert): Likewise.
2643         (__tfind): Likewise.
2644         (__tdelete): Likewise.
2645         (trecurse): Likewise.
2646         (tdestroy_recurse): Likewise.
2647         (__tsearch): Likewise. And add asserts for malloc alignment.
2648         (__twalk): Cast root to node in case CHECK_TREE is defined.
2650 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2652         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
2654 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2656         * math/Makefile (libm-gen-calls): Add
2657         catan, catanh, ctan, ctanh.
2658         (libm-calls): Remove the above.
2660         * math/s_catan_template.c: Update using type-generic macros.
2661         * math/s_catanh_template.c: Likewise.
2662         * math/s_ctan_template.c: Likewise.
2663         * math/s_ctanh_template.c: Likewise.
2665         * math/s_catanf.c: Removed.
2666         * math/s_catan.c: Removed.
2667         * math/s_catanl.c: Removed.
2668         * math/s_catanhf.c: Removed.
2669         * math/s_catanh.c: Removed.
2670         * math/s_catanhl.c: Removed.
2671         * math/s_ctanf.c: Removed.
2672         * math/s_ctan.c: Removed.
2673         * math/s_ctanl.c: Removed.
2674         * math/s_ctanhf.c: Removed.
2675         * math/s_ctanh.c: Removed.
2676         * math/s_ctanhl.c: Removed.
2678         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
2679         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
2680         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
2681         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
2682         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
2683         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
2685         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
2686         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
2687         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
2688         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
2690 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2692         * s_catan_template.c: Copy of s_catan.c.
2693         * s_catanh_template.c: Copy of s_catanh.c.
2694         * s_ctan_template.c: Copy of s_ctan.c.
2695         * s_ctanh_template.c: Copy of s_ctanh.c.
2697 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2699         * math/Makefile (gen-libm-calls): Move
2700         casin, casinh, csin, csinh here.
2701         (libm-calls): Remove the above.
2703         * math/s_casin_template.c: Update using type-generic macros.
2704         * math/s_casinh_template.c: Likewise.
2705         * math/s_csin_template.c: Likewise.
2706         * math/s_csinh_template.c: Likewise.
2707         * math/k_casinh_template.c: Likewise.
2709         * math/s_casinf.c: Removed.
2710         * math/s_casin.c: Removed.
2711         * math/s_casinl.c: Removed.
2712         * math/s_casinh.c: Removed.
2713         * math/s_casinhf.c: Removed.
2714         * math/s_casinhl.c: Removed.
2715         * math/s_csin.c: Removed.
2716         * math/s_csinf.c: Removed.
2717         * math/s_csinl.c: Removed.
2718         * math/s_csinh.c: Removed.
2719         * math/s_csinhf.c: Removed.
2720         * math/s_csinhl.c: Removed.
2721         * math/k_casinh.c: Removed.
2722         * math/k_casinhf.c: Removed.
2723         * math/k_casinhl.c: Removed.
2725         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
2726         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
2727         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
2728         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
2730         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
2731         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
2732         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
2733         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
2734         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
2735         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
2736         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
2737         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
2739         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
2740         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
2741         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
2742         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
2744         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
2745         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
2746         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
2747         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
2749 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2751         * s_casin_template.c: Copy of s_casin.c.
2752         * s_casinh_template.c: Copy of s_casinh.c.
2753         * s_csin_template.c: Copy of s_csin.c.
2754         * s_csinh_template.c: Copy of s_csinh.c.
2755         * k_casinh_template.c: Copy of k_casinh.c.
2757 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
2759         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
2761 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2763         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
2764         (mul_split) Remove, rename as mul_splitl, remove
2765         redundant float.h include, and include via mul_splitl.h
2767         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2768         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2769         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
2770         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2771         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
2773         * math/mul_splitl.h: New file.
2775         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
2776         Move into mul_split.h, and remove redundant float.h include.
2778         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2779         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
2780         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2781         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
2783         * math/mul_split.h: New file.
2785 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2787         * math/Makefile (libm-gen-calls): Move
2788         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
2789         (libm-calls): Remove above.
2791         * math/s_cacos_template.c: Update using type-generic macros.
2792         * math/s_cacosh_template.c: Likewise.
2793         * math/s_ccos_template.c: Likewise.
2794         * math/s_ccosh_template.c: Likwise.
2796         * math/s_cacosf.c: Removed.
2797         * math/s_cacos.c: Removed.
2798         * math/s_cacosl.c: Removed.
2799         * math/s_cacoshf.c: Removed.
2800         * math/s_cacosh.c: Removed.
2801         * math/s_cacoshl.c: Removed.
2802         * math/s_ccosf.c: Removed.
2803         * math/s_ccos.c: Removed.
2804         * math/s_ccosl.c: Removed.
2805         * math/s_ccoshf.c: Removed.
2806         * math/s_ccosh.c: Removed.
2807         * math/s_ccoshl.c: Removed.
2809         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
2810         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
2811         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
2812         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
2813         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
2814         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
2816         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
2817         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
2818         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
2819         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
2821         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
2822         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
2823         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
2824         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
2826 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2828         * s_cacos_template.c: Copy of s_cacos.c.
2829         * s_cacosh_template.c: Copy of s_cacosh.c.
2830         * s_ccos_template.c: Copy of s_ccos.c.
2831         * s_ccosh_template.c: Copy of s_ccosh.c.
2833 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2835         * stdlib/tst-strtod-round-skeleton.c:
2836         Refactored from tst-strtod-round.c.
2838         (L_): New macro to apply literal modifier.
2839         (FNPFX): New macro to select str or wcs prefix.
2840         (CHAR): New macro to choose wchar_t or char.
2841         (STRM): New macro to choose printf for tested character type.
2843         (STRTO): New macro to choose appropriate string -> real function.
2844         (FNPFXS): Stringitized version of FNPFX.
2845         (STR): Support for above macro.
2846         (STRX): Likewise.
2848         (TEST): Update with above macros.
2849         (test): Likewise.
2850         (GEN_ONE_TEST): Likewise.
2851         (test_in_one_mode): Likewise.
2853         * stdlib/tst-strtod-round.c: New file.
2854         * wcsmbs/tst-wcstod-round.c: New file.
2856         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
2857         (tst-wcstod-round): Add libm depencency for fesetround.
2859 2016-08-19  Zack Weinberg  <zackw@panix.com>
2861         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
2863 2016-08-18  Torvald Riegel  <triegel@redhat.com>
2865         [BZ #20477]
2866         * resolv/res_hconf.c (do_init): Use atomic access.
2867         * resolv/res_hconf.h: Add comments.
2868         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
2869         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
2870         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2872 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
2874         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
2875         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
2876         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2877         Likewise.
2879 2016-08-18  Florian Weimer  <fweimer@redhat.com>
2881         [BZ #16907]
2882         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
2883         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
2884         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
2885         (__attribute__): Remove definition.
2887 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2889         * sysdeps/ieee754/ldbl-128/e_asinl.c:
2890         Remove unused sqrtl declaration.
2892 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2894         * math/Makefile: (gen-libm-templates.stmp): New rule.
2895         (libm-calls): Move carg conj cimag and cabs into ...
2896         (gen-libm-calls): New variable.
2897         (generated): Inform Make objects from gen-libm-calls
2898         may be generated.
2900         * sysdeps/generic/math-type-macros.h: New file.
2901         * sysdeps/generic/math-type-macros-float.h: Likewise.
2902         * sysdeps/generic/math-type-macros-double.h: Likewise.
2903         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2904         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
2905         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
2907         * math/cabs.c: Refactor into
2908         * math/cabs_template.c: new file.
2909         * math/cabsf.c: Removed.
2910         * math/cabsl.c: Removed.
2911         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
2912         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
2914         * math/carg.c: Refactor into
2915         * math/carg_template.c: new file.
2916         * math/cargf.c: Removed.
2917         * math/cargl.c: Removed.
2918         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
2919         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
2921         * math/conj.c: Refactor into
2922         * math/conj_template.c: new file.
2923         * math/conjf.c: Removed.
2924         * math/conjl.c: Removed.
2925         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
2926         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
2928         * math/cimag.c: Refactor into
2929         * math/cimag_template.c: new file.
2930         * math/cimagf.c: Removed.
2931         * math/cimagl.c: Removed.
2932         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2933         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2935         * math/cimag.c: Refactor into
2936         * math/cimag_template.c: new file.
2937         * math/cimagf.c: Removed.
2938         * math/cimagl.c: Removed.
2939         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
2940         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
2942 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2944         Reduce time to expected nptl/tst-once5 failure.
2945         * nptl/tst-once5.cc (TIMEOUT): Define.
2947 2016-08-17  Florian Weimer  <fweimer@redhat.com>
2949         [BZ #20452]
2950         Avoid additional copies of objects in libc.a in static libraries.
2951         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
2952         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
2953         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
2954         rt-sysdep.
2955         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
2956         Add nptl-sysdep.
2957         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
2958         Add ptw-sysdep.
2959         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
2960         rt-sysdep.
2961         * sysdeps/unix/sysv/linux/alpha/Makefile
2962         (libpthread-shared-only-routines): Add ptw-sysdep,
2963         ptw-sigprocmask, ptw-rt_sigaction.
2964         * sysdeps/unix/sysv/linux/ia64/Makefile
2965         (librt-shared-only-routines): Add rt-sysdep.
2966         * sysdeps/unix/sysv/linux/i386/Makefile
2967         (libpthread-shared-only-routines): Add libc-do-syscall.
2968         * sysdeps/unix/sysv/linux/microblaze/Makefile
2969         (libpthread-shared-only-routines): Add sysdep.
2970         * sysdeps/unix/sysv/linux/powerpc/Makefile
2971         (librt-shared-only-routines): Add rt-sysdep.
2972         (libpthread-shared-only-routines): Add sysdep.
2973         * sysdeps/unix/sysv/linux/s390/Makefile
2974         (librt-shared-only-routines): Add rt-sysdep.
2975         * sysdeps/unix/sysv/linux/sparc/Makefile
2976         (librt-shared-only-routines): Add rt-sysdep.
2977         (libpthread-shared-only-routines): Add sysdep.
2978         * sysdeps/unix/sysv/linux/tile/Makefile
2979         (libpthread-shared-only-routines): Likewise.
2981 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
2983         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
2984         Mask implicit bit out of unpacked value.
2985         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
2986         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
2987         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
2989         * sysdeps/sparc/fpu/fesetexcept.c: New file.
2991         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
2993         * sysdeps/s390/fpu/fesetexcept.c: New file.
2995         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
2996         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
2997         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
2999         * sysdeps/mips/fpu/fesetexcept.c: New file.
3001         * sysdeps/m68k/fpu/fesetexcept.c: New file.
3003         * sysdeps/ia64/fpu/fesetexcept.c: New file.
3005         * sysdeps/hppa/fpu/fesetexcept.c: New file.
3007         * sysdeps/arm/fesetexcept.c: New file.
3009         * sysdeps/alpha/fpu/fesetexcept.c: New file.
3011         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3013         * math/fesetexcept.c: New file.
3014         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3015         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3016         * math/fenv.h: Define
3017         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3018         <bits/libc-header-start.h> instead of including <features.h>.
3019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3020         declaration.
3021         * manual/arith.texi (fesetexcept): Document function.
3022         * math/Versions (fesetexcept): New libm symbol at version
3023         GLIBC_2.25.
3024         * math/Makefile (libm-support): Add fesetexcept.
3025         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3026         * math/test-fesetexcept.c: New file.
3027         * math/test-fesetexcept-traps.c: Likewise.
3028         * sysdeps/nacl/libm.abilist: Update.
3029         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3030         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3031         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3032         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3033         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3034         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3035         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3036         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3037         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3040         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3042         Likewise.
3043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3044         Likewise.
3045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3046         Likewise.
3047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3048         Likewise.
3049         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3051         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3052         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3053         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3055         Likewise.
3056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3057         Likewise.
3058         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3059         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3060         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3062 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3064         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3065         New.
3066         (do_test): Apply default_stack_size_in_mb if not set.
3067         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3069 2016-08-15  Andreas Schwab  <schwab@suse.de>
3071         [BZ #20435]
3072         CVE-2016-6323
3073         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3074         as .cantunwind.
3076 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3078         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3079         comment from fraiseexcpt.c.
3081         * math/test-fexcept.c (feraiseexcept_exact): New function.
3082         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3083         (test_except): Likewise.
3085 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3087         [BZ #20455]
3088         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3089         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3090         to be restored.
3092         * math/test-fexcept-traps.c: New file.
3093         * math/test-fexcept.c: Likewise.
3094         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3095         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3096         macro.
3097         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3098         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3100 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3102         * include/atomic.h (atomic_fetch_and_relaxed,
3103         atomic_fetch_and_release, atomic_fetch_or_release,
3104         atomic_fetch_xor_release): New.
3106 2016-08-06  Christian Seiler  <christian@iwakd.de>
3108         [BZ #20444]
3109         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3110         MACH_PORT_NULL.
3112 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3114         * math/s_fdim.c: Avoid alias renamed.
3115         * math/s_fdimf.c: Likewise.
3116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3117         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3118         Add s_fdimf-vis3, s_fdim-vis3.
3119         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3120         (CFLAGS-s_fdim-vis3.c): Likewise.
3121         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3122         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3124 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3127         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3128         Remove s_fdimf-vis3, s_fdim-vis3.
3129         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3130         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3137         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3138         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3140 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3142         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3143         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3144         -Wa,-Av9a -mvis.
3146 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3148         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3149         LIT() to individual constants in simple expressions
3150         after splitting on spaces.
3151         (_apply_lit): Rename replaced version, and use it to
3152         apply to what appears to be a token.
3154         * math/libm-test.inc: Fix many, many issues with
3155         spacing.
3157 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3159         * math/math.h: Move comment about <bits/mathdef.h> definitions
3160         above inclusion of <bits/mathdef.h>.  Do not mention
3161         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3163 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3165         * include/atomic.h (atomic_exchange_relaxed): New.
3167 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3169         * math/e_scalb.c: Do not include <fenv.h>.
3170         (invalid_fn): Do calculation resulting in NaN instead of raising
3171         FE_INVALID and returning a NaN explicitly.
3172         * math/e_scalbf.c: Do not include <fenv.h>.
3173         (invalid_fn): Do calculation resulting in NaN instead of raising
3174         FE_INVALID and returning a NaN explicitly.
3175         * math/e_scalbl.c: Do not include <fenv.h>.
3176         (invalid_fn): Do calculation resulting in NaN instead of raising
3177         FE_INVALID and returning a NaN explicitly.
3179 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3181         * po/de.po: Updated from Translation Project.
3182         * po/fi.po: Likewise.
3183         * po/sv.po: Likewise.
3185 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3187         [BZ #20452]
3188         Use sysdep.o from libc.a in static libraries.
3189         * sysdeps/unix/sysv/linux/i386/Makefile
3190         (libpthread-shared-only-routines): Add sysdep.
3191         (librt-shared-only-routines): Likewise.
3193 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3195         * math/tgmath.h (nextdown): Define if
3196         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3197         (nextup): Likewise.
3199         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3200         macro.
3201         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3202         Document.
3203         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3204         Document macro.
3205         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3206         (exp10f): Likewise.
3207         (exp10l): Likewise.
3208         * math/bits/mathcalls.h (exp10): Declare if
3209         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3211         * manual/arith.texi (nextup): Fix typo in last change.
3213 2016-08-03  Zack Weinberg  <zackw@panix.com>
3215         [BZ #19239]
3216         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3217         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3218         define major, minor, and makedev to issue deprecation warnings on use.
3219         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3220         previously-activated deprecation warnings for these macros and prevent
3221         subsequent inclusions of this header from having any effect.
3222         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3223         including <sys/sysmacros.h>, and undefine it again afterward.
3225 2016-08-03  Zack Weinberg  <zackw@panix.com>
3227         * sysdeps/generic/sys/sysmacros.h: Delete file.
3228         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3229         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3230         * bits/sysmacros.h: ... here; this encoding is now the generic
3231         encoding.  Now defines only the following macros:
3232         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3233         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3234         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3236         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3237         bits/sysmacros.h and the above new macros to generate the
3238         public implementations of major, minor, and makedev.
3239         * misc/tst-makedev.c: New test.
3240         * include/sys/sysmacros.h: New wrapper.
3242         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3243         (routines): Add makedev.
3244         (tests): Add tst-makedev.
3245         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3246         gnu_dev_makedev.
3247         * posix/Makefile (headers): Remove sys/sysmacros.h.
3248         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3250         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3251         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3252         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3253         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3254         * sysdeps/unix/sysv/linux/arm/libc.abilist
3255         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3256         * sysdeps/unix/sysv/linux/i386/libc.abilist
3257         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3258         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3259         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3260         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3261         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3262         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3263         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3264         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3265         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3270         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3271         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3272         * sysdeps/unix/sysv/linux/sh/libc.abilist
3273         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3274         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3277         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3278         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3279         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3280         Add GLIBC_2.25.
3282         * include/features.h (__glibc_clang_prereq): New macro.
3283         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3284         (__attribute_deprecated_msg__): New macros.
3286 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3288         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3289         macro.
3290         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3291         * manual/arith.texi (issignaling): Document as ISO from TS
3292         18661-1:2014.
3293         (nextup): Likewise.
3294         (nextupf): Likewise.
3295         (nextupl): Likewise.
3296         (nextdown): Likewise.
3297         (nextdownf): Likewise.
3298         (nextdownl): Likewise.
3299         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3300         macro.
3301         * math/math.h: Define
3302         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3303         <bits/libc-header-start.h> instead of including <features.h>.
3304         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3305         [__USE_GNU].
3306         * math/bits/mathcalls.h (nextdown): Declare if
3307         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3308         (nextup): Likewise.
3309         (__issignaling): Likewise.
3311 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3313         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3314         check, and remove __glibc_likely hint
3315         from FP_INFINITE check.
3316         * s_csinhf.c (__csinhf): Likewise.
3318         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3319         hint from FP_INFINITE check.
3320         * s_csinhl.c (__csinhl): Likewise.
3322 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3324         * math/Makefile (libm-calls): Insert F placeholder into
3325         object names.  Move w_lgamma_compat* routines into
3326         (libm-compat-calls): New variable.
3327         (libm-compat-calls-ldouble-yes): New variable.
3328         (calls): Insert F placeholder.
3329         (generated): Redefine using new type-foreach macro call.
3330         (routines): Likewise.
3332         (types): New variable to hold a list of symbolic names
3333         for each type supported by the target machine.
3334         (libm-routines): Redefine using new types variable.
3335         (type-foreach): macro to replace fooF with the
3336         appropriately suffixed foo for each types.
3338         (type-ldouble-suffix): New variable.
3339         (type-ldouble-routines): Likewise.
3340         (type-ldouble-yes): Likewise.
3341         (type-double-suffix): Likewise.
3342         (type-double-routines): Likewise.
3343         (type-float-suffix): Likewise.
3344         (type-float-routines): Likewise.
3346         (dbl-only-routines): Remove.
3347         (long-c-yes): Likewise.
3348         (long-m-routines): Likewise.
3349         (long-m-support): Likewise.
3350         (long-m-yes): Likewise.
3351         (test-longdouble-yes): Likewise.
3353         (test-float.o): Simplify by increasing the scope of the
3354         recipe which adds libm-test.stmp to the vector types.
3355         (test-ifloat.o): Likewise.
3356         (test-float-finite.o): Likewise.
3357         (test-double.o): Likewise
3358         (test-idouble.o): Likewise.
3359         (test-double-finite.o): Likewise.
3360         (test-ldouble.o): Likewise
3361         (test-ildoubl.o): Likewise.
3362         (test-ldouble-finite.o): Likewise.
3364         (libm-tests): Redefine type tests using foreach and the
3365         list of types in types.
3367         (CPPFLAGS-test-ildoubl.c): Rename to
3368         (CPPFLAGS-test-ildouble.c): New variable
3370         * math/test-ildoubl.c: Rename to
3371         * math/test-ildouble.c: New file.
3373 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3375         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3376         Use fabsl instead of fabs.
3377         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3378         Likewise.
3379         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3380         Add long double suffix to constant to ensure proper
3381         promotion to long double.
3383 2016-08-03  Tom Tromey  <tom@tromey.com>
3385         [BZ #20311]
3386         * nptl_db/Makefile (headers): Add proc_service.h.
3387         * nptl_db/proc_service.h: Add include guard.  Use
3388         __BEGIN/__END_DECLS.
3389         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3390         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3391         arguments.
3394 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3396         [BZ #17730]
3397         Avoid using memalign for TCB allocations.
3398         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3399         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3400         Avoid alignment gap in the TLS_DTV_AT_TP case.
3401         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3402         determine the pointer to free.
3403         * nptl/tst-tls3-malloc.c: New test.
3404         * nptl/Makefile (tests): Add it.
3405         (tst-tls3-malloc): Link with libdl, libpthread.
3406         (LDFLAGS-tst-tls3-malloc): Set.
3407         (tst-tls3-malloc.out): Depend on DSO used in test.
3409 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3411         [BZ #17730]
3412         Avoid using memalign for TLS allocations.
3413         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3414         is_static member with to_free member.
3415         (union dtv): Use struct dtv_pointer.
3416         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3417         dtv_pointer instead of is_static.
3418         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3419         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3420         instead of val.
3421         (allocate_dtv_entry): New function.
3422         (allocate_and_init): Return struct dtv_pointer.  Call
3423         allocate_dtv_entry instead of __libc_memalign.
3424         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3425         instead of val.
3426         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3427         instead of is_static.  Adjust call to allocate_and_init.
3428         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3429         struct dtv_pointer instead of val.
3431 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3433         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3434         (MALLOC_ALIGN_MASK): Move ...
3435         * malloc/malloc-internal.h: ... to here.
3436         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3438 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3440         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3441         (UDP_ENCAP_GTP1U): Likewise.
3443         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3444         (PF_MAX): Update value.
3445         (AF_QIPCRTR): New macro.
3447 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3449         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3450         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3451         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3452         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3453         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3454         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3455         s_truncf-vis3, s_trunc-vis3.
3456         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3457         (CFLAGS-s_ceil-vis3.c): Likewise.
3458         (CFLAGS-s_floorf-vis3.c): Likewise.
3459         (CFLAGS-s_floor-vis3.c): Likewise.
3460         (CFLAGS-s_truncf-vis3.c): Likewise.
3461         (CFLAGS-s_trunc-vis3.c): Likewise.
3462         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3463         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3464         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3466         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3470         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3471         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3472         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3473         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3475 2016-08-02  David S. Miller  <davem@davemloft.net>
3477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3478         (__nearbyint_vis3): Don't check for sNaN before float register is
3479         loaded with the incoming argument.
3480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3481         (__nearbyintf_vis3): Likewise.
3482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3483         Likewise.
3484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3485         Likewise.
3487         * string/test-strncmp.c (do_test_limit): Make sure the test data
3488         stream is aligned as required for the type "CHAR".
3489         (do_test): Likewise.
3491 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3493         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3494         by beq instructions jumping to the end of the function.
3495         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3496         clobber list. Use "i" constraint instead of "X".
3497         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3498         of "X".
3500 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3502         * bits/libc-header-start.h: New file.
3503         * Makefile (headers): Add bits/libc-header-start.h.
3504         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3505         (__GLIBC_USE): New macro.
3506         * libio/stdio.h: Define
3507         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3508         <bits/libc-header-start.h> instead of including <features.h>.
3509         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3510         (open_memstream): Likewise.
3511         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3512         (__asprintf): Likewise.
3513         (asprintf): Likewise.
3514         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3515         (getdelim): Likewise.
3516         (getline): Likewise.
3517         * string/string.h: Define
3518         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3519         <bits/libc-header-start.h> instead of including <features.h>.
3520         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3521         (strndup): Likewise.
3522         * wcsmbs/wchar.h: Define
3523         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3524         <bits/libc-header-start.h> instead of including <features.h>.
3525         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3526         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3528 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3530         Support linking against compatibility symbols, for use in tests.
3531         * include/libc-symbols.h (symbol_version_reference): New macro.
3532         (symbol_version): Use it.
3533         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
3534         (compat_symbol): Use compat_symbol_reference.
3535         (compat_symbol_1, compat_symbol_2): Remove.
3536         (compat_symbol_reference, compat_symbol_reference_1)
3537         (compat_symbol_reference_2): New macro.  Use
3538         symbol_version_reference.
3540 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3542         [BZ #19469]
3543         * malloc/Makefile (CPPFLAGS): Compile tests with
3544         -DTEST_NO_MALLOPT.
3545         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
3547 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
3549         [BZ #20033]
3550         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
3551         finite version.
3552         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
3553         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
3554         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
3555         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
3556         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
3557         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
3558         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
3559         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
3560         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
3561         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
3562         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
3563         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
3564         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
3565         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
3566         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
3567         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
3568         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
3569         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
3570         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
3571         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
3572         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
3573         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
3574         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
3575         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
3576         in zero power.
3578 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3580         [BZ #20370]
3581         * malloc/arena.c (get_free_list): Update comment.  Assert that
3582         arenas on the free list have no attached threads.
3583         (remove_from_free_list): New function.
3584         (reused_arena): Call it.
3586 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
3588         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
3589         when it is a NaN.
3590         [_IEEE_FP_INEXACT] Remove.
3591         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
3592         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
3593         when it is a NaN.
3594         [_IEEE_FP_INEXACT] Remove.
3595         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
3596         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
3597         when it is a NaN.
3598         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
3599         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
3600         when its absolute value is greater than 0x1.0p52.
3601         [_IEEE_FP_INEXACT] Remove.
3602         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
3603         when its absolute value is greater than 0x1.0p23.
3604         [_IEEE_FP_INEXACT] Remove.
3606 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
3608         * version.h (RELEASE): Set to "development"
3609         (VERSION): Set to 2.24.90.
3610         * NEWS: Add 2.25 section.
3612         * version.h (RELEASE): Set to "stable"
3613         (VERSION): Set to 2.24.
3614         * include/features.h (__GLIBC_MINOR__): Set to 24.
3616         * NEWS: Add 2.24 fixed bugs.
3617         * po/libc.pot: Regenerate.
3619 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
3621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3622         [$(subdir) = math] (libm-sysdep_routines): Remove.
3623         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3624         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3625         s_truncf-vis3, s_trunc-vis3.
3626         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
3628         file.
3629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
3630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
3631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
3635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
3636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
3638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
3639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
3640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
3641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
3642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
3643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
3644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
3648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
3649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
3650         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
3651         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3652         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3653         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
3654         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3655         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3656         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
3657         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3658         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3659         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
3660         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3661         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3662         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
3663         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
3664         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
3665         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
3666         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3667         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3668         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
3669         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
3670         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
3671         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
3673 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
3675         [BZ #20384]
3676         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
3677         test-double-libmvec-sincos-avx-main.o,
3678         test-double-libmvec-sincos-avx2-main.o,
3679         test-double-libmvec-sincos-main.o,
3680         test-float-libmvec-sincosf-avx-main.o,
3681         test-float-libmvec-sincosf-avx2-main.o and
3682         test-float-libmvec-sincosf-main.o.
3683         test-float-libmvec-sincosf-avx512-main.o.
3684         ($(objpfx)test-double-libmvec-sincos): Also link with
3685         $(objpfx)test-double-libmvec-sincos-main.o.
3686         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
3687         $(objpfx)test-double-libmvec-sincos-avx-main.o.
3688         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
3689         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
3690         ($(objpfx)test-float-libmvec-sincosf): Also link with
3691         $(objpfx)test-float-libmvec-sincosf-main.o.
3692         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
3693         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
3694         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
3695         test-double-libmvec-sincos-avx512-main.o and
3696         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
3697         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
3698         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
3699         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
3700         (CFLAGS-test-double-libmvec-sincos.c): Removed.
3701         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
3702         (CFLAGS-test-double-libmvec-sincos-main.c): New.
3703         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
3704         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
3705         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
3706         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
3707         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
3708         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
3709         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
3710         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
3711         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
3712         -DREQUIRE_AVX2.
3713         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
3714         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
3715         -DREQUIRE_AVX512F.
3716         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
3717         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
3718         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
3719         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
3720         file.
3721         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
3722         Likewise.
3723         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
3724         Likewise.
3725         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
3726         Likewise.
3727         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
3728         Likewise.
3729         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
3730         Likewise.
3731         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
3732         Likewise.
3733         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
3734         Likewise.
3736 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
3738         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
3740 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
3742         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
3743         and typo in a comment about AT_HWCAP entry.
3745 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3747         * sysdeps/aarch64/libm-test-ulps: Updated.
3749 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3751         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
3752         of r13 as it is not restored in mvcle case.
3754 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
3756         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
3757         Rename "ret" to "__ret".
3758         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
3759         inline_syscall5, inline_syscall6): Likewise.
3761 2016-07-19   Will Newton  <will.newton@gmail.com>
3763         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
3764         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
3765         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
3766         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
3767         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
3769 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
3771         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
3772         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
3773         -mfpmath=387 with $(rtld-CFLAGS).
3774         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
3775         $(rtld-CFLAGS).
3777 2016-07-18   Ross Burton  <ross.burton@intel.com>
3778              Khem Raj  <raj.khem@gmail.com>
3780         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
3781         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
3782         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
3783         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
3784         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
3785         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
3786         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
3787         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
3788         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
3789         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
3790         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
3791         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
3792         R_METAG_TLS_DTPOFF): New.
3794 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3795             Matt Clay  <mclay@lycos.com>
3797         [BZ #20357]
3798         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
3799         to call __mpsin/__mpcos and to negate values.
3800         * math/auto-libm-test-in: Add test.
3801         * math/auto-libm-test-out: Regenerate.
3803 2016-07-18  Zack Weinberg  <zackw@panix.com>
3805         * grp/Makefile: Don't install the internal header grp-merge.h.
3807 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3809         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3811 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3813         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
3815 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3817         [BZ #15368]
3818         * sysdeps/unix/sysv/linux/nptl-signals.h
3819         (__nptl_clear_internal_signals): New function.
3820         (__libc_signal_block_all): Likewise.
3821         (__libc_signal_block_app): Likewise.
3822         (__libc_signal_restore_set): Likewise.
3823         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
3824         implementation.
3825         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
3826         the cached pid/tid value in pthread structure.
3828 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
3830         [BZ #20347]
3831         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
3833 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3835         [BZ #20348]
3836         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
3837         preadv64, pwrite64 and pwritev64.
3839 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3841         [BZ #20350]
3842         * posix/tst-preadwrite.c: Renamed to ...
3843         * posix/tst-preadwrite-common.c: This.
3844         (PREAD): Removed.
3845         (PWRITE): Likewise.
3846         (STRINGIFY): Likewise.
3847         (STRINGIFY2): Likewise.
3848         (do_prepare): Make it static and remove function arguments.
3849         (do_test): Likewise.
3850         (PREPARE): Updated.
3851         (TEST_FUNCTION): New.
3852         (name): Make it static.
3853         (fd): Likewise.
3854         (do_prepare): Use create_temp_file.
3855         (do_test): Renamed to ...
3856         (do_test_with_offset): This.  Make it static and accept offset.
3857         Properly check return value of PWRITE and PREAD.  Return bytes
3858         read.  Don't close fd nor unlink name.
3859         * posix/tst-preadwrite.c: Rewrite.
3860         * posix/tst-preadwrite64.c: Likewise.
3862 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
3864         [BZ #20309]
3865         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
3866         -mtls-dialect=gnu2 works.
3867         * configure: Regenerated.
3868         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
3869         (tests): Add tst-gnu2-tls1.
3870         (modules-names): Add tst-gnu2-tls1mod.
3871         ($(objpfx)tst-gnu2-tls1): New.
3872         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
3873         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
3874         * elf/tst-gnu2-tls1.c: New file.
3875         * elf/tst-gnu2-tls1mod.c: Likewise.
3876         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
3877         bytes for push in the PLT entry to align the stack.
3879 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3881         [BZ #20349]
3882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
3884 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3886         [BZ #18707]
3887         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
3888         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
3890 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3892         * sysdeps/unix/sysv/linux/sysdep.h
3893         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
3894         guards.
3895         * misc/tst-preadvwritev-common.c: New file.
3896         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
3897         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
3898         a check for files larger than 2GB.
3900         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3901         (__ASSUME_OFF_DIFF_OFF64): Remove define.
3902         * sysdeps/unix/sysv/linux/pread.c
3903         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
3904         __OFF_T_MATCHES_OFF64_T.
3905         * sysdeps/unix/sysv/linux/pread64.c
3906         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
3907         * sysdeps/unix/sysv/linux/preadv.c
3908         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
3909         * sysdeps/unix/sysv/linux/preadv64.c
3910         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
3911         * sysdeps/unix/sysv/linux/pwrite.c
3912         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
3913         * sysdeps/unix/sysv/linux/pwrite64.c
3914         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
3915         * sysdeps/unix/sysv/linux/pwritev.c
3916         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
3917         * sysdeps/unix/sysv/linux/pwritev64.c
3918         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
3920 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
3922         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3923         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
3925 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3927         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
3929 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
3931         [BZ #20240]
3932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
3933         (CFLAGS-s_modf-ppc32.c): New variable.
3934         (CFLAGS-s_modff-ppc32.c): Likewise.
3935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
3936         (CFLAGS-s_modf-ppc64.c): Likewise.
3937         (CFLAGS-s_modff-ppc64.c): Likewise.
3939 2016-07-07  Andreas Schwab  <schwab@suse.de>
3941         [BZ #20263]
3942         * nptl/tst-robust10.c: New test.
3943         * nptl/Makefile (tests): Add tst-robust10.
3945 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
3947         [BZ #20263]
3948         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
3950 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3952         * sysdeps/s390/linkmap.h (struct link_map_machine):
3953         Remove member gotplt and add member jmprel.
3954         * sysdeps/s390/s390-32/dl-machine.h
3955         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
3956         instead of gotplt with &got[3].
3957         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
3958         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3960 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
3962         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
3964 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3966         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
3967         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
3968         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3969         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
3970         * libio/vtables.c (_IO_vtable_check)
3971         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
3972         * libio/libioP.h (IO_set_accept_foreign_vtables)
3973         [!PTR_MANGLE]: Do not call PTR_MANGLE.
3975 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
3977         [BZ #20314]
3978         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
3979         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
3980         $(common-objpfx)cmath.
3981         ($(common-objpfx)cstdlib): New target.
3982         ($(common-objpfx)cmath): Likewise.
3984 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
3986         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
3988 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3990         [BZ #20327]
3991         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
3992         are not part of the string.
3994 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3996         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
3997         * nptl/tst-cancel4-common.h (fifoname): New variable.
3998         (fifofd): Likewise.
3999         (cl_fifo): New function.
4000         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4001         SIGINT.
4002         (tf_open): Add early cancel test.
4004 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4006         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
4008 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
4010         * sysdeps/generic/ldsodefs.h
4011         (dl_symbol_visibility_binds_local_p): New inline function.
4012         * elf/dl-addr.c (determine_info): Treat hidden and internal
4013         symbols as local.
4014         * elf/dl-lookup.c (do_lookup_x): Likewise.
4015         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4017 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4019         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4020         invalid exception for a sNaN input.
4021         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4022         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4023         (__nearbyint_vis3): Likewise
4024         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4025         (__nearbyintf_vis3): Likewise
4026         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4027         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4028         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4029         Likewise.
4030         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4031         Likewise.
4033 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4035         [BZ #20139]
4036         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4037         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4038         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4039         2.24 or above.
4040         (HAVE_AVX512_ASM_SUPPORT): Removed.
4041         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4042         * sysdeps/x86_64/configure: Regenerated.
4043         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4044         check unconditional.
4045         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4046         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4047         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4048         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4049         Likewise.
4050         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4051         Likewise.
4052         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4053         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4054         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4055         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4056         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4057         Likewise.
4058         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4059         Likewise.
4060         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4061         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4062         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4063         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4064         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4065         Likewise.
4066         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4067         Likewise.
4068         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4069         Likewise.
4070         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4071         Likewise.
4072         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4073         Likewise.
4074         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4075         Likewise.
4076         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4077         Likewise.
4078         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4079         Likewise.
4080         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4081         Likewise.
4082         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4083         Likewise.
4084         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4085         Likewise.
4087 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4089         [BZ #20024]
4090         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4091         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4092         of this implementation of vector function.
4093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4094         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4095         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4096         Likewise.
4097         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4098         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4099         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4100         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4101         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4102         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4103         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4104         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4105         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4106         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4107         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4108         for testing vector sincos with fixed ABI.
4109         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4110         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4111         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4112         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4113         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4114         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4115         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4116         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4117         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4118         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4119         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4120         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4121         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4122         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4123         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4124         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4126 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4128         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4130 2016-06-30  Anton Blanchard  <anton@samba.org>
4132         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4133         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4134         s_sinf-ppc64.
4135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4138         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4140 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4144         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4145         e_expf-ppc64.
4146         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4147         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4148         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4149         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4151 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4153         [BZ #20277]
4154         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4155         when SHARED is defined.
4157 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4159         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4160         (index_arch_Prefer_ERMS): Likewise.
4161         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4162         __memcpy_erms for Prefer_ERMS.
4163         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4164         (__memmove_erms): Enabled for libc.a.
4165         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4166         __memmove_erms or Prefer_ERMS.
4167         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4168         __mempcpy_erms for Prefer_ERMS.
4169         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4170         __memset_erms for Prefer_ERMS.
4172 2016-06-30  Andreas Schwab  <schwab@suse.de>
4174         [BZ #20262]
4175         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4176         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4177         of memory.
4179 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4181         [BZ #18645]
4182         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4183         (test-extras): Add tst-cleanupx4aux.
4184         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4185         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4186         tst-cleanupx4aux.o.
4187         * nptl/tst-cleanupx4aux.c: New file.
4189 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4191         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4193 2016-06-29  Andreas Schwab  <schwab@suse.de>
4195         [BZ #20260]
4196         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4197         address before the beginning of the string as an integer to avoid
4198         array-bounds warning.
4200 2016-06-28  Richard Henderson  <rth@redhat.com>
4202         * elf/elf.h (EM_BPF): New.
4203         (EM_NUM): Update.
4204         (R_BPF_NONE, R_BPF_MAP_FD): New.
4206         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4207         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4208         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4209         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4210         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4211         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4212         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4213         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4214         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4215         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4216         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4217         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4218         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4219         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4220         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4221         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4222         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4223         (EM_NUM): Update.
4225 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4227         [BZ #18960]
4228         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4229         Set _nl_current_LC_CATEGORY_used to two instead of one.
4231 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4233         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4234         (do_test): ... this.
4235         (TEST_FUNCTION): New macro.
4236          Include test-skeleton.c.
4237         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4238         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4240 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4242         [BZ #15479]
4243         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4244         floating-point environment rather than just control word.
4245         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4246         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4247         floating-point environment, with "invalid" exceptions merged in,
4248         rather than just control word.
4249         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4250         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4251         "inexact" exceptions.
4253         [BZ #15479]
4254         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4255         floating-point environment rather than just control word.
4256         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4257         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4258         floating-point environment, with "invalid" exceptions merged in,
4259         rather than just control word.
4260         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4261         * math/libm-test.inc (floor_test_data): Do not allow spurious
4262         "inexact" exceptions.
4264         [BZ #15479]
4265         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4266         floating-point environment rather than just control word.
4267         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4268         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4269         floating-point environment, with "invalid" exceptions merged in,
4270         rather than just control word.
4271         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4272         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4273         "inexact" exceptions.
4275 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4277         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4278         __libc_vfork.
4279         (__vfork) [IS_IN (libc)]: Remove alias.
4280         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4281         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4282         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4284 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4286         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4287         of atomic_compare_and_exchange_bool_rel.
4288         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4289         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4290         catomic_compare_and_exchange_bool_rel): Remove.
4291         * sysdeps/aarch64/atomic-machine.h
4292         (atomic_compare_and_exchange_bool_rel): Likewise.
4293         * sysdeps/alpha/atomic-machine.h
4294         (atomic_compare_and_exchange_bool_rel): Likewise.
4295         * sysdeps/arm/atomic-machine.h
4296         (atomic_compare_and_exchange_bool_rel): Likewise.
4297         * sysdeps/mips/atomic-machine.h
4298         (atomic_compare_and_exchange_bool_rel): Likewise.
4299         * sysdeps/microblaze/atomic-machine.h
4300         ( __arch_compare_and_exchange_bool_8_rel,
4301         __arch_compare_and_exchange_bool_16_rel): Likewise.
4302         * sysdeps/powerpc/atomic-machine.h
4303         ( __arch_compare_and_exchange_bool_8_rel,
4304         __arch_compare_and_exchange_bool_16_rel): Likewise.
4305         * sysdeps/powerpc/powerpc32/atomic-machine.h
4306         ( __arch_compare_and_exchange_bool_32_rel,
4307         __arch_compare_and_exchange_bool_64_rel): Likewise.
4308         * sysdeps/powerpc/powerpc64/atomic-machine.h
4309         ( __arch_compare_and_exchange_bool_32_rel,
4310         __arch_compare_and_exchange_bool_64_rel): Likewise.
4311         * sysdeps/tile/atomic-machine.h
4312         (atomic_compare_and_exchange_bool_rel): Likewise.
4314 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4316         [BZ #20296]
4317         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4318         when either argument is a NaN.
4319         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4320         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4322         * math/libm-test.inc (snan_value_ld): New macro.
4323         (isgreater_test_data): Add sNaN tests.
4324         (isgreaterequal_test_data): Likewise.
4325         (isless_test_data): Likewise.
4326         (islessequal_test_data): Likewise.
4327         (islessgreater_test_data): Likewise.
4328         (isunordered_test_data): Likewise.
4329         (nextafter_test_data): Likewise.
4330         (nexttoward_test_data): Likewise.
4331         (remainder_test_data): Likewise.
4332         (remquo_test_data): Likewise.
4333         (significand_test_data): Likewise.
4334         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4336 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4338         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4339         environment macros are defined.
4340         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4342 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4344         [BZ #20191]
4345         Implement vtable verification in libio.
4346         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4347         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4348         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4349         _IO_new_file_init_internal instead of _IO_file_init.
4350         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4351         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4352         * libio/Makefile (routines): Add vtables.
4353         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4354         (_IO_init): Remove, not for internal use.
4355         (_IO_init_internal): Declare, internal replacement for _IO_init.
4356         (_IO_file_init): Remove, not for internal use.
4357         (_IO_new_file_init): Remove, not for internal use.
4358         (_IO_new_file_init_internal): Declare, internal replacement for
4359         _IO_new_file_init.
4360         (_IO_old_file_init): Remove, not for internal use.
4361         (_IO_old_file_init_internal): Declare, internal replacement for
4362         _IO_old_file_init.
4363         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4364         internal use.
4365         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4366         Declare.
4367         (libio_vtable): New macro.
4368         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4369         functions.
4370         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4371         _IO_new_file_init.
4372         (_IO_new_file_init): New externally visible wrapper which disables
4373         vtable verification.
4374         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4375         Define as vtables.
4376         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4377         (_IO_init): New externally visible wrapper which disables
4378         vtable verification.
4379         * libio/iofdopen.c (_IO_new_fdopen): Call
4380         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4381         comment.
4382         * libio/iofopen.c (__fopen_internal): Call
4383         _IO_new_file_init_internal instead of _IO_file_init.
4384         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4385         Define as vtables.
4386         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4387         _IO_new_file_init_internal instead of _IO_file_init.
4388         * libio/iopopen.c (_IO_new_popen): Likewise.
4389         (_IO_proc_jumps): Define as vtable.
4390         * libio/iovdprintf.c (_IO_vdprintf): Call
4391         _IO_new_file_init_internal instead of _IO_file_init.
4392         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4393         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4394         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4395         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4396         _IO_old_file_init.
4397         (_IO_old_file_init): New externally visible wrapper which disables
4398         vtable verification.
4399         (_IO_old_file_jumps): Define as vtable.
4400         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4401         _IO_old_file_init_internal instead of _IO_old_file_init.
4402         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4403         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4404         (_IO_old_proc_jumps): Define as vtable.
4405         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4406         Define as vtables.
4407         * libio/vtables.c: New file.
4408         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4409         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4410         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4411         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4412         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4413         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4414         instead of _IO_init.
4416 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4418         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4420 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4422         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4423         potentially unused.
4425 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4427         * test-skeleton.c (write_message): New function.
4428         * malloc/tst-mallocfork2.c (write_message): Remove.
4429         * debug/tst-longjmp_chk2.c (write_indented): New function.
4430         (write_message): Remove.
4431         (stackoverflow_handler): Call write_indented.
4433 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4435         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4436         "inexact" exceptions after fnstenv.
4437         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4438         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4439         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4441 2015-06-22  Zack Weinberg  <zackw@panix.com>
4443         * sysdeps/generic/bits/hwcap.h: Moved to ...
4444         * bits/hwcap.h: Here.
4446 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4448         * sysdeps/aarch64/memcpy.S (memcpy):
4449         Further tuning for performance.
4451 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4453         [BZ #20284]
4454         * malloc/arena.c (reused_arena): Do not return NULL if we start
4455         out with a non-corrupted arena.
4457 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4459         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4460         * misc/tst-preadvwritev.c: New file.
4461         * misc/tst-preadvwritev64.c: Likewise.
4462         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4463         usage.
4464         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4465         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4466         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4467         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4469 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4471         [BZ #19654]
4472         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4473         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4474         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4475         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4476         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4477         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4478         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4479         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4480         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4481         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4482         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4483         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4484         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4485         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4486         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4487         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4488         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4489         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4490         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4491         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4492         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4493         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4494         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4495         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4496         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4497         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4499 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4501         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4502         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4504 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4506         * sysdeps/aarch64/memcpy.S (memcpy):
4507         Rewrite of optimized memcpy and memmove.
4508         * sysdeps/aarch64/memmove.S (memmove): Remove
4509         memmove code (merged into memcpy.S).
4511 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4513         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4514         * sysdeps/generic/dl-dtv.h: New file.
4515         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4516         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4517         (dtv_t): Remove.
4518         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4519         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4520         (dtv_t): Remove.
4521         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4522         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4523         (dtv_t): Remove.
4524         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4525         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4526         (dtv_t): Remove.
4527         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4528         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4529         (dtv_t): Remove.
4530         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4531         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4532         (dtv_t): Remove.
4533         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4534         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
4535         (dtv_t): Remove.
4536         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
4537         (dtv_t): Remove.
4538         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4539         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
4540         (dtv_t): Remove.
4541         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4542         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
4543         (dtv_t): Remove.
4544         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4545         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
4546         (dtv_t): Remove.
4547         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4548         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
4549         (dtv_t): Remove.
4550         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4551         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
4552         (dtv_t): Remove.
4553         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4554         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
4555         (dtv_t): Remove.
4556         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4557         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
4558         (dtv_t): Remove.
4559         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4560         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
4561         (dtv_t): Remove.
4563 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4565         Revert symbol poisoning of  __malloc_initialize_hook.
4566         * include/stdc-predef.h (__malloc_initialize_hook): Remove
4567         poisoning.
4568         * malloc/Makefile: Remove un-poisoning.
4569         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
4570         instead of old__malloc_initialize_hook.
4571         * malloc/malloc-hooks.h: Likewise.
4572         * malloc/malloc.c: Likewise.
4573         * malloc/mcheck-init.c: Likewise.
4575 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
4577         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
4579 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
4581         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
4582         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
4583         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4584         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4586 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4588         * NEWS: Mention addition of nextup and nextdown.
4589         * manual/arith.texi: Document nextup and nextdown.
4590         * manual/libm-err-tab.pl: Add nextup and nextdown.
4591         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
4592         * math/Versions (libm): Add GLIBC_2.24.
4593         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
4594         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
4595         Add new test.
4596         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
4597         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
4598         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
4599         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
4600         (nextup_test_data): Likewise.
4601         (nextdown_test_data): Likewise.
4602         * math/s_nextdown.c: New file.
4603         * math/s_nextdownf.c: Likewise.
4604         * math/s_nextdownl.c: Likewise.
4605         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
4606         F(nextup): New function.
4607         F(nextdown): Likewise.
4608         * math/tgmath.h: Add nextup and nextdown.
4609         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
4610         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
4611         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4612         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
4613         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
4614         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
4615         Add nextup and nextdown.
4616         (CFLAGS-nldbl-nextup.c): New variable.
4617         (CFLAGS-nldbl-nextdown.c): Likewise.
4618         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
4619         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
4620         * sysdeps/nacl/libm.abilist: Update.
4621         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4622         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4623         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4624         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4625         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4626         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4627         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4628         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4629         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4630         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4631         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4632         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
4634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4635         Likewise.
4636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
4637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
4638         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4639         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4640         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4641         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4642         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
4644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
4645         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4646         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4647         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
4648         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4650 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4652         * manual/pattern.texi: Fix typos & grammar errors.
4654 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4656         * manual/search.texi: Fix typos & grammar errors.
4658 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4660         * manual/message.texi: Fix typos & grammar errors.
4662 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
4664         * manual/contrib.texi: Fix spelling typos.
4665         * manual/crypt.texi: Likewise.
4666         * manual/filesys.texi: Likewise.
4667         * manual/locale.texi: Likewise.
4668         * manual/message.texi: Likewise.
4669         * manual/nss.texi: Likewise.
4670         * manual/string.texi: Likewise.
4672 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4674         * manual/locale.texi: Fix typos & grammar errors.
4676 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4678         * manual/charset.texi: Fix typos & grammar errors.
4680 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4682         * manual/string.texi: Fix typos.
4684 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4686         * manual/ctype.texi: Fix typos.
4688 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
4690         * manual/memory.texi: Fix various typos & grammar errors.
4692 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
4694         [BZ #20255]
4695         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
4696         * math/libm-test.inc (fdim_test_data): Add another test.
4698         [BZ #6796]
4699         [BZ #20255]
4700         [BZ #20256]
4701         * math/s_fdim.c: Include <math_private.h>.
4702         (__fdim): Use math_narrow_eval on result.
4703         * math/s_fdimf.c: Include <math_private.h>.
4704         (__fdimf): Use math_narrow_eval on result.
4705         * sysdeps/i386/fpu/s_fdim.S: Remove file.
4706         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
4707         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
4708         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
4709         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
4710         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
4711         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
4712         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
4713         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
4714         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
4715         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
4716         * math/libm-test.inc (fdim_test_data): Expect errno setting on
4717         overflow.  Add sNaN tests.
4719         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
4720         fpclassify.
4721         * math/s_fdimf.c (__fdimf): Likewise.
4722         * math/s_fdiml.c (__fdiml): Likewise.
4724 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4726         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4727         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
4728         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4729         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4730         ifunc'ed strcasecmp/strncasecmp.
4731         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
4732         [EALIGN]: Removed.
4733         [END]: Likewise.
4734         [__strcasecmp]: Define instead of the above to control symbol name.
4735         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
4736         for __strcasecmp_power8.
4737         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
4738         for __strncasecmp_power8.
4739         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
4740         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
4741         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
4742         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
4743         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
4744         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
4746 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
4748         [BZ #20252]
4749         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
4750         arguments when second argument is a NaN.
4751         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
4752         qNaN tests.
4754         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
4755         (conj_test_data): Likewise.
4756         (copysign_test_data): Likewise.
4757         (creal_test_data): Likewise.
4758         (fma_test_data): Likewise.
4759         (fmod_test_data): Likewise.
4761         [BZ #20250]
4762         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
4763         itself.
4764         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
4765         zero input to itself.
4766         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
4767         Likewise.
4768         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
4769         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
4770         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
4771         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
4772         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
4774 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4776         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
4777         * nptl/tst-cancel4-common.c: New file.
4778         * nptl/tst-cancel4-common.h: Likewise.
4779         * nptl/tst-cancel4.c: Move common definitions to
4780         tst-cancel4-common.{c,h} file.
4781         * nptl/tst-cancel4_1.c: New test.
4782         * nptl/tst-cancel4_2.c: New test.
4784 2016-06-13  Florian Weimer  <fweimer@redhat.com>
4786         [BZ #20248]
4787         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
4788         (write_message): New function.
4789         (stackoverflow_handler): Call it instead of printf, to avoid
4790         excessive stack usage by printf.
4791         (do_test): Restore SIGSEGV, SIGBUS default handlers.
4793 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4795         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
4796         (prio_inherit_missing): Remove define.
4797         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4798         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4799         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
4800         Likewise.
4801         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4802         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4803         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4804         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4805         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4806         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4808 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4810         [BZ #19670]
4811         [BZ #19672]
4813         * io/test-lfs.c (do_prepare): Use xmalloc.
4814         * io/tst-fcntl.c (do_prepare): Likewise.
4815         * libio/tst-fopenloc.c (do_bz17916): Likewise.
4816         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
4817         * login/tst-utmp.c (do_prepare): Likewise.
4818         * posix/tst-exec.c (do_prepare): Likewise.
4819         * posix/tst-pathconf.c (prepare): Likewise.
4820         * posix/tst-spawn.c (do_prepare): Likewise.
4821         * posix/tst-truncate.c (do_prepare): Likewise.
4822         * rt/tst-aio.c (do_prepare): Likewise.
4823         * rt/tst-aio64.c (do_prepare): Likewise.
4825 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4827         [BZ #20237]
4828         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
4829         (get*ent): Set entidx to NULL during initialization.  If entidx is
4830         NULL, start iteration from the beginning.
4832 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4834         * malloc/malloc.c (musable): Return correct size for dumped fake
4835         mmapped chunk.
4837 2016-06-11  Florian Weimer  <fweimer@redhat.com>
4839         [BZ #20222]
4840         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
4841         (_IO_cookie_write): Likewise.
4842         (_IO_cookie_seek): Likewise.
4843         (_IO_cookie_close): Likewise.
4844         (_IO_old_cookie_seek): Likewise.
4845         (set_callbacks): New function.
4846         (_IO_cookie_init): Call set_callbacks to copy callbacks.
4848 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
4850         * locale/programs/localedef.c (oldstyle_tables): Remove.
4851         * locale/programs/localedef.h (oldstyle_tables): Likewise.
4853 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
4855         [BZ #20240]
4856         * math/Makefile (CFLAGS-s_modf.c): New variable.
4857         (CFLAGS-s_modff.c): Likewise.
4858         (CFLAGS-s_modfl.c): Likewise.
4859         * math/libm-test.inc (modf_test_data): Add sNaN tests.
4861 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
4863         [BZ #20215]
4864         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
4865         [!__GNUC_PREREQ (3,2)]: Likewise.
4867 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4869         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
4870         (msghdr.msg_controllen): Likewise.
4871         (cmsghdr.cmsg_len): Likewise.
4872         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
4873         ptw-oldsendmsg.
4874         (CFLAGS-oldrecvmsg.c): Remove rule.
4875         (CFLAGS-oldsendmsg.c): Likewise.
4876         (CFLAGS-recvmsg.c): Add rule.
4877         (CFLAGS-sendmsg.c): Likewise.
4878         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
4879         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
4880         (CFLAGS-recvmsg.c): Remove rule.
4881         (CFLAGS-sendmsg.c): Likewise.
4882         (CFLAGS-oldrecvmsg.c): Likewise.
4883         (CFLAGS-oldsendmsg.c): Likewise.
4884         (CFLAGS-recvmmsg.c): Likewise.
4885         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
4886         to kernel defined interfaces.
4887         (msghdr.msg_controllen): Likewise.
4888         (cmsghdr.cmsg_len): Likewise.
4889         (msghdr.__glibc_reserved1): Remove member.
4890         (msghdr.__glibc_reserved2): Likewise.
4891         (cmsghdr.__glibc_reserved1): Likewise.
4892         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
4893         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
4894         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4895         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4896         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
4897         version.
4898         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
4899         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
4900         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
4901         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
4902         Remove recvmsg and sendmsg.
4903         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
4904         Likewise.
4905         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4906         Likewise.
4907         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4908         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4909         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4910         Likewise.
4911         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4912         Likewise.
4913         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
4914         [libc] (GLIBC_2.24): Likewise.
4915         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4916         Likewise.
4917         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4918         Likewise.
4919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4920         [libc] (GLIBC_2.24): Likewise.
4921         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4922         Likewise.
4923         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4924         Likewise.
4925         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4926         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4927         Likewise.
4928         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4929         Likewise.
4930         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4931         Likewise.
4932         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
4933         Likewise.
4934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
4935         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
4936         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
4937         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
4938         version for {recv,send,recm,sendm}msg.
4939         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4940         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4941         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4942         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4943         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4944         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4945         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4946         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4947         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4948         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4949         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4950         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4952         Likewise.
4953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4954         Likewise.
4955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4957         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4958         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4959         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4960         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4961         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4962         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4965         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4966         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4967         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4969 2016-06-10  Florian Weimer  <fweimer@redhat.com>
4971         [BZ #19564]
4972         Remove __malloc_initialize_hook from the API.
4973         * malloc/malloc.h (__malloc_initialize_hook): Remove.
4974         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
4975         #pragma GCC poison.
4976         * malloc/malloc-hooks.h: New file.
4977         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
4978         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
4979         (old__malloc_initialize_hook): Rename from
4980         __malloc_initialize_hook to evade poisoning.  Turn into compat
4981         symbol.
4982         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
4983         __malloc_initialize_hook.
4984         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
4985         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
4986         * manual/memory.texi (Hooks for Malloc): Remove
4987         __malloc_initialize_hook.  Adjust hook example.
4989 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
4991         [BZ #20235]
4992         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
4993         itself.
4994         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4995         * math/libm-test.inc (log2_test_data): Add sNaN tests.
4997         [BZ #20234]
4998         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
4999         infinity or NaN input to itself.
5001         [BZ #20233]
5002         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
5003         to itself.
5005         [BZ #20232]
5006         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5007         itself.
5009 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5011         * sysdeps/x86_64/start.S (_start): Always indirect branch to
5012         __libc_start_main via GOT.
5014 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5016         * sysdeps/x86_64/memcopy.h: New file.
5017         * sysdeps/x86_64/wordcopy.c: Likewise.
5019 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5021         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5022         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5023         <cstdlib>.
5024         (optimization_barrier): New.
5025         (do_test): Use it.  Call quick_exit in the global namespace.
5026         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5027         instead of <cstdlib>, <thread>.
5028         (optimization_barrier): New.
5029         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5030         Call quick_exit in the global namespace.
5031         (do_test): Call optimization_barrier.  Use pthread_create,
5032         pthread_join instead of std::thread.
5034 2016-06-09  Andreas Schwab  <schwab@suse.de>
5036         [BZ #19755]
5037         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5038         new entries in auto-propagate mode.
5039         * nscd/grpcache.c (cache_addgr): Likewise.
5041 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5043         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5044         New functions.
5045         (add_temp_file): Use them.
5047 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5049         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5051 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5053         [BZ #20229]
5054         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5055         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5056         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5058         [BZ #20228]
5059         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5060         itself.
5061         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5062         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5064         [BZ #20227]
5065         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5066         itself.
5067         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5068         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5069         * math/libm-test.inc (log_test_data): Add sNaN tests.
5071         [BZ #20226]
5072         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5073         itself.
5074         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5075         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5076         (exp10_test_data): Likewise.
5077         (expm1_test_data): Likewise.
5079         [BZ #20225]
5080         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5081         itself.
5082         * math/s_ldexpf.c (__ldexpf): Likewise.
5083         * math/s_ldexpl.c (__ldexpl): Likewise.
5084         * math/w_scalbln.c (__w_scalbln): Likewise.
5085         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5086         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5087         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5088         (scalbln_test_data): Likewise.
5090         [BZ #20224]
5091         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5092         argument to itself.
5093         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5095 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5097         [BZ #19776]
5098         * sysdeps/x86_64/memcpy.S: Make it dummy.
5099         * sysdeps/x86_64/mempcpy.S: Likewise.
5100         * sysdeps/x86_64/memmove.S: New file.
5101         * sysdeps/x86_64/memmove_chk.S: Likewise.
5102         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5103         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5104         * sysdeps/x86_64/memmove.c: Removed.
5105         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5106         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5107         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5108         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5109         Likewise.
5110         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5111         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5113         memcpy-sse2-unaligned, memmove-avx-unaligned,
5114         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5116         (__libc_ifunc_impl_list): Replace
5117         __memmove_chk_avx512_unaligned_2 with
5118         __memmove_chk_avx512_unaligned.  Remove
5119         __memmove_chk_avx_unaligned_2.  Replace
5120         __memmove_chk_sse2_unaligned_2 with
5121         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5122         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5123         with __memmove_avx512_unaligned.  Replace
5124         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5125         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5126         with __memcpy_chk_avx512_unaligned.  Remove
5127         __memcpy_chk_avx_unaligned_2.  Replace
5128         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5129         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5130         Replace __memcpy_avx512_unaligned_2 with
5131         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5132         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5133         with __mempcpy_chk_avx512_unaligned.  Remove
5134         __mempcpy_chk_avx_unaligned_2.  Replace
5135         __mempcpy_chk_sse2_unaligned_2 with
5136         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5137         Replace __mempcpy_avx512_unaligned_2 with
5138         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5139         Replace __mempcpy_sse2_unaligned_2 with
5140         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5141         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5142         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5143         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5144         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5145         (ENTRY): Removed.
5146         (END): Likewise.
5147         (ENTRY_CHK): Likewise.
5148         (libc_hidden_builtin_def): Likewise.
5149         Don't include ../memcpy.S.
5150         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5151         __memcpy_chk_avx512_unaligned_erms and
5152         __memcpy_chk_avx512_unaligned.  Use
5153         __memcpy_chk_avx_unaligned_erms and
5154         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5155         Default to __memcpy_chk_sse2_unaligned.
5156         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5157         Change function suffix from unaligned_2 to unaligned.
5158         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5159         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5160         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5161         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5162         (ENTRY): Removed.
5163         (END): Likewise.
5164         (ENTRY_CHK): Likewise.
5165         (libc_hidden_builtin_def): Likewise.
5166         Don't include ../mempcpy.S.
5167         (mempcpy): New.  Add a weak alias.
5168         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5169         __mempcpy_chk_avx512_unaligned_erms and
5170         __mempcpy_chk_avx512_unaligned.  Use
5171         __mempcpy_chk_avx_unaligned_erms and
5172         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5173         Default to __mempcpy_chk_sse2_unaligned.
5175 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5177         [BZ #19881]
5178         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5179         into ...
5180         * sysdeps/x86_64/memset.S: This.
5181         (__bzero): Removed.
5182         (__memset_tail): Likewise.
5183         (__memset_chk): Likewise.
5184         (memset): Likewise.
5185         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5186         defined.
5187         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5188         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5189         (__memset_zero_constant_len_parameter): Check SHARED instead of
5190         PIC.
5191         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5192         memset-avx2 and memset-sse2-unaligned-erms.
5193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5194         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5195         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5196         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5197         (__bzero): Enabled.
5198         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5199         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5200         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5201         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5202         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5203         (memset): Removed.
5204         (__memset_chk): Likewise.
5205         (MEMSET_SYMBOL): New.
5206         (libc_hidden_builtin_def): Replace __memset_sse2 with
5207         __memset_sse2_unaligned.
5208         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5209         __memset_chk_sse2 and __memset_chk_avx2 with
5210         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5211         Use __memset_chk_sse2_unaligned_erms or
5212         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5213         __memset_chk_avx512_unaligned_erms and
5214         __memset_chk_avx512_unaligned.
5216 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5218         * math/gen-auto-libm-test.c (fp_format_desc): remove
5219         suffix member.
5220         (output_generic_value): Remove usage of suffix member,
5221         and the resulting unuse of the fp_format argument.
5222         (output_for_one_input_case): Remove unused fp_format
5223         parameter.
5225         * math/auto-libm-test-out: Regenerate.
5227         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5228         usage with TEST_COND_ibm128.
5229         (TEST_COND_flt_32): Remove.
5230         (TEST_COND_dbl_64): Remove.
5231         (TEST_COND_ldbl_96_intel): Remove.
5232         (TEST_COND_ldbl_96_m68k): Remove.
5233         (TEST_COND_ldbl_128): Remove.
5235 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5237         * auto-libm-test-in:
5238         Replace flt-32 usage with binary32.
5239         Replace dbl-64 usage with binary64.
5240         Replace ldbl-intel-96 usage with intel96.
5241         Replace ldbl-m68k-96 usage with m68k96.
5242         Replace ldbl-128ibm usage with ibm128.
5243         Replace ldbl-128 usage with binary128.
5245         * auto-libm-test-out: Regenerate.
5247 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5249         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5250         (parse_ulps): Dynamically generate type name matching
5251         string from all_floats.
5252         (get_ulps): Generate the ulps as an array instead.
5253         (output_ulps): Dynamically compose the type based
5254         on the number of supported formats, and print
5255         the indices as type specific helper macros.
5257         * math/libm-test.inc: Remove comment about CHOOSE.
5258         (ulp_data): Generate the type in libm-test-ulps.h.
5259         (ULP_IDX): New macro.
5260         (find_ulps): Update usage of max_ulp.
5262         * math/test-double-vlen2.h (CHOOSE): Remove.
5263         * math/test-double-vlen4.h (CHOOSE): Likewise.
5264         * math/test-double-vlen8.h (CHOOSE): Likewise.
5265         * math/test-float.c (CHOOSE): Likewise.
5266         * math/test-float-finite.c (CHOOSE): Likewise.
5267         * math/test-double.c (CHOOSE): Likewise.
5268         * math/test-double-finite.c (CHOOSE): Likewise.
5269         * math/test-idouble.c (CHOOSE): Likewise.
5270         * math/test-ifloat.c (CHOOSE): Likewise.
5271         * math/test-ildoubl.c (CHOOSE): Likewise.
5272         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5273         * math/test-ldouble.c (CHOOSE): Likewise.
5275         * math/test-float.h (TEST_FLOAT): Remove.
5276         * math/test-double.h (TEST_DOUBLE): Likewise.
5277         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5279 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5281         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5282         (parse_args): Strip C suffix from floating point literals
5283         typed with 'f' and wrap them with LIT().
5285         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5286         (test_ff_f_data_nexttoward): Rename to
5287         (test_fj_f_data): New struct.
5288         (nexttoward_test_data): Relabel tests as
5289         TEST_fj_f instead of TEST_ff_f.
5291 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5293         Emacs bug 23726.
5294         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5295         (__libc_realloc): Correct size computation for dumped fake mmapped
5296         chunks.
5298 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5300         [BZ #20219]
5301         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5302         to itself.
5303         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5305         [BZ #20218]
5306         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5307         to itself.
5308         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5310 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5312         [BZ #20195]
5313         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5314         check to ...
5315         (init_cpu_features): Here.
5317 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5319         [BZ #20214]
5320         * sysdeps/unix/sysv/linux/bits/in.h
5321         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5322          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5323         Define to 1.
5324         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5325          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5326         Define to 0.
5327         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5328         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5330 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5332         [BZ #20198]
5333         * stdlib/Makefile (tests): Add tst-quick_exit, and
5334         tst-thread-quick_exit.
5335         [ifeq ($(have-cxx-thread_local),yes)]
5336         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5337         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5338         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5339         (LDLIBS-tst-thread-quick_exit): Likewise.
5340         [ifneq ($(have-cxx-thread_local),yes)]
5341         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5342         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5343         If run_dtors is true call __call_tls_dtors.
5344         (exit): Call __run_exit_handlers with run_dtors set to true.
5345         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5346         definition.
5347         * stdlib/quick_exit.c (quick_exit): Remove function.
5348         (__new_quick_exit): New function.
5349         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5350         function.
5351         * stdlib/tst-quick_exit.cc: New file.
5352         * stdlib/tst-thread-quick_exit.cc: New file.
5353         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5354         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5355         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5356         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5357         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5358         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5359         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5360         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5361         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5362         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5363         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5364         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5365         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5366         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5367         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5368         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5373         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5374         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5375         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5376         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5377         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5380         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5381         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5382         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5384 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5386         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5387         a typo in comments.
5389 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5391         [BZ #20213]
5392         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5393         argument to itself.
5394         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5396 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5398         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5399         required flags.
5400         (CFLAGS-pwritev64.c): Likewise.
5401         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5402         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5403         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5404         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5405         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5406         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5407         syscall from auto-generation.
5408         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5409         [WORDSIZE == 64] (pwritev64): Remove macro.
5410         [!PWRITEV] (PWRITEV): Likewise.
5411         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5412         [!PWRITEV] (PWRITE): Likewise.
5413         [!PWRITEV] (OFF_T): Likewise.
5414         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5415         (LO_HI_LONG): Remove macro.
5416         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5417         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5418         (PWRITEV): Remove macro.
5419         (PWRITEV_REPLACEMENTE): Likewise.
5420         (PWRITE): Likewise.
5421         (OFF_T): Likewise.
5422         (pwritev64): New function.
5423         * nptl/tst-cancel4.c (tf_writev): Add test.
5425         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5426         required flags.
5427         (CFLAGS-preadv64.c): Likewise.
5428         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5429         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5430         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5431         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5432         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5433         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5434         syscall from auto-generation.
5435         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5436         [WORDSIZE == 64] (preadv64): Remove macro.
5437         [!PREADV] (PREADV): Likewise.
5438         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5439         [!PREADV] (PREAD): Likewise.
5440         [!PREADV] (OFF_T): Likewise.
5441         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5442         (LO_HI_LONG): Remove macro.
5443         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5444         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5445         (PREADV): Remove macro.
5446         (PREADV_REPLACEMENTE): Likewise.
5447         (PREAD): Likewise.
5448         (OFF_T): Likewise.
5449         (preadv64): New function.
5450         * nptl/tst-cancel4.c (tf_preadv): Add test.
5452 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5454         [BZ #20212]
5455         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5456         argument to itself.
5457         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5459 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5461         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5462         New symbol defined as libc_hidden_def.
5463         (strcasestr): Became a weak alias to __strcasestr.
5464         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5465         according to multi-arch support.  Move __stpncpy hidden
5466         definition from here to...
5467         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5468         symbol stpncpy.
5469         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5470         libc_hidden_builtin_def.
5471         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5472         memset symbol to use when multi-arch support is available.
5474 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5476         * dlfcn/tst-rec-dlopen.c: Include string.h.
5478 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5480         * manual/install.texi: Remove mention of --without-tls
5481         * INSTALL: Regenerate.
5483 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5485         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5486         Remove.
5487         (call_function, interposed_malloc_called): New variables.
5488         (malloc): New function.
5489         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5490         and clear call_function as needed.
5492 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5494         * include/wchar.h (__wmemset): Use __typeof.
5496 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5498         * include/wchar.h (__wmemset): Declare function without typeof.
5500 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5502         [BZ #20205]
5503         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5504         exponent when incrementing negative subnormal with low mantissa
5505         word zero.
5506         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5507         Add another test.
5509 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5511         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5512         __wmemset instead of wmemset.
5514 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5516         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5517         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5518         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5519         __USE_KERNEL_IPV6_DEFS to 0.
5520         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5521         Update comment.
5523 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5525         [BZ #19861]
5526         Do not use IFUNC resolver with potentially unrelocated symbol.
5527         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5528         (DEFINE_FORK): Remove macro and inline definition.
5529         (fork_alias): Renamed from fork_ifunc.
5530         (__fork_alias): Renamed from __fork_ifunc.
5532 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
5534         [BZ 19653]
5535         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
5536         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
5538 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5540         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
5541         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5542         i386-linux-gnu).
5543         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
5544         Set to no.
5545         * sysdeps/mach/hurd/configure: Refresh.
5547 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5549         [BZ #20178]
5550         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
5551         on failure instead of exit.
5553 2016-05-30  Roland McGrath  <roland@hack.frob.com>
5555         [BZ #3629]
5556         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
5557         of POSIX.1-2008.
5559 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5561         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
5562           Use PLT entry for calling _hurd_self_sigstate.
5564 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
5566         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
5567         available logical processors with SMT level type sharing L2
5568         cache for Intel processors.
5570 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5572         [BZ #20160]
5573         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
5574         argument to itself before returning the result.
5575         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
5576         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
5577         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
5578         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5579         Likewise.
5580         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5581         Likewise.
5582         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
5583         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
5584         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5585         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5586         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
5587         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
5589         [BZ #20160]
5590         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
5591         argument to itself before returning the result.
5592         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
5593         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
5594         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
5595         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
5596         Likewise.
5597         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5598         Likewise.
5599         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
5600         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
5601         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
5602         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5603         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
5604         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
5606 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5608         * libm-test.inc: Replace usage of M_El with
5609         (lit_e): New macro.
5611 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5613         * libm-test.inc: Replace usage of M_PI_4l with
5614         (lit_pi_4_d): New macro.
5616 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5618         * libm-test.inc: Replace usage of M_PIl with
5619         (lit_pi): New macro.
5621 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5623         * libm-test.inc: Replace usage of M_PI2l with
5624         (lit_pi_2_d): New macro.
5626         * math/test-double.h (LITM): New macro.
5627         * math/test-float.h (LITM): Likewise.
5628         * math/test-ldouble.h (LITM): Likewise.
5630 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5632         * libm-test.inc (M_PI_34l): Rename to
5633         (lit_pi_3_m_4_d): New Macro.
5634         (M_PI_34_LOG10El): Rename to
5635         (lit_pi_3_m_4_ln10_m_d): New Macro.
5636         (M_PI2_LOG10El): Rename to
5637         (lit_pi_2_ln10_m_d):  New Macro.
5638         (M_PI4_LOG10El): Rename to
5639         (lit_pi_4_ln10_m_d):  New Macro.
5640         (M_PI_LOG10El): Rename to
5641         (lit_pi_ln10_d):  New Macro.
5643 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5645         [BZ #20157]
5646         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
5647         determine whether to negate low half if [_ARCH_PPCGR], and integer
5648         comparison otherwise.
5649         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
5650         determine whether to negate low half.
5652         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
5653         (NO_TEST_INLINE_DOUBLE): Likewise.
5654         (TEST_COND_x86_64): Likewise.
5655         (TEST_COND_x86): Likewise.
5656         (M_PI_6l): Likewise.
5658 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5660         * math/libm-test.inc:
5661         (TEST_FLOAT): Change usage to TEST_COND_binary32.
5662         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
5663         (TEST_LDOUBLE): Update usage to evaluate as true if
5664         the guarded tests match the property being tested.
5665         (LDBL_MAX_EXP): Change to MAX_EXP.
5666         (LDBL_MIN_EXP): Change to MIN_EXP.
5667         (LDBL_MANT_DIG): Change to MANT_DIG, except for
5668         nexttoward tests.
5670 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5672         * math/libm-test.inc:
5673         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
5674         (TYPE_MIN): Likewise.
5675         (TYPE_TRUE_MIN): Likewise.
5676         (TYPE_MAX): Likewise.
5677         (MIN_EXP): Likewise.
5678         (MAX_EXP): Likewise.
5679         (MANT_DIG): Likewise.
5681         (FSTR_MAX): New macro.
5682         (__CONCATX): Likewise.
5683         (QTYPE_STR): Likewise.
5684         (TEST_COND_binary32): Likewise.
5685         (TEST_COND_binary64): Likewise.
5686         (TEST_COND_binary128): Likewise.
5687         (TEST_COND_ibm128): Likewise.
5688         (TEST_COND_intel96): Likewise.
5689         (TEST_COND_m68k96): Likewise.
5691         (TEST_COND_flt_32): Redefine as equivalent format test macro.
5692         (TEST_COND_dbl_64): Likewise.
5693         (TEST_COND_ldbl_96_intel): Likewise.
5694         (TEST_COND_ldbl_96_m68k): Likewise.
5695         (TEST_COND_ldbl_128): Likewise.
5696         (TEST_COND_ldbl_128ibm): Likewise.
5698         (plus_zero): Redefine using LIT macro.
5699         (minus_zero): Likewise.
5700         (plus_infty): Redefine as (INF).
5701         (minux_infty): Redefine as (-INF).
5702         (max_value): Redefine as TYPE_MAX.
5703         (min_value): Redefine as TYPE_MIN.
5704         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
5706         (print_float): Refactor to use snprintf to convert FLOAT values
5707         to string. This brings it closer to dropin replacement of strtof
5708         for the TS 18661 defined types.
5709         (update_stats): Likewise.
5710         (print_complex_function_ulps): Likewise.
5711         (print_max_error): Likewise.
5712         (print_complex_max_error): Likewise.
5713         (check_float_internal): Likewise.
5715         * math/test-float.h (PREFIX): New macro.
5716         (LIT): Likewise.
5717         (TYPE_STR): Likewise.
5718         (FTOSTR): Likewise.
5720         * math/test-double.h (PREFIX): New macro.
5721         (LIT): Likewise.
5722         (TYPE_STR): Likewise.
5723         (FTOSTR): Likewise.
5725         * math/test-ldouble.h (PREFIX): New macro.
5726         (LIT): Likewise.
5727         (TYPE_STR): Likewise.
5728         (FTOSTR): Likewise.
5730 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
5732         [BZ #20156]
5733         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
5734         to itself when zero or not finite.
5735         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
5736         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5737         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
5738         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
5740 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
5742         [BZ #20153]
5743         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
5744         x * x + x for infinities and NaNs.
5746         [BZ #20151]
5747         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
5748         argument to itself before returning result.
5749         (__ieee754_y0l): Likewise.
5750         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5751         (__ieee754_y1l).
5753         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
5754         (atan_test_data): Likewise.
5755         (ceil_test_data): Likewise.
5756         (cos_test_data): Likewise.
5757         (cosh_test_data): Likewise.
5758         (erf_test_data): Likewise.
5759         (exp2_test_data): Likewise.
5760         (fabs_test_data): Likewise.
5761         (floor_test_data): Likewise.
5762         (ilogb_test_data): Likewise.
5763         (j0_test_data): Likewise.
5764         (j1_test_data): Likewise.
5765         (jn_test_data): Likewise.
5766         (lgamma_test_data): Likewise.
5767         (lrint_test_data): Likewise.
5768         (llrint_test_data): Likewise.
5769         (logb_test_data): Likewise.
5770         (lround_test_data): Likewise.
5771         (llround_test_data): Likewise.
5772         (nearbyint_test_data): Likewise.
5773         (rint_test_data): Likewise.
5774         (round_test_data): Likewise.
5775         (sin_test_data): Likewise.
5776         (sincos_test_data): Likewise.
5777         (sinh_test_data): Likewise.
5778         (sqrt_test_data): Likewise.
5779         (tan_test_data): Likewise.
5780         (tanh_test_data): Likewise.
5781         (tgamma_test_data): Likewise.
5782         (trunc_test_data): Likewise.
5783         (y0_test_data): Likewise.
5784         (y1_test_data): Likewise.
5785         (yn_test_data): Likewise.
5787         * math/libm-test.inc: Update comment about NaN testing.
5788         (TEST_SNAN): New macro.
5789         (snan_value): Likewise.
5790         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
5791         (fpclassify_test_data): Add sNaN tests.
5792         (isfinite_test_data): Likewise.
5793         (isinf_test_data): Likewise.
5794         (isnan_test_data): Likewise.
5795         (isnormal_test_data): Likewise.
5796         (issignaling_test_data): Likewise.
5797         (signbit_test_data): Likewise.
5798         * math/gen-libm-test.pl (%beautify): Add snan_value.
5799         (show_exceptions): Add argument $test_snan.
5800         (parse_args): Handle snan_value as non-finite.  Update call to
5801         show_exceptions.
5802         * math/Makefile (libm-test-no-inline-cflags): Add
5803         -fsignaling-nans.
5805 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5807         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
5808         (CFLAGS-oldsendmsg.c): Add rule.
5809         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5810         Correct recvmsg symbol name.
5811         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
5812         Likewise.
5814 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5816         * sysdeps/unix/sysv/linux/Makefile
5817         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
5818         oldsendmmsg.
5819         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
5820         sendmmsg.
5821         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5822         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5823         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5824         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5826         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5827         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5829         Likewise.
5830         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5831         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
5832         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5833         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
5834         iovlen and controllen fields to adjust to POSIX specification.
5835         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5837         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
5838         and change to correct expected type.
5839         (msghdr.msg_controllen): Likewise.
5840         (cmsghdr.cmsg_len): Likewise.
5841         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
5842         expected POSIX assumption about the size.
5843         (msghdr.msg_controllen): Likewise.
5844         (msghdr.__glibc_reserved1): Likewise.
5845         (msghdr.__glibc_reserved2): Likewise.
5846         (cmsghdr.cmsg_len): Likewise.
5847         (cmsghdr.__glibc_reserved1): Likewise.
5848         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
5849         Add ptw-oldrecvmsg and ptw-oldsendmsg.
5850         (CFLAGS-sendmsg.c): Remove rule.
5851         (CFLAGS-recvmsg.c): Likewise.
5852         (CFLAGS-oldsendmsg.c): Add rule.
5853         (CFLAGS-oldrecvmsg.c): Likewise.
5854         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
5855         recvmsg and sendmsg.
5856         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
5857         Likewise.
5858         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
5859         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
5860         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5861         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
5862         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5863         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5864         Likewise.
5865         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5866         Likewise.
5867         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
5868         Likewise.
5869         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
5870         Likewise.
5871         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5872         Likewise.
5873         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5874         Likewise.
5875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
5876         (GLIBC_2.24): Likewise.
5877         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5878         Likewise.
5879         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5880         Likewise.
5881         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5882         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5883         Likewise.
5884         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5885         Likewise.
5886         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5887         Likewise.
5888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
5889         (GLIBC_2.24): Likewise.
5890         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
5891         Likewise.
5892         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
5893         Likewise.
5894         * sysdeps/unix/sysv/linux/Makefile
5895         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
5896         (CFLAGS-sendmsg.c): Add rule.
5897         (CFLAGS-recvmsg.c): Likewise.
5898         (CFLAGS-oldsendmsg.c): Likewise.
5899         (CFLAGS-oldrecvmsg.c): Likewise.
5900         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
5901         initialization.
5902         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5903         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5904         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
5905         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5906         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
5907         iovlen and controllen fields to adjust to POSIX specification.
5908         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
5909         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
5910         added recvmsg and sendmsg.
5911         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5912         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5913         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5914         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5915         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5916         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5917         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5918         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5919         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5920         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5921         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5922         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5924         Likewise.
5925         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5927         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5928         Likewise.
5929         Likewise.
5930         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5931         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5932         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5933         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5934         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5935         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5936         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5937         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5938         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5939         Likewise.
5940         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5941         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5943         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
5944         from auto-generation.
5945         (sendmsg): Likewise.
5946         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
5947         (sendmsg): Likewise.
5948         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
5949         (sendmsg): Likewise.
5950         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
5951         (sendmsg): Likewise.
5952         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
5953         (sendmsg): Likewise.
5954         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
5955         (sendmsg): Likewise.
5956         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
5957         Likewise.
5958         (sendmsg): Likewise.
5959         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
5960         (sendmsg): Likewise.
5961         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5962         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5963         Remove.
5964         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5965         Likewise.
5966         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5967         Undefine.
5968         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5969         Likewise.
5970         * sysdeps/unix/sysv/linux/kernel-features.h
5971         (__ASSUME_SENDMSG_SYSCALL): Define.
5972         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5973         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5974         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5975         Remove.
5976         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5977         Likewise.
5978         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5979         Undefine.
5980         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5981         Likewise.
5982         * sysdeps/unix/sysv/linux/s390/kernel-features.h
5983         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5984         Remove.
5985         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5986         Likewise.
5987         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
5988         Undefine.
5989         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
5990         Likewise.
5991         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5992         (__ASSUME_SENDMSG_SYSCALL): Undefine.
5993         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5994         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5995         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5996         (__ASSUME_RECVMSG_SYSCALL): Likewise.
5997         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5998         (__ASSUME_SENDMSG_SYSCALL): Likewise.
5999         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6001 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6003         * stdlib/gen-tst-strtod-round.c: Add backslash to
6004         compile command in comment.
6005         (printfp): Remove the literal suffix, and define an infinite
6006         value as INF to avoid expansion clash with INFINITY.
6007         (round_str): Remove the literal suffix.
6008         (round_for_all): Likewise, remove the now duplicate ldbl-64
6009         entry, and remove some magic constants.
6011         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6012         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
6013         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6014         (_CONCAT): New macro.
6015         (CONCAT): Likewise.
6016         (CHOOSE_ld): Likewise.
6017         (CHOOSE_f): Likewise.
6018         (CHOOSE_d): Likewise.
6019         (FTYPE_MEMBER): Likewise.
6020         (BOOL_MEMBER): Likewise.
6021         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6022         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6023         (_XNTRY): Likewise.
6024         (XNTRY): Likewise.
6025         (_ENTRY): Likewise.
6026         (ENTRY): Likewise.
6027         (test_exactness): Generate members via macro.
6028         (test_results): Likewise.
6029         (test): Update members.
6030         (TEST): Redefine using new macros.
6031         (INF): New macro.
6032         (fetestmodes): New structure.
6033         (do_test): Refactor to be type generic.
6034         (test_in_one_mode): Refactor duplicate code into
6035         (GEN_ONE_TEST): New macro.
6037         * stdlib/tst-strtod-round-data.h: Regenerate.
6039         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6040         Extend to pass additional arbitrary parameters to
6041         generators.
6043 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6045         [BZ #15479]
6046         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6047         floating-point state after first floating-point operation on
6048         input.  Restore full floating-point state instead of just rounding
6049         mode.
6050         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6051         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6052         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6053         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6054         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6056         [BZ #15479]
6057         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6058         floating-point state after first floating-point operation on
6059         input.  Restore full floating-point state instead of just rounding
6060         mode.
6061         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6062         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6063         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6064         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6065         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6067 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6069         [BZ #19727]
6070         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6071         valid high surrogate.
6072         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6073         of an utf16 surrogate.
6074         * iconv/gconv_simple.c (BODY): Likewise.
6075         * iconvdata/bug-iconv12.c: New file.
6076         * iconvdata/Makefile (tests): Add bug-iconv12.
6078 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6080         [BZ #19726]
6081         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6082         outptrp in case of an illegal input.
6083         * iconv/tst-iconv6.c: New file.
6084         * iconv/Makefile (tests): Add tst-iconv6.
6086 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6088         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6089         an error in case of a value in range of an utf16 low surrogate.
6091 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6093         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6094         an error in case of a value in range of an utf16 low surrogate.
6096 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6098         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6099         Move to ...
6100         * sysdeps/s390/Makefile: ... here.
6101         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6102         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6103         (BRANCH_ON_COUNT): New define.
6104         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6105         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6106         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6107         run on s390-32, too.
6108         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6109         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6110         run on s390-32, too.
6111         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6112         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6113         run on s390-32, too.
6115 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6117         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6118         etf3eh or new vector loop-variant.
6120 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6122         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6123         etf3eh or new vector loop-variant.
6125 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6127         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6128         or new vector loop-variant.
6130 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6132         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6133         Rename to TR_LOOP and usage of tr instead of troo instruction.
6135 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6137         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6138         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6140 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6142         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6143         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6144         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6145         New override define.
6146         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6148 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6150         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6151         * sysdeps/s390/configure.ac: Add test for S390 vector register
6152         support in gcc.
6153         * sysdeps/s390/configure: Regenerated.
6155 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6157         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6158         Install file from $(objpfx)gconv-modules.
6159         ($(objpfx)gconv-modules): Concatenate architecture specific file
6160         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6161         * sysdeps/s390/gconv-modules: New file.
6162         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6163         Deleted.
6164         ($(objpfx)gconv-modules-s390): Deleted.
6165         (sysdeps-gconv-modules): New variable.
6167 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6169         [BZ #15479]
6170         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6171         of immediate operand to rounding instruction.
6172         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6173         Likewise.
6174         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6175         Likewise.
6176         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6177         Likewise.
6179 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6181         * math/libm-test.inc (MIN_EXP): Directly define as
6182         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6184 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6186         * math/libm-test.inc (MANT_DIG): Directly define as
6187         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6189 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6191         * stdlib/gen-tst-strtod-round.c (main):
6192           Change usage to more closely match the generated
6193           output.  Add usage and compilation instructions.
6194           (string_to_fp): Add and use FILE* parameter as
6195           output target.
6196           (print_fp): Likewise.
6197           (round_str): Likewise.
6198           (round_for_all): Likewise.
6199         * stdlib/tst-strtod-round.c (tests): Move into
6200         * stdlib/tst-strtod-round-data.h: New file.
6202 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6204         [BZ #15479]
6205         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6206         (__round): Do not force "inexact" exception.
6207         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6208         variable.
6209         (__round): Do not force "inexact" exception.
6210         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6211         (__roundf): Do not force "inexact" exception.
6212         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6213         (__roundl): Do not force "inexact" exception.
6214         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6215         (__roundl): Do not force "inexact" exception.
6216         * math/libm-test.inc (round_test_data): Do not allow spurious
6217         "inexact" exceptions.
6219         [BZ #15479]
6220         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6221         exception in comment.
6222         (huge): Remove variable.
6223         (__floor): Do not force "inexact" exception.
6224         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6225         "inexact" exception in comment.
6226         (huge): Remove variable.
6227         (__floor): Do not force "inexact" exception.
6228         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6229         exception in comment.
6230         (huge): Remove variable.
6231         (__floorf): Do not force "inexact" exception.
6232         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6233         exception in comment.
6234         (huge): Remove variable.
6235         (__floorl): Do not force "inexact" exception.
6237         [BZ #15479]
6238         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6239         exception in comment.
6240         (huge): Remove variable.
6241         (__ceil): Do not force "inexact" exception.
6242         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6243         "inexact" exception in comment.
6244         (huge): Remove variable.
6245         (__ceil): Do not force "inexact" exception.
6246         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6247         (__ceilf): Do not force "inexact" exception.
6248         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6249         exception in comment.
6250         (huge): Remove variable.
6251         (__ceill): Do not force "inexact" exception.
6253 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6255         * config.h.in (BIND_NOW): New.
6256         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6257         * configure: Regenerated.
6258         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6259         indirect branch via the GOT slot.
6261 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6263         [BZ #19765]
6264         * sysdeps/s390/mempcpy.S: New File.
6265         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6266         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6267         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6268         Add mempcpy variants.
6269         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6270         (memcpy): Adjust to be usable from mempcpy entry point.
6271         (__memcpy_mvcle): Likewise.
6272         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6273         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6274         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6275         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6276         (__memcpy_z10): Likewise.
6277         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6279 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6281         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6282         Remove __GI_ symbol.
6283         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6284         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6285         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6286         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6287         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6288         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6290 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6292         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6293         Use cghi instead of chi to compare 64bit value.
6295 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6297         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6298         Jump to 1MB check before executing mvc-loop.
6300 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6302         [BZ #6527]
6303         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6304         unconditionally.
6305         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6307 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6309         * stdlib/tst-strtod6.c (do_test): Use new type generic
6310         invocation of the test function.
6311         (test): Refactor into ...
6312         (TEST_STRTOD): New macro base function.
6314 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6316         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6317         (TEST_STRTOD): New macro.
6318         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6320 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6322         * stdlib/tst-strtod6.c (do_test): Use new type generic
6323         invocation of the test function.
6324         (test): Refactor into ...
6325         (TEST_STRTOD): New macro base function.
6327 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6329         CVE-2016-4429
6330         [BZ #20112]
6331         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6332         payload.
6334 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6336         [BZ #20111]
6337         * bits/sockaddr.h (_SS_SIZE): Define.
6338         * bits/socket.h (_SS_SIZE): Remove.
6339         (_SS_PADSIZE): Adjust to account for all padding.
6340         (struct sockaddr_storage): Update comment.  Avoid implicit
6341         padding.
6342         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6343         (_SS_PADSIZE): Adjust to account for all padding.
6344         (struct sockaddr_storage): Update comment.  Avoid implicit
6345         padding.
6346         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6347         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6348         (_SS_PADSIZE): Adjust to account for all padding.
6349         (struct sockaddr_storage): Update comment.  Avoid implicit
6350         padding.
6351         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6352         __SS_SIZE is 126 in this version.
6353         * inet/tst-sockaddr.c: New file.
6354         * inet/Makefile (tests): Add tst-sockaddr.c
6355         (tst-sockaddr.c): Compile with non-strict aliasing.
6357 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6359         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6360         [XPG3 || XPG4].
6361         (NL_ARGMAX): Also expect for [XPG3].
6362         (NL_LANGMAX): Likewise.
6363         (NL_MSGMAX): Likewise.
6364         (NL_NMAX): Likewise.
6365         (NL_SETMAX): Likewise.
6366         (NL_TEXTMAX): Likewise.
6367         (NZERO): Likewise.
6368         (TMP_MAX): Likewise.
6369         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6370         variable.
6372         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6373         (PF_MAX): Update value.
6374         (AF_KCM): New macro.
6375         (SOL_NETBEUI): Likewise.
6376         (SOL_LLC): Likewise.
6377         (SOL_DCCP): Likewise.
6378         (SOL_NETLINK): Likewise.
6379         (SOL_TIPC): Likewise.
6380         (SOL_RXRPC): Likewise.
6381         (SOL_PPPOL2TP): Likewise.
6382         (SOL_BLUETOOTH): Likewise.
6383         (SOL_PNPIPE): Likewise.
6384         (SOL_RDS): Likewise.
6385         (SOL_IUCV): Likewise.
6386         (SOL_CAIF): Likewise.
6387         (SOL_ALG): Likewise.
6388         (SOL_NFC): Likewise.
6389         (SOL_KCM): Likewise.
6390         (MSG_BATCH): New enum value and macro.
6392 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6394         [BZ #18185]
6395         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6396         sharing L2 cache to 2 for Knights Landing.
6398 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6400         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6401         (FTW_DP): Do not expect for [XPG3 || XPG4].
6402         (FTW_SL): Do not expect for [XPG3].
6403         (FTW_SLN): Likewise.
6404         (FTW_PHYS): Likewise.
6405         (FTW_MOUNT): Likewise.
6406         (FTW_DEPTH): Likewise.
6407         (FTW_CHDIR): Likewise.
6408         (nftw): Likewise.
6409         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6410         variable.
6412 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6414         * manual/errno.texi: Fix various typos & grammar errors.
6416 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6418         * manual/intro.texi: Fix duplicated typo.
6420 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6422         [BZ #13304]
6423         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6424         <float.h>, <math_private.h> and <stdlib.h>.
6425         (add_split): New function.
6426         (mul_split): Likewise.
6427         (ext_val): New typedef.
6428         (store_ext_val): New function.
6429         (mul_ext_val): New function.
6430         (compare): New function.
6431         (add_split_ext): New function.
6432         (__fmal): After checking for Inf, NaN and zero, compute result as
6433         an exact sum of scaled double values in round-to-nearest before
6434         adding those up and adjusting for other rounding modes.
6435         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6436         tests of fma.
6437         * math/auto-libm-test-out: Regenerated.
6439 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6441         [BZ #20119]
6442         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6443         processor level type mask for CPUID with EAX == 11.
6445 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6447         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6448         logical threads if the HTT bit is 0.
6449         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6450         (index_cpu_HTT): Likewise.
6451         (reg_HTT): Likewise.
6453 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6455         [BZ #20115]
6456         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6457         Remove alignments on jump targets.
6459 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6461         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6462         (getpwent): Likewise.
6463         (setpwent): Likewise.
6464         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6465         variable.
6467         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6468         (remque): Likewise.
6469         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6470         variable.
6472 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6474         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6475         not being tested.
6477 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6479         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6480         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6481         call.
6482         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6483         (__condvar_cleanup1): Likewise.
6485 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6487         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6488         New
6489         (__pthread_unwind): Renamed to ...
6490         (PTHREAD_UNWIND): This.
6491         (__pthread_enable_asynccancel): Replace
6492         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6494 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6496         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6497         (CLONE_NEWCGROUP): New macro.
6499         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6500         (Q_GETNEXTQUOTA): New macro.
6502 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6504         [BZ #19907]
6505         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6506         buffer updated by the previous run.
6507         * string/test-memcpy.c (do_one_test): Likewise.
6508         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6509         * string/test-memmove.c (do_one_test): Likewise.
6511 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6513         [BZ #20094]
6514         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6515         not [__USE_XOPEN].
6516         (unlockpt): Likewise.
6517         (ptsname): Likewise.
6518         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6519         variable.
6521         [BZ #20076]
6522         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6523         instead of [__USE_UNIX98].
6524         (S_ISSOCK): Likewise.
6525         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6526         variable.
6528         [BZ #20074]
6529         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6530         [__USE_POSIX].
6531         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6532         variable.
6534         [BZ #20051]
6535         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
6536         (ttyslot): Do not declare.
6537         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
6538         (ttyslot): New prototype.
6539         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
6540         variable.
6541         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
6543 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6545         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
6547 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6549         Fix race condition in tst-mallocfork2, use fewer resources.
6550         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
6551         to current process group.
6552         (signal_sender): Yield in the non-sleeping case.
6554 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
6556         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
6557         (ecvt): Likewise.
6558         (fcvt): Likewise.
6559         (gcvt): Likewise.
6560         (getsubopt): Likewise.
6561         (grantpt): Likewise.
6562         (initstate): Likewise.
6563         (l64a): Likewise.
6564         (mktemp): Likewise.
6565         (mkstemp): Likewise.
6566         (ptsname): Likewise.
6567         (random): Likewise.
6568         (realpath): Likewise.
6569         (setstate): Likewise.
6570         (srandom): Likewise.
6571         (ttyslot): Likewise.
6572         (unlockpt): Likewise.
6573         (valloc): Likewise.
6575         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
6576         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
6577         variable.
6579 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6581         [BZ #20072]
6582         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
6583         init_cpu_features only if SHARED is defined.
6584         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6586 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6588         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
6589         non-inclusive caches on Intel processors.
6591 2016-05-13  Florian Weimer  <fweimer@redhat.com>
6593         * malloc/malloc.c (dumped_main_arena_start)
6594         (dumped_main_arena_end): New variables.
6595         (DUMPED_MAIN_ARENA_CHUNK): New macro.
6596         (do_check_chunk): Skip dumped fake mmapped chunks.
6597         (munmap_chunk): Likewise.
6598         (__libc_free): Do not adjust statistics for fake mmapped chunks.
6599         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
6600         mmapped chunks.
6601         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
6602         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
6603         and dumped_main_arena_end to cover the dumped heap.
6605 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
6607         * conform/data/time.h-data (getdate_err): Do not expect for
6608         [XPG3].
6609         (getdate): Likewise.
6610         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
6611         variable.
6613         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
6614         (F_ULOCK): Likewise.
6615         (F_TEST): Likewise.
6616         (F_TLOCK): Likewise.
6617         (useconds_t): Likewise.
6618         (intptr_t): Do not expect for [XPG3] or [XPG4].
6619         (brk): Do not expect for [XPG3]
6620         (fchown): Likewise.
6621         (fchdir): Likewise.
6622         (ftruncate): Likewise.
6623         (getdtablesize): Likewise.
6624         (gethostid): Likewise.
6625         (getpagesize): Likewise.
6626         (getpgid): Likewise.
6627         (getsid): Likewise.
6628         (getwd): Likewise.
6629         (lchown): Likewise.
6630         (lockf): Likewise.
6631         (readlink): Likewise.
6632         (sbrk): Likewise.
6633         (setpgrp): Likewise.
6634         (setregid): Likewise.
6635         (setreuid): Likewise.
6636         (symlink): Likewise.
6637         (sync): Likewise.
6638         (truncate): Likewise.
6639         (ualarm): Likewise.
6640         (usleep): Likewise.
6641         (vfork): Likewise.
6642         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
6643         variable.
6645         [BZ #20054]
6646         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
6647         not [__USE_UNIX98].
6648         * conform/data/unistd.h-data (gethostname): Do not expect for
6649         [XPG3].
6651         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
6652         [!POSIX] (S_IFBLK): Likewise.
6653         [!POSIX] (S_IFCHR): Likewise.
6654         [!POSIX] (S_IFIFO): Likewise.
6655         [!POSIX] (S_IFREG): Likewise.
6656         [!POSIX] (S_IFDIR): Likewise.
6657         [!POSIX] (S_IFLNK): Likewise.
6658         [!POSIX] (S_IFSOCK): Likewise.
6659         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
6660         variable.
6661         (test-xfail-XPG4/fcntl.h/conform): Likewise.
6663 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
6665         * sysdeps/aarch64/memset.S (__memset):
6666         Rewrite of optimized memset.
6668 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6670         [BZ #19703]
6671         Partially async-signal-safe fork for single-threaded processes.
6672         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
6673         variable.  Do not acquire and reset/release malloc and libio locks
6674         in single-threaded processes.
6675         * malloc/tst-mallocfork2.c: New file.
6676         * malloc/Makefile (tests): Add it.
6678 2016-05-12  Florian Weimer  <fweimer@redhat.com>
6680         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
6681         argument.  Use scratch buffer instead of extend_alloca.
6682         (gethosts): Use scratch buffer instead of extend_alloca.
6683         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
6684         extend_alloca.
6685         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
6687 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
6689         [BZ #20055]
6690         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
6691         instead of [__USE_UNIX98].
6692         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
6693         [__USE_UNIX98].
6694         * conform/data/termios.h-data (tcgetsid): Do not expect for
6695         [XPG3].
6696         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
6697         variable.
6698         (test-xfail-XPG4/termios.h/conform): Likewise.
6700 2016-05-11  Florian Weimer  <fweimer@redhat.com>
6702         Do not use mcheck in localedef.
6703         * locale/programs/localedef.c (turn_on_mcheck)
6704         (__malloc_initialize_hook): Remove.
6706 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6708         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
6709         * sysdeps/s390/s390-64/Makefile: Likewise.
6711 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
6713         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
6714         Remove ifunc-defines.sym.
6715         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
6716         Likewise.
6717         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
6718         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
6719         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
6720         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
6721         rtld-global-offsets.sym.
6722         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
6723         * sysdeps/x86/cpu-features-offsets.sym: This.
6724         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
6725         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
6727 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
6729         [BZ #20073]
6730         * io/sys/stat.h (fchmod): Declare for
6731         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
6732         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
6733         variable.
6735         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
6736         [XPG3] (S_IFSOCK): Likewise.
6737         [XPG3] (S_ISVTX): Likewise.
6738         [XPG3] (S_ISLNK): Likewise.
6739         [XPG3] (S_ISSOCK): Likewise.
6740         [XPG3] (fchmod): Likewise.
6741         [XPG3] (lstat): Likewise.
6742         [XPG3] (mknod): Likewise.
6744         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
6745         [XPG3].  Expect type long and XFAIL for [XPG4].
6746         (st_blocks): Likewise.
6748         [BZ #20044]
6749         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
6750         (pthread_atfork): New prototype.
6751         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
6752         variable.
6754         [BZ #20043]
6755         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
6756         prototype.
6758 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6760         [BZ #20017]
6761         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
6762         gmtime.
6764 2016-05-10  Florian Weimer  <fweimer@redhat.com>
6766         [BZ #19994]
6767         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
6768         flag in _res.options.
6770 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
6772         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
6773         [XPG3 || XPG4].
6774         (blksize_t): Likewise.
6775         (clockid_t): Likewise.
6776         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
6777         variable.
6778         (test-xfail-XPG4/sys/types.h/conform): Likewise.
6780 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
6782         * sysdeps/unix/sysv/linux/s390/init-first.c:
6783         Add VDSO_SYMBOL(getcpu).
6784         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
6785         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
6786         Add VDSO_SYMBOL(getcpu).
6787         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
6788         New define HAVE_GETCPU_VSYSCALL.
6789         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6791 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
6793         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
6794         instead of <sysdeps/x86_64/cacheinfo.c>.
6795         * sysdeps/x86_64/cacheinfo.c: Moved to ...
6796         * sysdeps/x86/cacheinfo.c: Here.
6798 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6800         * malloc/malloc-internal.h: Adjust header file guard.
6802 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6804         [BZ #19787]
6805         * inet/getnameinfo.c (check_sprintf_result): New function.
6806         (CHECKED_SNPRINTF): New macro.
6807         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
6808         to the host buffer.
6809         (gni_host_local): Use checked_copy to copy the host name.
6810         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
6811         (gni_serv_local): Use checked_copy to copy the service name.
6812         (getnameinfo): Remove unnecessary truncation of result buffers.
6814 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6816         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
6817         in case of inet_ntop failure.
6819 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6821         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
6822         avoid long lines.
6823         (gni_host_inet_numeric): Likewise.  Reduce scope of local
6824         variables.
6825         (gni_host_inet, gni_host_local): Add comment.
6826         (gni_host): Add comment.  Use temporary to avoid long lines.
6828 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6830         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
6831         registers specifiers where general purpose registers specifiers should
6832         have been used.
6834 2016-05-04  Florian Weimer  <fweimer@redhat.com>
6836         [BZ #19779]
6837         CVE-2016-1234
6838         Avoid copying names of directory entries.
6839         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
6840         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
6841         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
6842         (struct readdir_result): New type.
6843         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
6844         (GL_READDIR): New macros.
6845         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
6846         (convert_dirent, convert_dirent64): New functions.
6847         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
6848         convert_dirent64.  Adjust references to the readdir result.
6849         * sysdeps/unix/sysv/linux/i386/glob64.c:
6850         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
6851         * posix/bug-glob2.c (LONG_NAME): Define.
6852         (filesystem): Add LONG_NAME.
6853         (my_DIR): Increase the size of room_for_dirent.
6855 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
6857         [BZ #20041]
6858         * misc/sys/select.h (__need_timespec): Only define if
6859         [__USE_XOPEN2K].
6860         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
6861         variable.
6862         (test-xfail-XPG4/utmpx.h/conform): Likewise.
6863         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
6864         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
6866 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6867             Segher Boessenkool  <segher@gcc.gnu.org>
6869         [BZ #20004]
6870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
6871         (__novec_swapcontext): Add missing load.
6873 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
6875         [BZ #20023]
6876         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
6877         <time.h>.
6878         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
6879         variable.
6880         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
6882 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
6885         flags CLONE_VM compare.
6887 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6889         [BZ #20031]
6890         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
6891         completely empty.
6893 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6895         [BZ #19573]
6896         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
6897         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
6898         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
6899         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
6900         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
6901         (hesiod_free_list): Mark as hidden.
6902         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
6903         res_set, res_get.
6904         * hesiod/hesiod.c: Remove unnecessary forward declarations.
6905         (init, __hesiod_res_get, __hesiod_res_set): Remove.
6906         (hesiod_init): Remove obsolete res_ninit call.
6907         (hesiod_end): Do not free resolver state.  Do not invoke callback.
6908         (hesiod_bind): Do not call init.
6909         (get_txt_records): Use res_mkquery, res_send instead of
6910         res_nmkquery, res_nsend.
6911         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
6912         instead of _nss_hesiod_init.
6913         (_nss_hesiod_initgroups_dyn): Likewise.
6914         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
6915         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
6916         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
6918 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6920         * hesiod/hesiod_p.h (DEF_RHS): Remove.
6921         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
6923 2016-05-02  Florian Weimer  <fweimer@redhat.com>
6925         * hesiod/hesiod.h: Remove RCS keyword.
6926         * hesiod/hesiod_p.h: Likewise.
6928         * hesiod/hesiod.c: Likewise.
6930 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
6932         [BZ #12450]
6933         * locale/iso-639.def: Add Samogitian/sgs.
6935 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
6937         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
6939         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
6941 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
6942             Carlos O'Donell  <carlos@redhat.com>
6944         [BZ #19072]
6945         * grp/Makefile (headers): Add grp-merge.h
6946         (routines): Add grp-merge.
6947         * grp/getgrgid_r.c: Include grp-merge.h.
6948         (DEEPCOPY_FN): Define.
6949         (MERGE_FN): Define.
6950         * grp/getgrname_r.c: Include grp-merge.h.
6951         (DEEPCOPY_FN): Define.
6952         (MERGE_FN): Define.
6953         * grp/grp-merge.c: New file.
6954         * grp/grp-merge.h: New file.
6955         * include/grp-merge.h: New file.
6956         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
6957         __copy_grp@GLIBC_PRIVATE.
6958         * manual/nss.texi (Actions in the NSS configuration): Describe
6959         return, continue, and merge.
6960         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
6961         (DEEPCOPY_FN): Define.
6962         (MERGE_FN): Define.
6963         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
6964         (DEEPCOPY_FN): Define.
6965         (MERGE_FN): Define.
6966         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
6967         [!MERGE_FN]: Define __merge_einval.
6968         (CHECK_MERGE): Define.
6969         (REENTRANT_NAME): Process merge if do_merge is true.
6970         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
6971         (__nss_getent_r): Likewise.
6972         * nss/nsswitch.c (nss_parse_service_list): Likewise.
6973         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
6975 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6977         [BZ #20012]
6978         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
6979         length to calculate the buffer to read.
6980         (fmemopen_write): Set the buffer position based on bytes written.
6981         (fmemopen_seek): Return EINVAL for invalid whence modes.
6983         [BZ #19957]
6984         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
6985         tst-getpid2.
6986         (test): Add tst-clone2.
6987         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
6988         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
6989         pid/tid fields for CLONE_VM.
6990         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6991         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6992         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6993         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
6994         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6995         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6996         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6997         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6999         Likewise.
7000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7001         Likewise.
7002         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7003         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7004         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7005         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7006         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7007         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7008         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7009         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7011 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7013         [BZ #19642]
7014         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7015         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7016         (gni_serv_local, gni_serv): New functions extracted from
7017         getnameinfo.
7018         (getnameinfo): Call gni_host and gni_serv to perform the
7019         processing.  Always free scratch buffer.
7021 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7023         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7024         remaining bytes in the dest string, with zeros.
7026 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7028         [BZ #20010]
7029         CVE-2016-3706
7030         * sysdeps/posix/getaddrinfo.c
7031         (convert_hostent_to_gaih_addrtuple): New function.
7032         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7033         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7034         AF_INET data.
7036 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7038         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7039         callback function gl_readdir.
7040         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7041         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7042         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7043         memcpy to copy the name.
7044         * manual/pattern.texi (Calling Glob): Document requirements for
7045         implementations of the gl_readdir callback function.
7046         * manual/examples/mkdirent.c: New example.
7047         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7048         per the manual guidance.
7049         * posix/tst-gnuglob.c (my_readdir): Likewise.
7051 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7053         [BZ #20014]
7054         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7055         not [__USE_POSIX].
7056         (getchar_unlocked): Likewise.
7057         (putc_unlocked): Likewise.
7058         (putchar_unlocked): Likewise.
7059         (flockfile): Likewise.
7060         (ftrylockfile): Likewise.
7061         (funlockfile): Likewise.
7062         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7063         variable.
7064         (test-xfail-XPG4/stdio.h/conform): Likewise.
7066         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7067         Expect constant.
7068         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7069         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7070         variable.
7071         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7072         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7074         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7075         [__USE_LARGEFILE64] (off64_t): Likewise.
7076         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7077         variable.
7079 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7081         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7083 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7085         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7086         * resolv/res_init.c: Likewise.
7087         * resolv/res_mkquery.c: Likewise.
7089 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7091         * resolv/res_init.c (isascii): Do not define.  Use definition in
7092         <ctype.h>.
7093         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7094         (LOG_AUTH): Remove.
7095         (SPRINTF): Remove, adjust caller.
7096         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7098 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7100         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7101         SUNSECURITY conditional.
7102         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7104 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7106         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7107         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7108         Remove BSD-related preprocessor conditionals.
7109         * conf/portability.h: Remove.
7111 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7113         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7114         * resolv/res_data.c: Likewise.
7116 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7118         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7119         * resolv/res_data.c: Remove code conditional on ultrix.
7121 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7123         * resolv/res_init.c (RFC1535): Do not define.  Remove
7124         RFC1535 preprocessor conditionals.
7125         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7126         because there configuration options which make the resolver
7127         behavior different.
7129 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7131         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7132         RESOLVSORT preprocessor conditionals.
7133         * resolv/nss_dns/dns-host.c: Likewise.
7134         * resolv/res_init.c: Likewise.
7136 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7138         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7139         is never defined.
7141 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7143         * inet/inet_lnaof.c: Remove SCSS keyword.
7144         * inet/inet_mkadr.c: Likewise.
7145         * inet/inet_net.c: Likewise.
7146         * inet/inet_netof.c: Likewise.
7147         * inet/rcmd.c: Likewise.
7148         * inet/rexec.c: Likewise.
7149         * inet/ruserpass.c: Likewise.
7151 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7153         * resolv/inet_addr.c: Remove _LIBC conditionals.
7154         * resolv/res_data.c: Likewise.
7155         * resolv/res_init.c: Likewise.
7156         * resolv/res_mkquery.c: Likewise.
7157         * resolv/res_libc.c: Update comment.
7158         * resolv/README: Update.
7160 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7162         * resolv/gethnamaddr.c: Remove SCSS keyword.
7163         * resolv/herror.c: Likewise.
7164         * resolv/inet_addr.c: Likewise.
7165         * resolv/inet_net_ntop.c: Likewise.
7166         * resolv/inet_net_pton.c: Likewise.
7167         * resolv/inet_neta.c: Likewise.
7168         * resolv/inet_ntop.c: Likewise.
7169         * resolv/inet_pton.c: Likewise.
7170         * resolv/ns_date.c: Remove RCS keyword.
7171         * resolv/ns_name.c: Likewise.
7172         * resolv/ns_netint.c: Likewise.
7173         * resolv/ns_parse.c: Likewise.
7174         * resolv/ns_print.c: Likewise.
7175         * resolv/ns_samedomain.c: Likewise.
7176         * resolv/ns_ttl.c: Likewise.
7177         * resolv/nsap_addr.c: Likewise.
7178         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7179         * resolv/res_data.c: Remove RCS keyword.
7180         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7181         * resolv/res_init.c: Likewise.
7182         * resolv/res_mkquery.c: Likewise.
7183         * resolv/res_query.c: Likewise.
7184         * resolv/res_send.c: Likewise.
7186 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7188         * conform/data/stdio.h-data (fdopen): Expect also for
7189         [XPG3 || XPG4].
7191         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7192         (fseeko): Likewise.
7193         (ftello): Likewise.
7194         (ftrylockfile): Likewise.
7195         (funlockfile): Likewise.
7196         (getc_unlocked): Likewise.
7197         (getchar_unlocked): Likewise.
7198         (putc_unlocked): Likewise.
7199         (putchar_unlocked): Likewise.
7201 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7203         [BZ #19868]
7204         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7205         DNS packet syntax checks (which were not needed before).  Skip
7206         over non-PTR records.
7208 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7210         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7211         definition.  Include <stddef.h> instead.
7213 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7215         [BZ #19831]
7216         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7217         function.
7218         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7219         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7221 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7223         [BZ #19862]
7224         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7225         (getanswer_r): Do not call syslog.
7226         (gaih_getanswer_slice): Likewise.
7227         * resolv/gethnamaddr.c (AskedForGot): Remove.
7228         (getanswer): Do not call syslog.
7229         (gethostbyaddr): Likewise.
7231 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7233         * conform/data/signal.h-data (union sigval): Expect also if
7234         [XOPEN2K].
7235         (struct sigevent): Likewise.
7236         (SIGEV_NONE): Likewise.
7237         (SIGEV_SIGNAL): Likewise.
7238         (SIGEV_THREAD): Likewise.
7239         (SIGRTMIN): Likewise.
7240         (SIGRTMAX): Likewise.
7241         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7242         variable.
7243         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7245 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7247         [BZ #19830]
7248         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7249         (gaih_getanswer_slice): Likewise.
7250         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7251         Also check for availability of RR metadata.
7253 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7255         [BZ #19825]
7256         * resolv/res_send.c (send_vc): Remove early *resplen2
7257         initialization.  Set *resplen2 on socket error.  Call
7258         close_and_return_error for other errors.
7260 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7262         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7263         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7264         (SCM_IUCV_TRGCLS): New define.
7266 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7268         [BZ #20005]
7269         * libio/fmemopen.c (fmemopen_write): Update internal position after
7270         write.
7271         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7272         * stdio-common/tst-fmemopen4.c: New file..
7274 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7276         [BZ #19996]
7277         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7278         not [__USE_XOPEN2K].
7279         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7280         variable.
7282         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7283         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7284         variable.
7286         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7287         [__USE_XOPEN2K8].
7288         [__USE_LARGEFILE64] (off64_t): Likewise.
7289         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7290         variable.
7292 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7294         [BZ #19989]
7295         * libio/stdio.h (cuserid): Do not declare if
7296         [__USE_XOPEN2K && !__USE_GNU].
7297         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7298         variable.
7300 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7302         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7303         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7304         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7305         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7306         ifunc'ed strcspn.
7307         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7308         [EALIGN]: Removed.
7309         [END]: Likewise
7310         [STRSPN]: Define instead of the above to control symbol name.
7311         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7312         New file.
7313         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7314         Likewise.
7315         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7316         Likewise.
7317         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7318         Likewise.
7319         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7320         [INITIAL_MASK]: New macro.
7321         [STRCSPN]: Likewise.
7322         [UPDATE_MASK]: Likewise.
7323         [USE_AS_STRCSPN]: Lisewise.
7325 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7327         [BZ #19931]
7328         * stdio-common/tst-vfprintf-width-prec.c: New file.
7329         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7330         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7331         (generated): Add mtrace-related files.
7332         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7333         (tst-%-mem.out): New pattern rule, replaces
7334         tst-printf-bz18872-mem.out.
7335         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7336         specifier, deallocate any previously allocated work buffer.
7338 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7340         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7341         Add nop before __startcontext, add explaining comments.
7343 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7345         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7346         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7347         completely different API.
7349         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7350         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7351         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7352         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7353         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7354         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7355         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7356         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7357         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7358         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7360 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7362         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7364 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7366         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7367         when it is the default of 0.
7369 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7371         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7372         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7373         (sysdep_routines): Add new strcasestr targets.
7374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7375         (__libc_ifunc_impl_list): Likewise.
7376         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7377         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7378         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7379         * sysdeps/powerpc/powerpc64/power8/Makefile:
7380         New file to add strcasestr-ppc64 to sysdep_routines.
7381         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7382         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7384 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7386         * benchtests/Makefile (wcsmbs-benchset): Include only for
7387         native builds and runs.
7388         (LOCALES): Likewise.
7389         (bench-build): Build timing-type here instead of the bench
7390         target.  Generate locale only for native builds.
7391         * benchtests/README: Add note for cross-building.
7393         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7395         * benchtests/README: Update README to include instructions on
7396         using bench-build.
7398         * Makefile.in (bench-build): New target.
7399         * Rules (PHONY): Add bench-build target.
7400         * benchtests/Makefile (bench): Depend on bench-build.
7401         (bench-build): New target.
7403 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7405         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7406         profil_reply_port.
7407         (profile_waiter): Do not initialize profil_reply_port.
7408         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7409         frequency instead of tick length in us.
7411 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7413         [BZ #18712]
7414         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7415         (__old_mempcpy_small): Likewise.
7416         (__old_strcpy_small): Likewise.
7417         (__old_stpcpy_small): Likewise.
7418         (__old_strpbrk_c2): Fix compat symbol name.
7419         (__old_strpbrk_c3): Likewise.
7420         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7421         (__mempcpy_small): Remove.
7422         (__strcpy_small): Remove.
7423         (__stpcpy_small): Remove.
7425 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7427         [BZ #19400]
7428         * locale/iso-639.def: Add the Talossan/tzl language.
7430 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7432         [BZ #16983]
7433         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7434         comment.  Add "ln" to strchr check on postal_fmt.
7436 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7438         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7439         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7440         tel_dom_fmt.
7442 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7444         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7445         (sysdep_routines): Added __strlen_power8.
7446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7447         __strlen_power8 entry.
7448         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7449         Implementation for POWER8.
7450         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7451         for __strlen_power8.
7452         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7453         Implementation for POWER8.
7455 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7457         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7459 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7461         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7462         Goldmont and Airmont processors.
7464 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7466         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7467         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7468         (__STRING2_SMALL_GET32): Remove.
7469         (memset): Remove.
7470         (__memset_1): Remove.
7471         (__memset_gc): Remove.
7472         (__mempcpy): Remove.
7473         (mempcpy): Remove.
7474         (__mempcpy_args): Remove.
7475         (strchr): Remove.
7476         (strcpy): Remove.
7477         (strcpy_args): Remove.
7478         (__stpcpy_args): Remove.
7479         (__strcmp_cc): Remove.
7480         (__strcmp_gc): Remove.
7481         (strstr): Remove.
7483 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7485         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7486         * nis/nis_call.c (nis_server_cache_add): Likewise.
7488 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7490         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7492 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7494         * malloc/arena.c (__malloc_fork_lock_parent)
7495         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7496         internal_function attribute.
7498 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7500         * stdio-common/printf_fp.c (__printf_fp_l):
7501         Rename ___printf_fp_l to __printf_fp_l and
7502         remove strong alias. Use libc_hidden_def instead
7503         of ldbl_hidden_def macro.
7505 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7507         Remove malloc hooks from fork handler.  They are no longer needed
7508         because malloc runs right before fork, and no malloc calls from
7509         other fork handlers are not possible anymore.
7510         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7511         declarations.
7512         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7513         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7514         (atfork_recursive_cntr): Remove.
7515         (__malloc_fork_lock_parent): Do not override malloc hooks and
7516         thread_arena.
7517         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7518         thread_arena.
7519         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7520         thread_arena instead of save_arena.
7522 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7524         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7525         (thread_atfork, thread_atfork_static): Remove.
7526         * sysdeps/mach/hurd/malloc-machine.h:
7527         (thread_atfork, thread_atfork_static): Remove.
7529 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7531         [BZ #19431]
7532         Run the malloc fork handler as late as possible to avoid deadlocks.
7533         * malloc/malloc-internal.h: New file.
7534         * malloc/malloc.c: Include it.
7535         * malloc/arena.c (ATFORK_MEM): Remove.
7536         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
7537         Update comment.
7538         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
7539         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
7540         Remove outdated comment.
7541         (ptmalloc_init): Do not call thread_atfork.  Remove
7542         thread_atfork_static.
7543         * malloc/tst-malloc-fork-deadlock.c: New file.
7544         * Makefile (tests): Add tst-malloc-fork-deadlock.
7545         (tst-malloc-fork-deadlock): Link against libpthread.
7546         * manual/memory.texi (Aligned Memory Blocks): Update safety
7547         annotation comments.
7548         * sysdeps/nptl/fork.c (__libc_fork): Call
7549         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7550         __malloc_fork_unlock_child.
7551         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
7553 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7555         [BZ #19613]
7556         Remove union wait.
7557         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
7558         (w_stopsig, w_stopval): Remove.
7559         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
7560         stat_loc argument.
7561         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
7562         (__WAIT_STATUS_DEFN): Remove.
7563         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7564         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
7565         (wait, wait3, wait4): Use int * for the stat_loc argument.
7566         * posix/wait.c (__wait): Likewise.
7567         * posix/wait3.c (__wait3): Likewise.
7568         * posix/wait4.c (__wait4): Likewise.
7569         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
7570         (__WAIT_STATUS_DEFN): Remove.
7571         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
7572         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
7573         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
7574         argument.
7575         * sysdeps/posix/wait.c (__libc_wait): Likewise.
7576         * sysdeps/posix/wait3.c (__wait3): Likewise.
7577         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
7578         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7579         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
7580         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
7581         stat_loc argument.
7582         * manual/process.texi (BSD Wait Functions): Remove union wait.
7584 2016-04-13  Andreas Schwab  <schwab@suse.de>
7586         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
7587         (test-extras): Add tst-tlsalign-vars.
7588         * math/Makefile: Wrap long lines.
7589         (libm-vec-test-wrappers): Define.
7590         (test-extras): Add $(libm-vec-test-wrappers).
7591         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
7592         * nss/Makefile (extra-test-objs): Add nss_test1.os.
7593         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
7594         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
7595         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
7596         (extra-test-objs): Add corresponding objects.
7598 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
7600         [BZ #19928]
7601         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
7602         New.
7603         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
7604         times of shared cache size.
7605         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
7606         (VMOVNT): New.
7607         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
7608         (VMOVNT): Likewise.
7609         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
7610         (VMOVNT): Likewise.
7611         (VMOVU): Changed to movups for smaller code sizes.
7612         (VMOVA): Changed to movaps for smaller code sizes.
7613         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
7614         comments.
7615         (PREFETCH): New.
7616         (PREFETCH_SIZE): Likewise.
7617         (PREFETCHED_LOAD_SIZE): Likewise.
7618         (PREFETCH_ONE_SET): Likewise.
7619         Rewrite to use forward and backward loops, which move 4 vector
7620         registers at a time, to support overlapping addresses and use
7621         non temporal store if size is above the threshold and there is
7622         no overlap between destination and source.
7624 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
7626         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
7627         Include dl-vdso.
7628         * sysdeps/unix/sysv/linux/mips/Versions: Add
7629         __vdso_clock_gettime.
7630         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
7631         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
7632         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
7633         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
7634         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
7635         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
7636         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7637         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
7638         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
7640 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7642         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
7643         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
7644         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7645         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7646         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7647         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7650         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
7651         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
7652         syscalls generation.
7653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7654         [__NR_pwrite64] (__NR_write): Remove define.
7655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7656         [__NR_pwrite64] (__NR_write): Remove define.
7657         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
7658         Remove define.
7659         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
7660         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
7661         Remove define.
7662         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
7663         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
7664         Linux implementation as base.
7665         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7667         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
7668         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
7669         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7670         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
7672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7673         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
7674         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
7675         syscall generation.
7676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7677         [__NR_pread64] (__NR_pread): Remove define.
7678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
7679         [__NR_pread64] (__NR_pread): Likewise.
7680         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
7681         define.
7682         (__libc_pread): Use SYSCALL_LL macro on offset argument.
7683         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
7684         Remove define.
7685         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
7686         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
7687         Linux implementation as base.
7688         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7689         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7690         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7692         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
7693         definition.
7694         (__ALIGNMENT_COUNT): Likewise.
7695         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
7696         (__ALIGNMENT_COUNT): Likewise.
7697         (SYSCALL_LL): New define.
7698         (SYSCALL_LL64): Likewise.
7699         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
7700         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
7701         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
7702         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
7704         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7705         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
7706         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7707         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7708         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7709         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
7711 2016-04-11  Florian Weimer  <fweimer@redhat.com>
7713         [BZ #19865]
7714         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
7715         original buffer before retry.
7717 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7719         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
7720         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
7721         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
7722         GLRO(dl_auxv) list.
7723         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
7724         including <ldsodefs.h>.
7725         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
7727 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
7729         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
7730         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
7731         $(CPPFLAGS).
7733 2016-04-09  Khem Raj  <raj.khem@gmail.com>
7735         [BZ #17950]
7736         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
7737         Add -mfpmath=387.
7739 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
7741         * sysdeps/i386/configure.ac: Change == to = when calling test.
7742         * sysdeps/x86_64/configure.ac: Likewise.
7743         * sysdeps/i386/configure: Regenerated.
7744         * sysdeps/x86_64/configure: Likewise.
7746 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
7748         [BZ #16137]
7749         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
7750         * benchtests/bench-strcoll.c (input_files): Likewise.
7751         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
7752         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
7753         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
7755 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
7757         [BZ #19929]
7758         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
7759         [__USE_XOPEN2K8 && !__USE_GNU].
7760         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
7761         variable.
7763         [BZ #19925]
7764         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
7765         define if [!__USE_MISC && __USE_XOPEN2K].
7766         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
7767         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
7768         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
7769         Likewise.
7770         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
7771         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
7772         variable.
7773         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7775 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7777         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7778         (sysdep_routines): Add new strspn targets.
7779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7780         (__libc_ifunc_impl_list): Add strspn.
7781         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7782         New file.
7783         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
7784         Likewise.
7785         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
7786         Likewise.
7787         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7788         Likewise.
7790 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7792         * misc/hsearch_r.c: Include <limits.h>.
7794 2016-04-07  Florian Weimer  <fweimer@redhat.com>
7796         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
7798 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7800         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7801         (MEMCPY_SYMBOL): New.
7802         (MEMPCPY_SYMBOL): Likewise.
7803         (MEMMOVE_CHK_SYMBOL): Likewise.
7804         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
7805         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
7806         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
7807         Provide alias for memcpy in libc.a and ld.so.
7809 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7811         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7812         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
7813         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
7814         Disabled fro now.
7815         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
7816         symbols.  Properly check USE_MULTIARCH on __memset symbols.
7818 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
7820         * benchtests/Makefile (string-benchset): Add memcpy-large,
7821         memmove-large and memset-large.
7822         * benchtests/bench-memcpy-large.c: New file.
7823         * benchtests/bench-memmove-large.c: Likewise.
7824         * benchtests/bench-memmove-large.c: Likewise.
7825         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
7827 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7829         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
7830         32-bit displacement to avoid long nop between instructions.
7832 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
7834         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
7835         a comment on VMOVU and VMOVA.
7837 2016-04-04  Florian Weimer  <fweimer@redhat.com>
7839         [BZ #19633]
7840         Use specified locale for number formatting in strfmon_l.
7841         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
7842         (__nl_lookup_word): New inline functions.
7843         * include/printf.h (__print_fp_l): Declare.
7844         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
7845         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
7846         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
7847         (___printf_fp): New function.
7848         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
7849         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
7850         * stdlib/tst-strfmon_l.c (do_test): New test.
7851         * stdlib/Makefile (tests): Add kt.
7852         (LOCALES): Build additional locales.
7853         (tst-strfmon_l.out): Require locales.
7855 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7857         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
7858         if not in libc.
7859         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
7860         Likewise.
7861         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
7862         Likewise.
7863         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7864         Likewise.
7866 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
7868         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
7869         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
7870         with unaligned_erms.
7871         (__memmove_erms): Skip if source == destination.
7872         (__memmove_unaligned_erms): Don't check source == destination
7873         first.
7875 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7877         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
7878         bit_arch_Fast_Copy_Backward for Intel Core proessors.
7880 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7882         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
7883         * string/strspn.c (strspn): Likewise.
7885 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7887         * benchtests/bench-memset.c (do_test): Support 64-byte
7888         alignment.
7889         (test_main): Test 64-byte alignment.
7891 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7893         * benchtests/bench-memmove.c (test_main): Test 64-byte
7894         alignment.
7896 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
7898         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
7900 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7902         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
7903         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
7904         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7906         * string/strpbrk.c (strpbrk): Rewrite function.
7907         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
7908         (__strpbrk_c2): Likewise.
7909         (__strpbrk_c3): Likewise.
7910         * string/string-inlines.c
7911         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
7912         Likewise.
7913         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
7914         Likewise.
7916         * string/strspn.c (strcspn): Rewrite function.
7917         * string/bits/string2.h (strspn): Use __builtin_strcspn.
7918         (__strspn_c1): Remove inline function.
7919         (__strspn_c2): Likewise.
7920         (__strspn_c3): Likewise.
7921         * string/string-inlines.c
7922         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
7923         compatibility symbol.
7924         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
7925         Likewise.
7926         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
7927         Likewise.
7928         * string/string-inlines.c: Include generic version.
7930 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
7931             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7933         * string/Version (libc): Add GLIBC_2.24.
7934         * string/strcspn.c (strcspn): Rewrite function.
7935         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
7936         (__strcspn_c1): Remove inline function.
7937         (__strcspn_c2): Likewise.
7938         (__strcspn_c3): Likewise.
7939         * string/string-inline.c
7940         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
7941         compatibility symbol.
7942         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
7943         Likewise.
7944         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
7945         Likewise.
7946         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
7948 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7950         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
7951         Use ahi instead of aghi to adjust stack pointer.
7953 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7955         [BZ #19853]
7956         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
7957         TEST to take significant digits as second parameter.
7958         [TEST]: Redefine in terms of TEST_N taking 30
7959         significant digits.
7960         (do_test): Add test case to demonstrate precision
7961         failure in the ldbl-128ibm printf.
7962         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
7963         (__mpn_extract_long_double): Carry 7 extra intermediate
7964         bits of precision to aide computing difference when
7965         signs differ.
7967 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7969         [BZ #19881]
7970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7971         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
7972         memset-avx512-unaligned-erms.
7973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7974         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
7975         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
7976         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
7977         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
7978         __memset_sse2_unaligned_erms, __memset_erms,
7979         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
7980         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7981         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
7982         file.
7983         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
7984         Likewise.
7985         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
7986         Likewise.
7987         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
7988         Likewise.
7990 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
7992         [BZ #19776]
7993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7994         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
7995         memmove-avx512-unaligned-erms.
7996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7997         (__libc_ifunc_impl_list): Test
7998         __memmove_chk_avx512_unaligned_2,
7999         __memmove_chk_avx512_unaligned_erms,
8000         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8001         __memmove_chk_sse2_unaligned_2,
8002         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
8003         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
8004         __memmove_avx512_unaligned_erms, __memmove_erms,
8005         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
8006         __memcpy_chk_avx512_unaligned_2,
8007         __memcpy_chk_avx512_unaligned_erms,
8008         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8009         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8010         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8011         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8012         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8013         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8014         __mempcpy_chk_avx512_unaligned_erms,
8015         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8016         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8017         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8018         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8019         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8020         __mempcpy_erms.
8021         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8022         file.
8023         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8024         Likwise.
8025         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8026         Likwise.
8027         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8028         Likwise.
8030 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8032         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8033         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8034         (La_s390_64_regs): Likewise.
8035         (La_s390_32_retval): Append vector register lrv_v24.
8036         (La_s390_64_retval): Likeweise.
8037         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8038         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8039         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8040         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8042 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8044         [BZ #19916]
8045         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8046         to create a non-vector/vector version for _dl_runtime_resolve and
8047         _dl_runtime_profile. Move implementation to ...
8048         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8049         (_dl_runtime_resolve) Save and restore fpr/vrs.
8050         (_dl_runtime_profile) Save and restore vrs and fix some issues
8051         if _dl_call_pltexit is called.
8052         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8053         Choose the correct resolver function if running on a machine with vx.
8054         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8055         to create a non-vector/vector version for _dl_runtime_resolve and
8056         _dl_runtime_profile. Move implementation to ...
8057         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8058         (_dl_runtime_resolve) Save and restore fpr/vrs.
8059         (_dl_runtime_profile) Save and restore vrs and fix some issues
8060         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8061         Choose the correct resolver function if running on a machine with vx.
8063 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8065         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8067 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8069         [BZ #19509]
8070         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8071         skip_map != NULL.
8072         * elf/tst-dlsym-error.c: New file.
8073         * elf/Makefile (tests): Add tst-dlsym-error.
8074         (tst-dlsym-error): Link against libdl.
8076 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8078         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8079         (__ASSUME_FUTIMESAT): Remove macro.
8080         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8082 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8084         [BZ #19879]
8085         CVE-2016-3075
8086         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8087         copy name.
8089 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8091         [BZ #19837]
8092         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8093         error if parse_line fails.
8095 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8097         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8098         (index_cpu_ERMS): Likewise.
8099         (reg_ERMS): Likewise.
8101 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8103         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8104         PER_LINUX_FDPIC): Add.
8106 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8108         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8109         memcpy-avx512-no-vzeroupper.
8110         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8111         to ...
8112         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8113         (MEMCPY): Don't define.
8114         (MEMCPY_CHK): Likewise.
8115         (MEMPCPY): Likewise.
8116         (MEMPCPY_CHK): Likewise.
8117         (MEMPCPY_CHK): Renamed to ...
8118         (__mempcpy_chk_avx512_no_vzeroupper): This.
8119         (MEMPCPY_CHK): Renamed to ...
8120         (__mempcpy_chk_avx512_no_vzeroupper): This.
8121         (MEMCPY_CHK): Renamed to ...
8122         (__memmove_chk_avx512_no_vzeroupper): This.
8123         (MEMCPY): Renamed to ...
8124         (__memmove_avx512_no_vzeroupper): This.
8125         (__memcpy_avx512_no_vzeroupper): New alias.
8126         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8128 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8130         [BZ #18858]
8131         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8132         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8133         and mempcpy-avx512-no-vzeroupper.
8134         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8135         New.
8136         (MEMPCPY): Likewise.
8137         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8138         (MEMPCPY_CHK): New.
8139         (MEMPCPY): Likewise.
8140         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8141         (MEMPCPY): Likewise.
8142         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8143         (MEMPCPY): Likewise.
8144         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8145         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8146         Likewise.
8147         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8148         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8150 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8151              Amit Pawar  <Amit.Pawar@amd.com>
8153         [BZ #19583]
8154         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8155         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8156         processors.  Set Fast_Copy_Backward for AMD Excavator
8157         processors.
8158         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8159         New.
8160         (index_arch_Fast_Unaligned_Copy): Likewise.
8161         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8162         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8164 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8166         [BZ #19791]
8167         * resolv/res_send.c (close_and_return_error): New function.
8168         (send_dg): Initialize *resplen2 after reopen failure.  Call
8169         close_and_return_error for error returns.  On error paths without
8170         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8171         successful return.
8173 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8175         [BZ# 19860]
8176         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8177         zero if the compiler does not provide the AVX512F bit.
8179 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8181         [BZ #19848]
8182         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8183         from 8 to 4.
8184         (__ieee754_powl): Compare integer exponent against 4 not 8.
8185         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8186         from 8 to 4.
8187         (__ieee754_powl): Compare integer exponent against 4 not 8.
8188         * math/auto-libm-test-in: Add more tests of pow.
8189         * math/auto-libm-test-out: Regenerated.
8190         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8193 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8195         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8196         Make code unconditional.
8197         [!__NR_utimensat]: Remove conditional code.
8198         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8199         Make code unconditional.
8200         [!__NR_utimensat]: Remove conditional code.
8201         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8202         Make code unconditional.
8203         [!__NR_utimensat]: Remove conditional code.
8205 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8207         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8208         Make code unconditional.
8210 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8212         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8213         call-clobbered %eax on retry path.
8214         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8216 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8218         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8219         Don't set %rcx twice before "rep movsb".
8221 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8223         [BZ #19583]
8224         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8225         inline.  Check family before setting family, model and
8226         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8227         bits here.
8228         (init_cpu_features): Replace HAS_CPU_FEATURE and
8229         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8230         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8231         for Intel processors with usable AVX2.  Call get_common_indeces
8232         for other processors with family == NULL.
8233         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8234         (CPU_FEATURES_ARCH_P): Likewise.
8235         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8236         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8238 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8240         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8241         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8242         $(shared-thread-library) instead of hardcoding the path to libpthread.
8244 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8246         * sysdeps/unix/sysv/linux/kernel-features.h
8247         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8248         * sysdeps/unix/sysv/linux/getdents.c
8249         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8250         [!have_no_getdents64_defined]: Likewise.
8251         (__GETDENTS): Remove __have_no_getdents64 conditional.
8253 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8255         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8256         Remove macro.
8257         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8258         <kernel-features.h>.
8259         (signalfd) [__NR_signalfd4]: Make code unconditional.
8260         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8262 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8264         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8265         style.
8267 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8269         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8270         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8271         __pthread_unwind.
8272         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8273         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8274         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8275         (__condvar_cleanup1): Likewise.
8277 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8279         [BZ #19822]
8280         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8281         move it to the final $@ location.
8283 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8285         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8286         access where posix_spawn success and pid argument is null.
8287         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8288         success case.
8290 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8292         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8294         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8296         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8297         and __fcntl.
8298         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8299         __fcntl only.
8300         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8301         adding attribute_hidden to __open and __fcntl.
8303         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8304         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8305         depend on libc-modules.h,
8306         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8308 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8310         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8311         Remove macro.
8312         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8313         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8314         entry.
8316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8317         Remove macro.
8318         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8319         include <kernel-features.h>.
8320         [!__ASSUME_FALLOCATE]: Remove conditional code.
8321         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8323 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8325         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8326         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8327         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8328         (_ZGVdN4v_cos_avx2): Likewise.
8329         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8330         (_ZGVdN4v_cos): Likewise.
8331         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8332         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8333         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8334         (_ZGVdN4v_exp_avx2): Likewise.
8335         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8336         (_ZGVdN4v_exp): Likewise.
8337         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8338         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8339         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8340         (_ZGVdN4v_log_avx2): Likewise.
8341         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8342         (_ZGVdN4v_log): Likewise.
8343         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8344         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8345         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8346         (_ZGVdN4vv_pow_avx2): Likewise.
8347         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8348         (_ZGVdN4vv_pow): Likewise.
8349         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8350         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8351         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8352         (_ZGVdN4v_sin_avx2): Likewise.
8353         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8354         (_ZGVdN4v_sin): Likewise.
8355         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8356         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8357         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8358         (_ZGVdN4vvv_sincos_avx2): Likewise.
8359         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8360         (_ZGVdN4vvv_sincos): Likewise.
8361         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8362         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8363         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8364         (_ZGVbN4v_cosf_sse4): Likewise.
8365         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8366         (_ZGVdN8v_cosf_avx2): Likewise.
8367         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8368         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8369         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8370         (_ZGVbN4v_expf_sse4): Likewise.
8371         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8372         (_ZGVdN8v_expf_avx2): Likewise.
8373         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8374         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8375         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8376         (_ZGVbN4v_logf_sse4): Likewise.
8377         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8378         (_ZGVdN8v_logf_avx2): Likewise.
8379         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8380         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8381         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8382         (_ZGVbN4vv_powf_sse4): Likewise.
8383         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8384         (_ZGVdN8vv_powf_avx2): Likewise.
8385         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8386         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8387         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8388         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8389         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8390         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8391         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8392         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8393         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8394         (_ZGVbN4v_sinf_sse4): Likewise.
8395         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8396         (_ZGVdN8v_sinf_avx2): Likewise.
8397         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8398         Use JUMPTARGET to call callee.
8399         (WRAPPER_IMPL_SSE2_ff): Likewise.
8400         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8401         (WRAPPER_IMPL_AVX): Likewise.
8402         (WRAPPER_IMPL_AVX_ff): Likewise.
8403         (WRAPPER_IMPL_AVX_fFF): Likewise.
8404         (WRAPPER_IMPL_AVX512): Likewise.
8405         (WRAPPER_IMPL_AVX512_ff): Likewise.
8406         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8407         Likewise.
8408         (WRAPPER_IMPL_SSE2_ff): Likewise.
8409         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8410         (WRAPPER_IMPL_AVX): Likewise.
8411         (WRAPPER_IMPL_AVX_ff): Likewise.
8412         (WRAPPER_IMPL_AVX_fFF): Likewise.
8413         (WRAPPER_IMPL_AVX512): Likewise.
8414         (WRAPPER_IMPL_AVX512_ff): Likewise.
8415         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8417 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8419         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8420         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8421         qualifier.
8422         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8423         internal_function qualifiers.
8425 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8427         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8428         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8429         * math/atest-exp.c (exp_mpn): Mark chk unused.
8430         * math/atest-exp2.c (exp_mpn): Likwise.
8431         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8432         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8434 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8436         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8437         Remove macro.
8438         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8439         <kernel-features.h>.
8440         [__NR_ppoll]: Make code unconditional.
8441         [!__ASSUME_PPOLL]: Remove conditional code.
8443         * sysdeps/unix/sysv/linux/kernel-features.h
8444         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8445         (__ASSUME_ACCEPT4): Likewise.
8446         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8447         Define.
8448         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8449         Likewise.
8450         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8451         Likewise.
8452         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8453         Likewise.
8454         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8455         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8456         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8457         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8458         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8459         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8460         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8461         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8462         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8463         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8464         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8465         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8466         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8467         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8468         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8469         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8470         Likewise.
8471         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8472         Likewise.
8473         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8474         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8475         0x040300].
8476         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8477         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8478         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8479         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8480         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8481         0x030300].
8482         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8483         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8484         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8485         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8486         0x040300].
8487         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8488         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8489         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8490         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8491         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8492         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8493         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8494         0x030300].
8495         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8496         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8497         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8498         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8499         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8500         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8501         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8502         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8503         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8504         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8505         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8506         0x040300].
8507         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8508         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8509         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8510         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8511         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8512         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8513         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8514         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8515         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8516         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8517         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8518         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8519         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8521         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8522         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8523         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8524         Likewise.
8525         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8526         Likewise.
8528 2016-03-15  Andreas Schwab  <schwab@suse.de>
8530         [BZ #19257]
8531         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8532         statp->_u._ext.nscount as loop count.
8534 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
8536         * math/test-signgam-finite-c99.c: Also #undef
8537         __LIBC_INTERNAL_MATH_INLINES.
8538         * math/test-signgam-main.c: Likewise.
8540 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
8542         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
8543         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
8544         (MADV_FREE): Likewise.
8545         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
8546         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
8547         EPOLLEXCLUSIVE.
8549 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
8551         * timezone/README: Remove mention of checktab.awk. Mention wiki
8552         SharedSourceFiles.
8554 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
8556         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
8557         WUNTRACED.
8559 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8561         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
8562         order to match the type of p when calling atomic_exchange_acq().
8564 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8566         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
8567         cfi_offset calls.
8568         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
8569         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
8570         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
8571         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
8572         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
8574 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
8576         * timezone/checktab.awk: Removed.
8578 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
8580         * manual/math.texi (Errors in Math Functions): Document relaxed
8581         accuracy goals for IBM long double.
8582         * math/libm-test.inc (test_exceptions): Always allow spurious
8583         "underflow" and "inexact" exceptions for IBM long double.
8585 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
8587         [BZ #19762]
8588         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8589         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
8590         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
8591         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
8592         (bit_arch_*): This for feature array.
8593         (bit_*): Renamed to ...
8594         (bit_cpu_*): This for cpu array.
8595         (index_*): Renamed to ...
8596         (index_arch_*): This for feature array.
8597         (index_*): Renamed to ...
8598         (index_cpu_*): This for cpu array.
8599         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
8600         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
8601         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
8602         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
8603         bit_##name with index_cpu_##name and bit_cpu_##name.
8604         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
8605         bit_##name with index_arch_##name and bit_arch_##name.
8607 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
8609         [BZ #19792]
8610         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
8611         Terminate FDE before return label.
8613 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
8615         [BZ #19790]
8616         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
8617         (rintl): Define as macro.
8618         [USE_AS_NEARBYINTL] (__rintl): Likewise.
8619         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
8620         of fesetround.  Ensure results are evaluated before end of scope.
8621         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
8622         USE_AS_NEARBYINTL and include s_rintl.c.
8623         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
8624         Disable exception traps in new environment.
8625         (libc_feholdsetround_ppc_ctx): Likewise.
8627 2016-03-08  Roland McGrath  <roland@hack.frob.com>
8629         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
8630         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
8631         (tst_audit10_aux) [__AVX512F__]: ... here.
8633 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
8635         * include/sys/auxv.h: New file.
8637 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8639         [BZ #19759]
8640         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
8642 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8644         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
8645         operand modifier.
8646         (feclearexcept): Likewise.
8648 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8650         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
8651         to reflect the entire 32-bit HWCAP.
8652         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
8653         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
8655 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
8657         [BZ #19783]
8658         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
8659         $(test-via-rtld-prefix).
8660         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
8662 2016-03-08  Florian Weimer  <fweimer@redhat.com>
8664         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
8665         union wait.  Report any non-zero exit status as error.
8667 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8669         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
8670         configured with --enable-hardcoded-path-in-tests.
8672 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
8674         [BZ #19677]
8675         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
8676         (__ieee754_remainderl): Put zero low parts in canonical form.
8677         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
8678         file.  Based on
8679         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
8680         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
8681         with wrapper round test-fmodrem-ldbl-128ibm.c.
8682         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
8683         file.
8684         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
8685         Likewise.
8686         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8687         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
8689 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8691         [BZ #19610]
8692         * elf/ldconfig.c (opt_link): Update comment.
8693         (options): Update help string for option -X.
8694         (search_dir): Unlink stale symbolic link only if updating symbolic
8695         links.
8696         * elf/tst-ldconfig-X.sh: New file.
8697         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
8698         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
8700 2016-03-07  Andreas Schwab  <schwab@suse.de>
8702         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
8703         needed arguments.
8705 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
8707         [BZ #15333]
8708         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
8709         to lstat64.
8711 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8713         * libio/filedoalloc.c (isatty): Remove.
8714         (local_isatty): Add comment.  Call __isatty directly.
8715         (_IO_file_doallocate): Update comment.  Assume _LIBC.
8716         * libio/wfiledoalloc.c (isatty): Remove.
8717         (_IO_wfile_doallocate): Update comment.
8719 2016-03-07  Florian Weimer  <fweimer@redhat.com>
8721         [BZ #19269]
8722         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
8723         tst-audit4-aux.o.
8724         (tst-audit10): Depend on tst-audit10-aux.o.
8725         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
8726         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
8727         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
8728         instead of inline AVX code.
8729         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
8730         instead of inline AVX512 code.
8731         * sysdeps/x86_64/tst-audit4-aux.c: New file
8732         * sysdeps/x86_64/tst-audit10-aux.c: New file
8734         [BZ #19648]
8735         * test-skeleton.c (main): Do not set RLIMIT_DATA.
8737 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8739         [BZ #14750]
8740         [BZ #10354]
8741         [BZ #18433]
8742         * include/sched.h (__clone): Add hidden prototype.
8743         (__clone2): Likewise.
8744         * include/unistd.h (__dup): Likewise.
8745         * posix/Makefile (tests): Add tst-spawn2.
8746         * posix/tst-spawn2.c: New file.
8747         * sysdeps/posix/dup.c (__dup): Add hidden definition.
8748         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
8749         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8750         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8751         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8752         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8753         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
8754         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8755         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
8756         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8757         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8759         Likewise.
8760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8761         Likewise.
8762         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8763         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8764         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8765         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8766         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8767         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8768         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8769         * sysdeps/unix/sysv/linux/nptl-signals.h
8770         (____nptl_is_internal_signal): New function.
8771         * sysdeps/unix/sysv/linux/spawni.c: New file.
8773         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
8774         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
8775         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
8776         * posix/tst-execvp2.c (do_test): Likewise.
8777         * posix/tst-execvp3.c (do_test): Likewise.
8778         * posix/tst-execvp4.c (do_test): Likewise.
8779         * posix/tst-execvpe1.c: New file.
8780         * posix/tst-execvpe2.c: Likewise.
8781         * posix/tst-execvpe3.c: Likewise.
8782         * posix/tst-execvpe4.c: Likewise.
8783         * posix/tst-execvpe5.c: Likewise.
8784         * posix/tst-execvpe6.c: Likewise.
8786         [BZ #19534]
8787         * posix/execl.c (execl): Remove dynamic memory allocation.
8788         * posix/execle.c (execle): Likewise.
8789         * posix/execlp.c (execlp): Likewise.
8791 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8793         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
8794         Replace .text with .text.avx512.
8795         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8796         Likewise.
8798 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
8800         * sysdeps/generic/libnsl.abilist: New file.
8801         * sysdeps/generic/libutil.abilist: New file.
8803 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8805         [BZ #19762]
8806         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
8807         HAS_ARCH_FEATURE with Fast_Rep_String.
8808         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
8809         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
8810         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
8811         Likewise.
8812         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
8813         Likewise.
8814         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
8815         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
8816         Likewise.
8817         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
8818         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
8819         Likewise.
8821 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8823         [BZ #19745]
8824         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
8825         with *%rax in call.
8827 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8829         [BZ #19745]
8830         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
8831         with *__libc_start_main@GOTPCREL(%rip) in call.
8833 2016-03-04  Roland McGrath  <roland@hack.frob.com>
8835         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
8836         inside conditional for nonempty $(CXX).
8838         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
8839         nonempty.
8841         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
8842         to test for empty $(CXX) rather than $(CXX) of "no".
8844 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
8846         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
8848 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
8849             H.J. Lu  <hongjiu.lu@intel.com>
8851         [BZ #18880]
8852         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
8853         instead of Slow_BSF, and also check for Fast_Copy_Backward to
8854         enable __memcpy_ssse3_back.
8856 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8858         [BZ #19758]
8859         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
8860         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
8862 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
8864         [BZ #19490]
8865         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
8866         (__fentry__): Likewise.
8868 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
8870         * gmon/Makefile (noprof): Add $(sysdep_noprof).
8871         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
8873 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8875         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
8876         __mcount_internal directly.
8877         (C_LABEL(__fentry__)): Likewise.
8878         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
8879         directly.
8881 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
8883         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
8884         (__start_context): Call __setcontext directly.
8886 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
8888         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8889         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8890         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
8891         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8892         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8893         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8894         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
8895         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8896         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8897         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
8898         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8899         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8900         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8901         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8902         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8903         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8904         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
8905         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8906         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8907         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
8908         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
8909         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8910         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8911         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
8912         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
8913         Remove conditional code.
8914         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8915         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
8916         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8917         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8918         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
8919         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8920         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
8921         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8922         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
8923         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8924         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8925         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
8927 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
8929         * NEWS (2.23): Fix typo in bug 19048 text.
8931 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
8933         [BZ #14259]
8934         * Makeconfig: Rename msgcatdir to localedir.
8935         Rename inst_msgcatdir to inst_localedir.
8936         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
8937         * config.make.in: Add localedir.
8938         * elf/Makefile ($(objpfx)sotruss): Use localedir.
8939         (ldd-rewrite): Likewise.
8940         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
8941         (install-others): Use inst_localedir.
8942         (CPPFLAGS): Use localedir.
8943         * locale/Makefile (locale-CPPFLAGS): Likewise.
8944         * po/Makefile (mo-installed): Use inst_localedir.
8946         [BZ #19575]
8947         * localedata/charmaps/GB18030: Update comments regarding PAU to
8948         non-PUA mappings.
8950 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
8952         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
8953         test for header.
8954         * sysdeps/unix/sysv/linux/configure: Regenerated.
8955         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
8956         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
8957         Remove conditional code.
8958         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
8960         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
8961         Define to 3.2.0.
8962         (arch_minimum_kernel): Likewise.
8963         * sysdeps/unix/sysv/linux/configure: Regenerated.
8964         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
8965         Define to 2.6.32.
8966         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
8967         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
8968         (arch_minimum_kernel): Define to 2.6.32.
8969         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
8970         * README: Document Linux 3.2 requirement.
8971         * manual/install.texi (Linux): Document Linux 3.2 headers
8972         requirement.
8973         * INSTALL: Regenerated.
8975 2016-02-24  Andreas Schwab  <schwab@suse.de>
8977         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
8978         if !NO_LONG_DOUBLE.
8980 2016-02-22  Roland McGrath  <roland@hack.frob.com>
8982         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
8983         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
8985 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
8987         [BZ #19512]
8988         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
8990 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
8992         * posix/tst-dir.c: Include libc-internal.h.
8994 2016-02-20  Florian Weimer  <fweimer@redhat.com>
8996         [BZ #19056]
8997         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
8998         * manual/filesys.texi (Reading/Closing Directory): Mention
8999         deprecaion.
9000         * posix/tst-dir.c (main): Disable deprecation warning in test.
9002 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
9004         [BZ #19679]
9005         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
9006         Renamed to ...
9007         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
9008         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9009         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
9010         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9011         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9012         * sysdeps/x86_64/dl-trampoline.h
9013         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9014         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9016 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9018         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9020 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9022         * elf/elf.h (R_386_GOT32X): New.
9023         (R_386_NUM): Update.
9024         (R_X86_64_GOTPCRELX: New.
9025         (R_X86_64_REX_GOTPCRELX): New.
9026         (R_X86_64_NUM): Update.
9028 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9030         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9032 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9034         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9035         assign attr->stackaddr to it, and adjust it down when
9036         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9037         [_STACK_GROWS_UP]: Delete assert.
9038         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9039         Implement stack grows up logic.
9040         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9041         stack grows up logic.
9043 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9045         * NEWS: Update with 2.24 template.
9047 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9049         [BZ #19678]
9050         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9051         Ensure +0.0 is returned when taking the next value below the least
9052         positive value.
9054 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9056         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9057         available.  Do not define NO_THREADS.
9058         * malloc/malloc.c: Do not check NO_THREADS.
9059         * malloc/arena.c: Likewise.
9061 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9063         * malloc/malloc.c (__libc_mallinfo): Update comment.
9064         (struct malloc_par): Remove max_total_mem member, it was always 0.
9065         (int_mallinfo): Store 0 into usmblks (no functional change).
9066         * malloc/hooks.c (struct malloc_state): Document that
9067         max_total_mem is always 0.
9068         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9069         always 0.
9070         * manual/memory.texi (Statistics of Malloc): Likewise.
9072 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9074         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9075         * malloc/arena.c (arena_max): Remove.
9076         (heap_trim, _int_new_arena): Do not update arena_max.
9078 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9080         * resolv/res_init.c (res_ninit): Update comment.
9082 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9084         [BZ #19505]
9085         * posix/spawn_int.h: Add headers and include guard.
9086         (__spawn_valid_fd): New function.
9087         * posix/spawn_faction_addopen.c
9088         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9089         * posix/spawn_faction_addclose.c
9090         (posix_spawn_file_actions_addclose): Likewise.
9091         * posix/spawn_faction_adddup2.c
9092         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9093         second file descriptor.
9094         * posix/spawn_valid_fd.c: New file.
9095         * posix/tst-posix_spawn-fd.c: New file.
9096         * posix/Makefile (routines): Add spawn_valid_fd.
9097         (tests): Add tst-posix_spawn-fd.
9099 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9101         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9102         (do_test): Limit the number of arenas, so that we can use fewer
9103         outer threads.  Limit timeout to 3 seconds, in preparation for a
9104         larger TIMEOUT value.
9106 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9108         [BZ #19674]
9109         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9110         sign in overflowing and underflowing results when overflow or
9111         underflow is detected early.  Include sign in result before rather
9112         than after scaling.
9114         [BZ #19603]
9115         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9116         (__ieee754_remainderl): Adjust sign of integer version of low part
9117         when taking absolute value of high part.
9118         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9119         * math/libm-test.inc (remainder_test_data): Add another test.
9120         (remquo_test_data): Likewise.
9122 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9124         [BZ #19602]
9125         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9126         equal high parts and both low parts zero specially.
9127         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9128         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9129         Add test-fmodl-ldbl-128ibm.
9131         [BZ #19595]
9132         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9133         common logic for all cases of shifting subnormal results.  Do not
9134         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9135         exponent to ldbl_insert_mantissa in subnormal case.
9137         [BZ #19594]
9138         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9139         on high and low parts then adjust result and use
9140         ldbl_canonicalize_int if needed.
9142         [BZ #19593]
9143         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9144         on high part and __floor or __ceil on low part then use
9145         ldbl_canonicalize_int if needed.
9147         [BZ #19592]
9148         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9149         high and low parts then use ldbl_canonicalize_int if needed.
9151         [BZ #17899]
9152         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9153         New function.
9154         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9155         on high and low parts then use ldbl_canonicalize_int if needed.
9157 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9159         * configure: Regenerated.
9161         * po/libc.pot: Regenerated.
9163         * po/be.po: Updated translation.
9164         * po/bg.po: Likewise.
9165         * po/ca.po: Likewise.
9166         * po/cs.po: Likewise.
9167         * po/da.po: Likewise.
9168         * po/el.po: Likewise.
9169         * po/eo.po: Likewise.
9170         * po/es.po: Likewise.
9171         * po/fi.po: Likewise.
9172         * po/fr.po: Likewise.
9173         * po/gl.po: Likewise.
9174         * po/hr.po: Likewise.
9175         * po/hu.po: Likewise.
9176         * po/ia.po: Likewise.
9177         * po/id.po: Likewise.
9178         * po/it.po: Likewise.
9179         * po/ja.po: Likewise.
9180         * po/lt.po: Likewise.
9181         * po/nb.po: Likewise.
9182         * po/nl.po: Likewise.
9183         * po/pt_BR.po: Likewise.
9184         * po/rw.po: Likewise.
9185         * po/sk.po: Likewise.
9186         * po/sl.po: Likewise.
9187         * po/sv.po: Likewise.
9188         * po/tr.po: Likewise.
9189         * po/zh_CN.po: Likewise.
9190         * po/zh_TW.po: Likewise.
9192         * version.h (RELEAES): Set to "development".
9193         (VERSION): Set to 2.23.90.
9195         * version.h (RELEASE): Set to "stable".
9196         (VERSION): Set to 2.23.
9197         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9199         * NEWS: Updated fixed bugs.
9201 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9202             Wilco Dijkstra  <wdijkstr@arm.com>
9204         [BZ #19462]
9205         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9206         (_STRING_INLINE_unaligned): This.
9207         * include/string.h: Include <string_private.h>.
9208         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9209         _STRING_INLINE_unaligned.
9210         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9211         (_STRING_INLINE_unaligned): New.
9212         * sysdeps/aarch64/string_private.h: New file.
9213         * sysdeps/generic/string_private.h: Likewise.
9214         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9215         * sysdeps/s390/string_private.h: Likewise.
9216         * sysdeps/x86/string_private.h: Likewise.
9217         * sysdeps/m68k/m680x0/m68020/bits/string.h
9218         (_STRING_ARCH_unaligned): Renamed to ...
9219         (_STRING_INLINE_unaligned): This.
9220         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9221         to ...
9222         (_STRING_INLINE_unaligned): This.
9223         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9224         to ...
9225         (_STRING_INLINE_unaligned): This.
9226         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9227         to ...
9228         (_STRING_INLINE_unaligned): This.
9230 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9231             H.J. Lu  <hongjiu.lu@intel.com>
9233         [BZ #19590]
9234         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9235         relocation.
9237 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9239         [BZ #18665]
9240         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9241         *herrno_p.
9242         (gaih_getanswer): Document functional behviour. Return tryagain
9243         if any result is tryagain.
9244         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9245         when freed.
9246         * resolv/res_send.c: Add copyright text.
9247         (__libc_res_nsend): Document that MAXPACKET is expected.
9248         (send_vc): Document. Remove buffer reuse.
9249         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9250         size of the buffer. Add Dprint for truncated UDP buffer.
9252 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9254         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9255         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9256         * INSTALL: Regenerate.
9258 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9259             Jonathan Wakely  <jwakely@redhat.com>
9260             Carlos O'Donell  <carlos@redhat.com>
9262         [BZ 19439]
9263         * math/Makefile (tests): Add test-math-isinff.
9264         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9265         * math/bits/mathcalls.h [__USE_MISC]: Use
9266         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9267         functions not in C++11 and which don't conflict e.g. isinff,
9268         isinfl etc.
9269         * math/test-math-isinff.cc: New file.
9271 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9273         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9275 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9277         [BZ #19529]
9278         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9280 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9282         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9284 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9286         [BZ #19550]
9287         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9288         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9289         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9290         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9291         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9292         New syscall entry.
9293         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9294         New syscall entry.
9295         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9296         syscall entry.
9298 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9300         [BZ #18240]
9301         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9302         unsigned int wraparound.
9304 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9306         [BZ #18240]
9307         * misc/bug18240.c: New test.
9308         * misc/Makefile (tests): Add it.
9310 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9311             Joseph Myers  <joseph@codesourcery.com>
9313         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9314         load in branch delay slot when less than a word of input left.
9316 2016-01-27  Andreas Schwab  <schwab@suse.de>
9318         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9319         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9320         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9321         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9323 2016-01-26  David S. Miller  <davem@davemloft.net>
9325         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9327 2016-01-25  David S. Miller  <davem@davemloft.net>
9329         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9330         __sqrtl_finite.
9331         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9332         instead using versioned_symbol.
9333         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9334         of entries.
9336         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9337         __sqrtl_finite to GLIBC_2.23
9339 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9341         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9343 2016-01-25  Andreas Schwab  <schwab@suse.de>
9345         [BZ #17514]
9346         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9347         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9348         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9349         * nptl/tst-mutex-errorcheck.c: New file.
9351 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9353         [BZ #18560]
9354         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9355         (IPCOP_semop): Likewise.
9356         (IPCOP_semget): Likewise.
9357         (IPCOP_semctl): Likewise.
9358         (IPCOP_msgsnd): Likewise.
9359         (IPCOP_msgrcv): Likewise.
9360         (IPCOP_msgget): Likewise.
9361         (IPCOP_msgctl): Likewise.
9362         (IPCOP_shmat): Likewise.
9363         (IPCOP_shmdt): Likewise.
9364         (IPCOP_shmget): Likewise.
9365         (IPCOP_shmctl): Likewise.
9367 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9369         * string/tst-endian.c: Include <libc-internal.h>.
9370         (do_test): Ignore tautological-compare warnings around
9371         "htobeXX (beXXtoh (i)) != i" and
9372         "htoleXX (leXXtoh (i)) != i" if-statements.
9374 2016-01-24  David S. Miller  <davem@davemloft.net>
9376         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9377         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9378         alias.
9379         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9380         __sqrtl_finite.
9382         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9384 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9386         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9387         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9388         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9390 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9392         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9393         (thread_func): Use new function to simplify barrier check.
9394         (do_test): Use new function to simplify checking barrier exit
9395         code, and actually join the child thread.
9397 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9399         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9400         semicolon.
9401         (__libc_tend): Likewise.
9402         (__libc_tabort): Likewise.
9404 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9406         * sysdeps/nios2/libm-test-ulps: Update.
9407         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9408         (__gtsf2): Likewise.
9409         (__unorddf2): Likewise.
9410         (__unordsf2): Likewise.
9411         (__ledf2): Likewise.
9413 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9415         * nis/nis_table.c (__follow_path): Disable diagnostic for
9416         uninitialized variable that is a false positive for gcc 4.7.
9417         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9419 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9421         * sysdeps/nacl/lowlevellock-futex.h
9422         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9423         Always evaluate PRIVATE argument.
9425 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9427         [BZ #19490]
9428         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9429         (pthread_cond_broadcast): Use ENTRY/END
9430         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9431         (pthread_cond_signal): Likewise.
9432         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9433         Likewise.
9434         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9435         Likewise.
9436         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9437         Likewise.
9439 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9441         * sysdeps/ieee754/dbl-64/s_finite.c
9442         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9443         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9444         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9445         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9446         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9449         (__gtsf2): Add as optional for libc.so.
9450         (__unordsf2): Likewise.
9451         (__signbit): Remove for libc.so.
9452         (__signbitl): Likewise.
9454 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9456         * iconvdata/bug-iconv11.c (test_ibm93x):
9457         Use %zu printf format specifier for size_t argument.
9459 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9461         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9462         already-recorded ulps.
9463         * sysdeps/arm/libm-test-ulps: Regenerated.
9464         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9465         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9466         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9468 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9469             Paul Pluzhnikov  <ppluzhnikov@google.com>
9471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9472         assembler not supporting AVX-512.
9474 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9476         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9478 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9480         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9481         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9483         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9485         * sysdeps/arm/libm-test-ulps: Regenerated.
9487 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9489         [BZ #19451]
9490         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9492 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9494         [BZ #19486]
9495         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9496         * sysdeps/generic/fix-fp-int-convert-overflow.h
9497         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9498         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9499         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9500         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9501         Likewise.
9502         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9503         Avoid conversions to long int where inexact exceptions
9504         could be raised.
9505         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9506         Likewise.
9507         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9508         Avoid conversions to long long int where inexact exceptions
9509         could be raised.
9510         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9511         Likewise.
9513 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9515         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9516         * configure: Regenerated.
9518 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9520         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9522 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9524         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9525         outside of comment.
9527 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9529         * nptl/tst-barrier1.c: Add description on first line.
9530         * nptl/tst-barrier2.c: Likewise.
9531         * nptl/tst-barrier3.c: Likewise.
9532         * nptl/tst-barrier4.c: Likewise.
9533         * nptl/tst-barrier5.c: Likewise.
9535 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9537         [BZ #18868]
9538         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
9540 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
9543         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
9544         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
9545         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
9546         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
9547         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
9548         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9549         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9550         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9551         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9552         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9554 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9556         [BZ #13065]
9557         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
9558         new implementation.
9559         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
9560         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
9561         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
9562         (BARRIER_IN_THRESHOLD): New macro.
9563         * nptl/pthread_barrierattr_setpshared.c
9564         (pthread_barrierattr_setpshared): Clean up.
9565         * nptl/tst-barrier4.c: Correct comment.
9566         * nptl/tst-barrier5.c: New file.
9567         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
9568         (gen-as-const-headers): Remove lowlevelbarrier.sym.
9569         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
9570         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
9571         * nptl/lowlevelbarrier.sym: Remove.
9572         * nptl/DESIGN-barrier.txt: Remove.
9573         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
9574         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
9575         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
9576         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
9577         error.
9578         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
9579         implementation.
9581 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9583         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
9584         (do_child): Mask SIGRTMIN while thr is running.
9586 2016-01-15  Martin Sebor  <msebor@redhat.com>
9588         [BZ #19432]
9589         * iconvdata/Makefile: Add bug-iconv11.
9590         * iconvdata/bug-iconv11.c: New test.
9591         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
9592         * iconvdata/ibm933.c: Same.
9593         * iconvdata/ibm935.c: Same.
9594         * iconvdata/ibm937.c: Same.
9595         * iconvdata/ibm939.c: Same.
9597 2016-01-15  Martin Sebor  <msebor@redhat.com>
9599         [BZ #19443]
9600         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
9601         [DEBUG] (_ufc_set_bits): Declare used.
9602         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
9603         [DEBUG] (print_all): Declare used.
9604         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
9605         operands of the ternary ?: expression to target type.
9606         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
9607         calling the undeclared abort.
9608         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
9610 2016-01-15  Martin Sebor  <msebor@redhat.com>
9612         [BZ #18755]
9613         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
9614         warnings.
9615         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
9616         (__gai_create_helper_thread): Same.
9617         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
9618         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
9619         to suppress -Wmaybe-uninitialized warnings.
9621 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
9623         [BZ #19465]
9624         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
9625         inside if.
9626         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9627         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9628         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9630 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
9632         [BZ #19466]
9633         * time/tst-mktime2.c (time_t_max): Removed.
9634         (time_t_min): Likewise.
9635         (TYPE_SIGNED): New.
9636         (TYPE_MINIMUM): Likewise.
9637         (TYPE_MAXIMUM): Likewise.
9638         (TIME_T_MIN): Likewise.
9639         (TIME_T_MAX): Likewise.
9640         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
9641         and TIME_T_MIN.
9642         (do_test): Likewise.
9644 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
9646         [BZ #19467]
9647         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
9648         index_Fast_Unaligned_Load flag for Excavator family CPUs.
9650 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
9652         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
9654 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
9656         * benchtests/Makefile (PYTHON): Define.
9657         (bench-func): Use $(PYTHON) to run python scripts.
9658         ($(objpfx)bench-%.c): Likewise.
9660 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
9662         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
9663         leading slash when `file_name' is "/".
9665 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
9667         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
9668         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
9669         Likewise.
9670         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
9671         Likewise.
9672         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
9673         Likewise.
9674         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
9675         enum constant and macro.
9676         (PTRACE_SETSIGMASK): Likewise.
9677         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9678         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9679         (PTRACE_GETSIGMASK): Likewise.
9680         (PTRACE_SETSIGMASK): Likewise.
9681         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9682         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
9683         Likewise.
9684         (PTRACE_SETSIGMASK): Likewise.
9685         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9686         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9687         (PTRACE_GETSIGMASK): Likewise.
9688         (PTRACE_SETSIGMASK): Likewise.
9689         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9690         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
9691         Likewise.
9692         (PTRACE_SETSIGMASK): Likewise.
9693         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9694         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
9695         Likewise.
9696         (PTRACE_SETSIGMASK): Likewise.
9697         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9698         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
9699         Likewise.
9700         (PTRACE_SETSIGMASK): Likewise.
9701         (PTRACE_SECCOMP_GET_FILTER): Likewise.
9703 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
9704             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9706         [BZ #19439]
9707         * math/bits/mathcalls.h
9708         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
9709         prototype.
9710         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
9712 2016-01-11  Andreas Schwab  <schwab@suse.de>
9714         [BZ #19253]
9715         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
9716         cache when TZDEFRULES was used.
9717         * time/tst-tzname.c: New file.
9718         * time/Makefile (test): Add tst-tzname.
9719         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
9720         * timezone/Makefile (test-zones): Add $(posixrules-file).
9721         ($(testdata)/$(posixrules-file)): New rule.
9723 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
9725         Fix doc quoting problems with Texinfo 5
9726         Without this change, in the info file output, Texinfo 5 quotes code
9727         in text with undirected single quotes 'like this' and generates
9728         code examples that with many PDF readers cannot be cut out of PDFs
9729         and pasted into code.
9730         * manual/libc.texinfo: Configure the libc manual like the GNU
9731         Emacs manual, by using @documentencoding and setting
9732         txicodequoteundirected and txicodequotebacktick.  This way,
9733         Texinfo 5 quotes code in text with directed single quotes ‘like
9734         this’ and produces examples that can be cut out of PDFs.  This
9735         change causes Texinfo 5 to generate info files that contain UTF-8
9736         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
9737         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
9739 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9741         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
9742         __libc_tabort, __libc_tend): New wrappers that enforce compiler
9743         barriers to their respective compiler built-ins.
9744         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
9745         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
9746         * sysdeps/powerpc/sysdep.h: Likewise.
9747         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
9748         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
9749         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
9751 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
9753         * scripts/config.guess: Revert previous shebang change.
9754         * scripts/config.sub: Likewise.
9755         * scripts/mkinstalldirs: Likewise.
9757 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9759         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
9760         PPC_FEATURE2_HAS_IEEE128.
9761         * sysdeps/powerpc/dl-procinfo.c:
9762         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
9764 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
9766         [BZ #19415]
9767         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
9768         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
9769         (_dl_lookup_address): Rewrite using function resolver trampoline.
9770         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
9771         two bits in address.
9773 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9775         * longlong.h: Change !__SHMEDIA__ to
9776         (!defined (__SHMEDIA__) || !__SHMEDIA__).
9777         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
9779 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
9780             Joseph Myers  <joseph@codesourcery.com>
9781             Mark Shinwell  <shinwell@codesourcery.com>
9782             Andrew Stubbs  <ams@codesourcery.com>
9783             Rich Felker <dalias@libc.org>
9785         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
9787 2016-01-07  Richard Henderson  <rth@redhat.com>
9789         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
9791 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
9793         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
9794         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
9795         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9796         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
9797         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
9799 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
9800             Joseph Myers  <joseph@codesourcery.com>
9802         * timezone/private.h: Update from tzcode 2015g.
9803         * timezone/tzfile.h: Likewise.
9804         * timezone/tzselect.ksh: Likewise.
9805         * timezone/zdump.c: Likewise.
9806         * timezone/zic.c: Likewise.
9807         * timezone/ialloc.c: Remove file.
9808         * timezone/scheck.c: Likewise.
9809         * timezone/Makefile (extra-objs): Remove variable.
9810         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
9811         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
9812         -Wno-maybe-uninitialized.
9813         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
9814         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
9815         (CFLAGS-ialloc.c): Remove variable.
9816         (CFLAGS-scheck.c): Likewise.
9817         * timezone/README: Update list of files from tzcode.
9819 2016-01-07  Khem Raj  <raj.khem@gmail.com>
9821         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
9822         instead of __fxprintf when _LIBC is undefined.
9824 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
9826         * catgets/test-gencat.sh: Remove space after shebang.
9827         * conform/GlibcConform.pm: Likewise.
9828         * conform/check-header-lists.sh: Likewise.
9829         * conform/conformtest.pl: Likewise.
9830         * conform/linknamespace.pl: Likewise.
9831         * conform/list-header-symbols.pl: Likewise.
9832         * debug/catchsegv.sh: Likewise.
9833         * elf/genrtldtbl.awk: Likewise.
9834         * elf/tst-pathopt.sh: Likewise.
9835         * elf/tst-rtld-load-self.sh: Likewise.
9836         * grp/tst_fgetgrent.sh: Likewise.
9837         * iconvdata/gen-8bit-gap-1.sh: Likewise.
9838         * iconvdata/gen-8bit-gap.sh: Likewise.
9839         * iconvdata/gen-8bit.sh: Likewise.
9840         * iconvdata/run-iconv-test.sh: Likewise.
9841         * intl/tst-gettext.sh: Likewise.
9842         * intl/tst-gettext2.sh: Likewise.
9843         * intl/tst-gettext4.sh: Likewise.
9844         * intl/tst-gettext6.sh: Likewise.
9845         * intl/tst-translit.sh: Likewise.
9846         * io/ftwtest-sh: Likewise.
9847         * libio/test-freopen.sh: Likewise.
9848         * locale/gen-translit.pl: Likewise.
9849         * malloc/tst-mtrace.sh: Likewise.
9850         * manual/check-safety.sh: Likewise.
9851         * manual/libc-texinfo.sh: Likewise.
9852         * manual/tsort.awk: Likewise.
9853         * manual/xtract-typefun.awk: Likewise.
9854         * nptl/tst-cancel-wrappers.sh: Likewise.
9855         * nptl/tst-tls6.sh: Likewise.
9856         * posix/globtest.sh: Likewise.
9857         * posix/tst-getconf.sh: Likewise.
9858         * posix/wordexp-tst.sh: Likewise.
9859         * scripts/check-c++-types.sh: Likewise.
9860         * scripts/check-local-headers.sh: Likewise.
9861         * scripts/config.guess: Likewise.
9862         * scripts/config.sub: Likewise.
9863         * scripts/cpp: Likewise.
9864         * scripts/cross-test-ssh.sh: Likewise.
9865         * scripts/documented.sh: Likewise.
9866         * scripts/evaluate-test.sh: Likewise.
9867         * scripts/gen-libc-abis: Likewise.
9868         * scripts/gen-sorted.awk: Likewise.
9869         * scripts/list-fixed-bugs.py: Likewise.
9870         * scripts/merge-test-results.sh: Likewise.
9871         * scripts/mkinstalldirs: Likewise.
9872         * scripts/rellns-sh: Likewise.
9873         * scripts/test-installation.pl: Likewise.
9874         * scripts/update-copyrights: Likewise.
9875         * stdio-common/tst-printf.sh: Likewise.
9876         * stdio-common/tst-unbputc.sh: Likewise.
9877         * stdlib/tst-fmtmsg.sh: Likewise.
9878         * stdlib/tst-setcontext3.sh: Likewise.
9879         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
9880         * sysdeps/unix/make-syscalls.sh: Likewise.
9882 2016-01-06  John David Anglin  <dave.anglin@bell.net>
9884         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
9885         asm stw with atomic_exchange_rel.  Add explanatory comment.
9886         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
9887         Likewise.
9889 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9891         [BZ #19122]
9892         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
9893         * sysdeps/generic/dl-unistd.h: New file.
9894         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
9896 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
9898          [BZ #19122]
9899          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
9900          * sysdeps/generic/dl-mman.h: New file.
9901          * sysdeps/mach/hurd/dl-mman.h: Likewise.
9903 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
9905         * manual/texinfo.tex: Update to version 2016-01-04.21 with
9906         trailing whitespace removed.
9907         * scripts/config.guess: Update to version 2016-01-01.
9908         * scripts/config.sub: Update to version 2016-01-01.
9909         * scripts/move-if-change: Update from gnulib.
9911 2016-01-04  Anton Blanchard  <anton@samba.org>
9913         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
9914         for array indices.
9915         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
9917 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
9919         * NEWS: Update copyright dates.
9920         * catgets/gencat.c (print_version): Likewise.
9921         * csu/version.c (banner): Likewise.
9922         * debug/catchsegv.sh: Likewise.
9923         * debug/pcprofiledump.c (print_version): Likewise.
9924         * debug/xtrace.sh (do_version): Likewise.
9925         * elf/ldconfig.c (print_version): Likewise.
9926         * elf/ldd.bash.in: Likewise.
9927         * elf/pldd.c (print_version): Likewise.
9928         * elf/sotruss.sh: Likewise.
9929         * elf/sprof.c (print_version): Likewise.
9930         * iconv/iconv_prog.c (print_version): Likewise.
9931         * iconv/iconvconfig.c (print_version): Likewise.
9932         * locale/programs/locale.c (print_version): Likewise.
9933         * locale/programs/localedef.c (print_version): Likewise.
9934         * login/programs/pt_chown.c (print_version): Likewise.
9935         * malloc/memusage.sh (do_version): Likewise.
9936         * malloc/memusagestat.c (print_version): Likewise.
9937         * malloc/mtrace.pl: Likewise.
9938         * manual/libc.texinfo: Likewise.
9939         * nptl/version.c (banner): Likewise.
9940         * nscd/nscd.c (print_version): Likewise.
9941         * nss/getent.c (print_version): Likewise.
9942         * nss/makedb.c (print_version): Likewise.
9943         * posix/getconf.c (main): Likewise.
9944         * scripts/test-installation.pl: Likewise.
9945         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
9947         * All files with FSF copyright notices: Update copyright dates
9948         using scripts/update-copyrights.
9949         * intl/plural.c: Regenerated.
9950         * locale/programs/charmap-kw.h: Likewise.
9951         * locale/programs/locfile-kw.h: Likewise.
9953 2016-01-02  Helge Deller  <deller@gmx.de>
9955         [BZ #19285]
9956         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
9957         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
9958         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
9959         (MADV_xxK_PAGES): Remove.
9961 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
9963         [BZ #15421]
9964         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
9965         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
9966         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
9967         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
9969 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
9971         [BZ #19408]
9972         * sysdeps/unix/sysv/linux/personality.c: New file.
9973         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
9974         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
9975         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
9976         (sysdep_routines): Add personality.
9977         (tests): Add tst-personality.
9978         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
9979         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
9980         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
9981         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
9982         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
9983         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
9984         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
9985         Likewise.
9986         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
9987         Likewise.
9988         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
9989         Likewise.
9990         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
9991         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
9992         Likewise.
9994 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
9996         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
9997         (PATH_ARM_SYSTYPE): Remove.
9998         (PATH_CPUINFO): Likewise.
9999         (IO_BASE_FOOTBRIDGE): Likewise.
10000         (IO_SHIFT_FOOTBRIDGE): Likewise.
10001         (struct platform): Likewise.
10002         (init_iosys): Remove compatibility code for 2.4 kernels.
10003         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
10005 2015-12-29  Florian Weimer  <fweimer@redhat.com>
10007         * malloc/tst-malloc-thread-fail.c: New file.
10008         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10009         (tst-malloc-thread-fail): Link against libpthread.
10011 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
10013         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
10014         (get_parser): New function.
10015         (main): New function.
10017 2015-12-29  Rob Wu  <rob@robwu.nl>
10019         [BZ #19369]
10020         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10022 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10024         [BZ #19270]
10025         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10027 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10029         [BZ #15421]
10030         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10032 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10034         [BZ #13690]
10035         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10036         after releasing it.
10037         (__lll_robust_unlock): Likewise.
10038         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10039         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10040         (lll_robust_unlock): Likewise.
10041         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10042         Prevent warnings in callers.
10044 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10046         * malloc/arena.c (list_lock): Update comment.
10048 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10050         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10051         __parse_hwcap_and_convert_at_platform to libc.a.
10053 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10055         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10056         platform and feature support for POWER9.
10057         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10058         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10059         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10060         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10061         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10062         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10063         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10064         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10066 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10068         Harmonize generic stdio-lock support with nptl
10070         This fixes build when _IO_funlockfile is a macro, fixes build where
10071         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10072         stack unwind.
10074         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10075         _IO_release_lock ): Use cleanup attribute on new
10076         _IO_acquire_lock_file variable instead of assuming that
10077         _IO_release_lock will be called.
10078         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10079         _IO_acquire_lock_needs_exceptions_enabled.
10080         (_IO_acquire_lock_clear_flags2): New macro.
10082 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10084         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10086 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10088         [BZ #19182]
10089         * malloc/arena.c (list_lock): Document lock ordering requirements.
10090         (free_list_lock): New lock.
10091         (ptmalloc_lock_all): Comment on free_list_lock.
10092         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10093         (detach_arena): Update comment.  free_list_lock is now needed.
10094         (_int_new_arena): Use free_list_lock around detach_arena call.
10095         Acquire arena lock after list_lock.  Add comment, including FIXME
10096         about incorrect synchronization.
10097         (get_free_list): Switch to free_list_lock.
10098         (reused_arena): Acquire free_list_lock around detach_arena call
10099         and attached threads counter update.  Add two FIXMEs about
10100         incorrect synchronization.
10101         (arena_thread_freeres): Switch to free_list_lock.
10102         * malloc/malloc.c (struct malloc_state): Update comments to
10103         mention free_list_lock.
10105 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10107         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10108         Remove functions.
10109         (sloww, sloww1): Accept argument to offset quadrant.
10110         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10111         quadrant.
10112         (__sin, __cos): Consolidate common code into new functions.
10113         (reduce_sincos_1, do_sincos_1): New functions.
10114         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10116         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10117         code to new functions.
10118         (reduce_sincos_2, do_sincos_2): New functions.
10119         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10121         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10122         common code for sincos.
10123         (__cos) [!IN_SINCOS]: Likewise.
10124         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10125         New function.
10126         (__sincos): Use it.
10128 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10130         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10131         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10132         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10134 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10136         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10138         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10139         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10140         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10141         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10142         index_Prefer_No_VZEROUPPER): New feature.
10143         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10144         Prefer_No_VZEROUPPER for Knights Landing.
10146 015-12-18  Torvald Riegel  <triegel@redhat.com>
10148         * math/atest-exp2.c (mp_exp_m1): Remove.
10150 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10152         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10153         syscalls.
10154         (__SYSCALL0): New macro.
10155         (__SYSCALL1): Likewise.
10156         (__SYSCALL2): Likewise.
10157         (__SYSCALL3): Likewise.
10158         (__SYSCALL4): Likewise.
10159         (__SYSCALL5): Likewise.
10160         (__SYSCALL6): Likewise.
10161         (__SYSCALL_CONCAT_X): Likewise.
10162         (__SYSCALL_CONCAT): Likewise.
10163         (__SYSCALL_DIST): Likewise.
10164         (__SYSCALL_CALL): Likewise.
10166 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10168         [BZ #19363]
10169         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10171 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10173         [BZ #19375]
10174         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10175         negative subnormals.
10177 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10179         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10180         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10181         (INTERNAL_SYSCALL_NCS): Use it.
10182         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10184 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10186         [BZ #19243]
10187         * malloc/arena.c (get_free_list): Remove assert and adjust
10188         reference count handling.  Add comment about reused_arena
10189         interaction.
10190         (reused_arena): Add comments abount get_free_list interaction.
10191         * malloc/tst-malloc-thread-exit.c: New file.
10192         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10193         (tst-malloc-thread-exit): Link against libpthread.
10195 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10197         [BZ #19367]
10198         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10199         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10200         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10201         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10202         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10204 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10206         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10207         Silvermont optimizations for Knights Landing.
10209 2015-12-15  Andreas Schwab  <schwab@suse.de>
10211         [BZ #17197]
10212         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10213         immediately after emitting SI.
10214         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10215         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10216         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10217         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10218         * iconvdata/bug-iconv10.c: New file.
10219         * iconvdata/Makefile (tests): Add bug-iconv10.
10220         ($(objpfx)bug-iconv10.out): New rule.
10222 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10224         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10225         aliasing violation.
10227 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10229         [BZ #18472]
10230         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10231         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10232         conditionals for them.
10233         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10234         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10235         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10236         sys/kdaemon.h.
10237         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10238         compat-only syscall, obsoleted in glibc 2.23.
10239         (create_module): Likewise.
10240         (get_kernel_syms): Likewise.
10241         (query_module): Likewise.
10242         (uselib): Likewise.
10243         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10245 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10247         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10248         <linux/version.h>.
10249         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10250         conditional code.
10251         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10252         and ioshift_name initialization.
10254 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10256         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10257         Fix indentation.
10259 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10261         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10263 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10265         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10267 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10268             Jakub Wilk  <jwilk@debian.org>
10270         [BZ #19347]
10271         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10272         to change the group of the device to the tty group.
10274 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10276         Split large string section; add truncation advice
10277         * manual/examples/strncat.c: Remove.
10278         This example was misleading, as the code would have undefined
10279         behavior if "hello" was longer than SIZE.  Anyway, the manual
10280         shouldn't encourage strncpy+strncat for this sort of thing.
10281         * manual/string.texi (Copying Strings and Arrays): Split into
10282         three sections Copying Strings and Arrays, Concatenating Strings,
10283         and Truncating Strings, as this section was way too long.  All
10284         cross-referenced changed.  Add advice about string-truncation
10285         functions.  Remove misleading strncat example.
10287 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10289         * manual/nss.texi (NSS Modules Interface): Document
10290         NSS_STATUS_NOTFOUND and SUCCESS.
10292 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10294         [BZ 18568]
10295         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10296         201505L, for Unicode 8.
10298 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10300         * locale/C-translit.h: Regenerate.
10302 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10304         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10305         and U+0153.
10307 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10309         [BZ #19351]
10310         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10311         expanding log(1+z), compare z rather than its square with epsilon
10312         to determine when to avoid evaluating the expansion.
10314         [BZ #19350]
10315         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10316         Increase overflow threshold.
10318         [BZ #19349]
10319         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10320         when small.
10322         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10323         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10324         New macro.
10325         [__LINUX_KERNEL_VERSION >= 0x040300]
10326         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10327         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10328         Likewise.
10329         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10330         Likewise.
10331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10332         Likewise.
10333         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10334         Likewise.
10335         [__LINUX_KERNEL_VERSION >= 0x040300]
10336         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10337         [__LINUX_KERNEL_VERSION >= 0x040300]
10338         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10339         [__LINUX_KERNEL_VERSION >= 0x040300]
10340         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10341         [__LINUX_KERNEL_VERSION >= 0x040300]
10342         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10343         [__LINUX_KERNEL_VERSION >= 0x040300]
10344         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10345         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10346         Likewise.
10347         [__LINUX_KERNEL_VERSION >= 0x040300]
10348         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10349         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10350         Likewise.
10351         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10352         Likewise.
10353         [__LINUX_KERNEL_VERSION >= 0x040300]
10354         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10355         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10356         Likewise.
10357         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10358         Likewise.
10359         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10360         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10361         Likewise.
10362         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10363         Likewise.
10364         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10365         Likewise.
10366         [__LINUX_KERNEL_VERSION >= 0x040300]
10367         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10368         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10369         Likewise.
10370         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10371         Likewise.
10372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10373         Likewise.
10374         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10375         Likewise.
10376         [__LINUX_KERNEL_VERSION >= 0x040300]
10377         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10378         [__LINUX_KERNEL_VERSION >= 0x040300]
10379         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10380         [__LINUX_KERNEL_VERSION >= 0x040300]
10381         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10382         [__LINUX_KERNEL_VERSION >= 0x040300]
10383         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10384         [__LINUX_KERNEL_VERSION >= 0x040300]
10385         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10386         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10387         Likewise.
10388         [__LINUX_KERNEL_VERSION >= 0x040300]
10389         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10390         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10391         Likewise.
10392         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10393         Likewise.
10394         [__LINUX_KERNEL_VERSION >= 0x040300]
10395         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10396         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10397         Likewise.
10398         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10399         Likewise.
10400         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10401         (__ASSUME_SOCKET_SYSCALL): Likewise.
10402         (__ASSUME_BIND_SYSCALL): Likewise.
10403         (__ASSUME_CONNECT_SYSCALL): Likewise.
10404         (__ASSUME_LISTEN_SYSCALL): Likewise.
10405         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10406         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10407         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10408         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10409         (__ASSUME_SEND_SYSCALL): Likewise.
10410         (__ASSUME_SENDTO_SYSCALL): Likewise.
10411         (__ASSUME_RECV_SYSCALL): Likewise.
10412         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10413         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10414         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10415         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10416         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10417         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10418         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10419         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10420         Likewise.
10421         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10422         Likewise.
10423         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10424         Likewise.
10425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10426         Likewise.
10427         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10428         Likewise.
10429         [__LINUX_KERNEL_VERSION >= 0x020625]
10430         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10431         [__LINUX_KERNEL_VERSION >= 0x020625]
10432         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10433         [__LINUX_KERNEL_VERSION >= 0x020625]
10434         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10435         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10436         Likewise.
10437         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10438         Likewise.
10439         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10440         Likewise.
10441         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10442         Likewise.
10443         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10444         Likewise.
10445         [__LINUX_KERNEL_VERSION >= 0x020625]
10446         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10447         [__LINUX_KERNEL_VERSION >= 0x020625]
10448         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10449         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10450         Likewise.
10451         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10452         Likewise.
10454 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10456         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10457         record the current if the current ABI and CPU support the FP64
10458         extension.
10459         (has-modd-spreg): Define to record the current if the current ABI and
10460         CPU support 32-bit floating point values in odd FPU registers.
10461         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10462         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10463         $(has-modd-spreg) equals yes.
10464         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10465         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10466         $(has-modd-spreg) equal yes.
10468 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10470         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10471         basename.
10473 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10475         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10476         (bench-string): ... here.
10477         (bench): Add bench-string.
10478         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10479         to *-benchset to reflect what they are.
10480         (benchset): Adjust.
10482         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10483         cos-inputs.
10485 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10487         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10488         __attribute__ ((__simd__)) for vector math function declarations.
10490 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10492         Fix typo in strncat, wcsncat manual entries
10493         * manual/string.texi (Copying and Concatenation): Fix typos in
10494         sample implementations of strncat and wcsncat, by having them use
10495         the old value of the destination length, not the new one.
10497 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10499         [BZ #16961]
10500         [BZ #16962]
10501         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10502         string on the stack for strtod.
10503         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10504         a string on the stack for strtof.
10505         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10506         constructing a string on the stack for strtold.
10507         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10508         __strtold_nan to GLIBC_PRIVATE.
10509         * math/test-nan-overflow.c: New file.
10510         * math/test-nan-payload.c: Likewise.
10511         * math/Makefile (tests): Add test-nan-overflow and
10512         test-nan-payload.
10514 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10516         Consistency about byte vs character in string.texi
10517         * manual/string.texi (String and Array Utilities):
10518         Distinguish more carefully among bytes, multibyte characters,
10519         and wide characters.  Use "byte" when talking about C 'char',
10520         to distinguish it more clearly from multibyte characters.
10521         Say "wide character" or "multibyte character" instead of
10522         "character", when a wide or multibyte character is intended.
10523         Similarly for "multibyte string" versus "string".
10524         Define these terms more carefully.
10526 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10528         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10529         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10530         Likewise.
10531         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10532         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10533         * sysdeps/sh/math_private.h: New file.
10534         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
10535         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
10536         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
10537         long double function name.
10538         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10539         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10540         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
10541         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
10542         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
10544         Remove __finitel, __isinfl, and __isnanl.
10545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10546         Likewise.
10547         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10549         Remove __finitel.
10550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10551         Likewise.
10552         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10554 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
10556         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
10557         installed libmvec_nonshared.a.
10559 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10561         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
10562         (sysdep_routines): Likewise.
10563         (sysdep-rtld-routines): Likewise.
10564         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
10565         [$(subdir) = nptl](tests-static): test-get_hwcap-static
10566         * sysdeps/powerpc/Versions: Added new
10567         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
10568         * sysdeps/powerpc/hwcapinfo.c: New file.
10569         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
10570         and parse hwcap, hwcap2 and platform number information.
10571         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
10572         to store HWCAP+HWCAP2 and platform number.
10573         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
10574         for HWCAP+HWCAP2 and platform number in the TCB.
10575         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
10576         the HWCAP, HWCAP2 and platform number in the TCB.
10577         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
10578         (TLS_INIT_TP): Included calls to add the hwcap and
10579         at_platform values in the TCB in TP initialization.
10580         (TLS_DEFINE_INIT_TP): Likewise.
10581         (THREAD_GET_HWCAP): New macro.
10582         (THREAD_SET_HWCAP): Likewise.
10583         (THREAD_GET_AT_PLATFORM): Likewise.
10584         (THREAD_SET_AT_PLATFORM): Likewise.
10585         * sysdeps/powerpc/powerpc32/dl-machine.h:
10586         (dl_platform_init): New function that calls
10587         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
10588         powerpc32.
10589         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
10590         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
10591         this functionality, static linking case.
10592         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
10593         linking case.
10594         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
10595         __parse_hwcap_and_convert_at_platform for the static linking case.
10596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
10597         Included the new __parse_hwcap_and_convert_at_platform symbol in the
10598         ABI list for GLIBC 2.23.
10599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
10600         Likewise.
10601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
10602         Likewise.
10604 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
10606         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
10607         * configure: Regenerate.
10608         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
10609         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
10611 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
10613         * iconvdata/ibm930.c: Add comment explaining encoding uses.
10614         * iconvdata/ibm933.c: Likewise.
10615         * iconvdata/ibm935.c: Likewise.
10616         * iconvdata/ibm937.c: Likewise.
10617         * iconvdata/ibm939.c: Likewise.
10619 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10621         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
10622         pthread_join.
10623         * nptl/tst-cancel21.c (tf): Likewise.
10625 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
10627         [BZ #19313]
10628         * bits/typesizes.h (__CPU_MASK_TYPE): New.
10629         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10630         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
10631         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
10632         Likewise.
10633         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
10634         Likewise.
10635         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
10636         Likewise.
10637         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
10638         Likewise.
10639         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
10640         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
10641         unsigned long int with __CPU_MASK_TYPE.
10643 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10645         * sysdeps/aarch64/libm-test-ulps: Regenerated.
10647 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
10649         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
10650         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
10651         t512.x.
10652         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
10654 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
10656         [BZ #19214]
10657         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
10658         argument to return extended model.  Update family and model
10659         with extended family and model when family == 0x0f.
10660         (init_cpu_features): Updated.
10662 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10664         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
10665         signed off_t, so 32bit bigger than 2GiB values are fine actually.
10667         * sysdeps/mach/hurd/mmap64.c: New file.
10669 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
10671         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
10672         rights for its main user thread in NEWTASK.
10674 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
10676         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
10677         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
10679 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
10681         [BZ #14259]
10682         * Makeconfig: Rename localedir to complocaledir.
10683         Rename inst_localedir to inst_complocaledir.
10684         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
10685         * config.make.in: Use complocaledir and libc_cv_complocaledir.
10686         * configure.ac: Use libc_cv_complocaledir.
10687         * configure: Regenerate.
10688         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
10689         -DCOMPLOCALEDIR.
10690         * locale/findlocale.c: Use COMPLOCALEDIR.
10691         * locale/loadarchive.c: Likewise.
10692         * locale/programs/locale.c: Likewise.
10693         * locale/programs/localedef.c: Likewise.
10694         * locale/programs/locarchive.c: Likewise.
10695         * localedata/Makefile: Use inst_complocaledir.
10696         * sysdeps/gnu/configure: Regenerate.
10697         * sysdeps/hppa/configure: Regenerate.
10698         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
10699         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10701         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
10702         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
10703         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
10704         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
10706 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
10708         [BZ #19058]
10709         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
10710         AS_NEEDED.
10711         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
10712         workaround.
10713         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
10714         libmvec-static-only-routines): Added new file.
10715         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
10717 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10719         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
10720         of interrupted RPC instead of restoring it.
10722         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
10723         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
10724         libc_hidden_def.
10725         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
10726         into initialized data instead of common. Define rtld_hidden_data_def.
10727         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
10728         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
10729         libc_hidden_def.
10730         (if_freenameindex): Add libc_hidden_weak.
10731         (if_nameindex): Add libc_hidden_weak.
10732         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
10733         __open64.
10734         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
10735         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
10736         * sysdeps/mach/nanosleep.c: Include <time.h>
10737         (__nanosleep): Rename to __libc_nanosleep.
10738         (__nanosleep): Add weak_alias.
10739         (nanosleep): Update alias.
10741 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
10743         * stdlib/strtod_nan.c: New file.
10744         * stdlib/strtod_nan_double.h: Likewise.
10745         * stdlib/strtod_nan_float.h: Likewise.
10746         * stdlib/strtod_nan_main.c: Likewise.
10747         * stdlib/strtod_nan_narrow.h: Likewise.
10748         * stdlib/strtod_nan_wide.h: Likewise.
10749         * stdlib/strtof_nan.c: Likewise.
10750         * stdlib/strtold_nan.c: Likewise.
10751         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
10752         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
10753         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
10754         * wcsmbs/wcstod_nan.c: Likewise.
10755         * wcsmbs/wcstof_nan.c: Likewise.
10756         * wcsmbs/wcstold_nan.c: Likewise.
10757         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
10758         strtold_nan.
10759         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
10760         wcstof_nan.
10761         * include/stdlib.h (__strtof_nan): Declare and use
10762         libc_hidden_proto.
10763         (__strtod_nan): Likewise.
10764         (__strtold_nan): Likewise.
10765         (__wcstof_nan): Likewise.
10766         (__wcstod_nan): Likewise.
10767         (__wcstold_nan): Likewise.
10768         * include/wchar.h (____wcstoull_l_internal): Declare.
10769         * stdlib/strtod_l.c: Do not include <ieee754.h>.
10770         (____strtoull_l_internal): Remove declaration.
10771         (STRTOF_NAN): Define macro.
10772         (SET_MANTISSA): Remove macro.
10773         (STRTOULL): Likewise.
10774         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
10775         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
10776         (STRTOF_NAN): Define macro.
10777         (SET_MANTISSA): Remove macro.
10778         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
10779         (SET_MANTISSA): Remove macro.
10780         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
10781         macro.
10782         (SET_MANTISSA): Remove macro.
10783         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
10784         macro.
10785         (SET_MANTISSA): Remove macro.
10786         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
10787         (SET_MANTISSA): Remove macro.
10788         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
10789         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
10790         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
10792         [BZ #19266]
10793         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
10794         upper case and lower case letters inside NAN(), not using TOLOWER.
10795         * stdlib/tst-strtod-nan-locale-main.c: New file.
10796         * stdlib/tst-strtod-nan-locale.c: Likewise.
10797         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
10798         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
10799         Depend on $(gen-locales).
10800         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
10801         * wcsmbs/tst-wcstod-nan-locale.c: New file.
10802         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
10803         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
10804         Depend on $(gen-locales).
10805         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
10807 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
10809         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
10811         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
10813         __finitel, __isinfl, and __isnanl.
10814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10815         Likewise.
10816         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
10818         __finitel.
10819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10820         Likewise.
10821         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10823 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
10825         * malloc/memusage.c (me): Remove redundant getenv call.
10827 2015-10-24  Florian Weimer  <fweimer@redhat.com>
10829         [BZ #19143]
10830         [BZ #19164]
10831         * nptl/check-cpuset.h: Remove.
10832         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
10833         Remove CPU set size check.
10834         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
10835         Likewise.
10836         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
10837         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
10838         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
10839         (__pthread_setaffinity_new): Remove CPU set size check.
10840         * sysdeps/unix/sysv/linux/sched_setaffinity.c
10841         (__kernel_cpumask_size): Remove.
10842         (__sched_setaffinity_new): Remove CPU set size check.
10843         * manual/threads.texi (Default Thread Attributes): Remove stale
10844         reference to check_cpuset_attr, determine_cpumask_size in comment.
10845         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
10846         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
10847         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
10848         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
10849         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
10850         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
10851         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
10852         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
10853         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
10854         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
10855         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
10856         skeleton test file.
10857         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
10858         tst-affinity-pid.
10860 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10862         * scripts/update-abilist.sh: New file.
10863         * Makefile (+subdir_targets): Add subdir_update-all-abi.
10864         * Makerules (update-all-abi-%, update-all-abi)
10865         (subdir_update-all-abi): New targets.
10866         * elf/Makefile (update-all-abi): New target.
10868 2015-11-24  Florian Weimer  <fweimer@redhat.com>
10870         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
10871         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
10872         (__libc_lock_define_initialized): Use it.
10873         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
10874         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
10875         * malloc/malloc.c (main_arena): Likewise.
10876         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10877         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
10879 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
10881         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10882         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
10883         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10884         (PTRACE_O_MASK): Update value.
10885         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
10886         New value in enum __ptrace_setoptions.
10887         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10888         (PTRACE_O_MASK): Update value.
10889         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10890         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10891         (PTRACE_O_MASK): Update value.
10892         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
10893         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10894         (PTRACE_O_MASK): Update value.
10895         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
10896         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
10897         (PTRACE_O_MASK): Update value.
10898         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
10899         New value in enum __ptrace_setoptions.
10900         (PTRACE_O_MASK): Update value.
10901         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
10902         New value in enum __ptrace_setoptions.
10903         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
10904         (PTRACE_O_MASK): Update value.
10906         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
10907         New macro.
10908         (PACKET_AUXDATA): Likewise.
10909         (PACKET_ORIGDEV): Likewise.
10910         (PACKET_VERSION): Likewise.
10911         (PACKET_HDRLEN): Likewise.
10912         (PACKET_RESERVE): Likewise.
10913         (PACKET_TX_RING): Likewise.
10914         (PACKET_LOSS): Likewise.
10915         (PACKET_VNET_HDR): Likewise.
10916         (PACKET_TX_TIMESTAMP): Likewise.
10917         (PACKET_TIMESTAMP): Likewise.
10918         (PACKET_FANOUT): Likewise.
10919         (PACKET_TX_HAS_OFF): Likewise.
10920         (PACKET_QDISC_BYPASS): Likewise.
10921         (PACKET_ROLLOVER_STATS): Likewise.
10922         (PACKET_FANOUT_DATA): Likewise.
10923         (PACKET_MR_UNICAST): Likewise.
10925         [BZ #19242]
10926         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
10927         (TOUPPER): Likewise.
10928         * stdlib/tst-strtol-locale-main.c: New file.
10929         * stdlib/tst-strtol-locale.c: Likewise.
10930         * stdlib/Makefile (tests): Add tst-strtol-locale.
10931         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
10932         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
10933         Depend on $(gen-locales).
10934         * wcsmbs/tst-wcstol-locale.c: New file.
10935         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
10936         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
10937         tr_TR.ISO-8859-9.
10938         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
10939         Depend on $(gen-locales).
10941 2015-11-20  Roland McGrath  <roland@hack.frob.com>
10943         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
10944         __glibc_likely instead of __builtin_expect.  After falling back to
10945         dyncode_create in a non-ET_DYN case, use the allocate_code_data
10946         system interface to register the code pages as occupied.
10948 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
10950         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10951         [!ARM_MATH_PRIVATE_H].
10952         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
10953         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10954         [!HPPA_MATH_PRIVATE_H].
10955         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
10956         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
10957         to [!I386_MATH_PRIVATE_H].
10958         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
10959         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
10960         Change guard to [!M68K_MATH_PRIVATE_H].
10961         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
10962         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
10963         guard to [!MICROBLAZE_MATH_PRIVATE_H].
10964         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
10965         macro.
10966         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10967         [!MIPS_MATH_PRIVATE_H].
10968         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
10969         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10970         [!NIO2_MATH_PRIVATE_H].
10971         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
10972         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
10973         [!TILE_MATH_PRIVATE_H].
10974         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
10976         [BZ #15421]
10977         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
10978         initialize with 0 and define as weak alias of __signgam.
10979         * include/math.h [!_ISOMAC] (__signgam): Declare.
10980         * math/Makefile (libm-calls): Add w_lgamma_compat.
10981         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
10982         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
10983         test-signgam-ullong-init.
10984         (tests-static): Add test-signgam-uchar-static,
10985         test-signgam-uchar-init-static, test-signgam-uint-static,
10986         test-signgam-uint-init-static, test-signgam-ullong-static and
10987         test-signgam-ullong-init-static.
10988         (CFLAGS-test-signgam-uchar.c): New variable.
10989         (CFLAGS-test-signgam-uchar-init.c): Likewise.
10990         (CFLAGS-test-signgam-uchar-static.c): Likewise.
10991         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
10992         (CFLAGS-test-signgam-uint.c): Likewise.
10993         (CFLAGS-test-signgam-uint-init.c): Likewise.
10994         (CFLAGS-test-signgam-uint-static.c): Likewise.
10995         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
10996         (CFLAGS-test-signgam-ullong.c): Likewise.
10997         (CFLAGS-test-signgam-ullong-init.c): Likewise.
10998         (CFLAGS-test-signgam-ullong-static.c): Likewise.
10999         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11000         * math/Versions (libm): Add GLIBC_2.23.
11001         * math/lgamma-compat.h: New file.
11002         * math/test-signgam-main.c: Likewise.
11003         * math/test-signgam-uchar-init-static.c: Likewise.
11004         * math/test-signgam-uchar-init.c: Likewise.
11005         * math/test-signgam-uchar-static.c: Likewise.
11006         * math/test-signgam-uchar.c: Likewise.
11007         * math/test-signgam-uint-init-static.c: Likewise.
11008         * math/test-signgam-uint-init.c: Likewise.
11009         * math/test-signgam-uint-static.c: Likewise.
11010         * math/test-signgam-uint.c: Likewise.
11011         * math/test-signgam-ullong-init-static.c: Likewise.
11012         * math/test-signgam-ullong-init.c: Likewise.
11013         * math/test-signgam-ullong-static.c: Likewise.
11014         * math/test-signgam-ullong.c: Likewise.
11015         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11016         wrapper of w_lgamma_main.c.
11017         * math/w_lgamma_compat.c: New file.
11018         * math/w_lgamma_compatf.c: Likewise.
11019         * math/w_lgamma_compatl.c: Likewise.
11020         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11021         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11022         defining compatibility symbols.
11023         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11024         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11025         wrapper of w_lgammaf_main.c.
11026         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11027         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11028         defining compatibility symbols.
11029         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11030         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11031         wrapper of w_lgammal_main.c.
11032         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11033         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11034         defining compatibility symbols.
11035         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11036         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11037         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11038         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11039         <lgamma-compat.h>.
11040         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11041         (__ieee754_gamma): Define as alias.
11042         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11043         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11044         <lgamma-compat.h>.
11045         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11046         (__ieee754_gammaf): Define as alias.
11047         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11048         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11049         <lgamma-compat.h>.
11050         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11051         (__ieee754_gammal): Define as alias.
11052         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11053         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11054         <math/w_lgamma_compat.c>.
11055         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11056         Define as alias of __lgamma_compat and use in defining lgammal.
11057         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11058         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11059         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11060         (USE_AS_COMPAT): New macro.
11061         (LGAMMA_OLD_VER): Undefine and redefine.
11062         (lgammal): Do not define here.
11063         (gammal): Only define here if [GAMMA_ALIAS].
11064         * conform/linknamespace.pl (@whitelist): Remove signgam.
11065         * sysdeps/nacl/libm.abilist: Update.
11066         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11067         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11068         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11069         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11070         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11071         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11072         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11073         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11074         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11075         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11076         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11077         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11079         Likewise.
11080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11081         Likewise.
11082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11083         Likewise.
11084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11085         Likewise.
11086         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11087         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11088         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11089         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11090         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11092         Likewise.
11093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11094         Likewise.
11095         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11096         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11097         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11099 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11101         [BZ #16364]
11102         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11103         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11105 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11107         * sysdeps/s390/fpu/bits/mathinline.h:
11108         Use __asm__ [__volatile__] instead of asm [volatile].
11109         * sysdeps/s390/abort-instr.h: Likewise.
11110         * sysdeps/s390/atomic-machine.h: Likewise.
11111         * sysdeps/s390/bits/string.h: Likewise.
11112         * sysdeps/s390/dl-tls.h: Likewise.
11113         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11114         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11115         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11116         * sysdeps/s390/fpu/fesetround.c: Likewise.
11117         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11118         * sysdeps/s390/fpu/s_fma.c: Likewise.
11119         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11120         * sysdeps/s390/memusage.h: Likewise.
11121         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11122         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11123         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11124         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11125         * sysdeps/s390/nptl/tls.h: Likewise.
11126         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11127         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11128         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11129         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11130         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11131         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11132         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11133         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11134         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11135         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11136         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11137         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11138         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11139         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11140         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11141         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11142         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11143         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11144         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11145         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11146         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11148         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11150 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11151             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11153         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11154         Add lwarx hint, and use macro for acquire instruction.
11155         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11156         Likewise.
11157         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11158         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11159         update to use new atomic macros.
11161 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11163         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11164         (__lll_trylock_elision): Fix setting of adapt_count.
11165         * sysdeps/unix/sysv/linux/powerpc/htm.h
11166         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11167         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11168         (_ABORT_SYSCALL): Renumber, and clarify definition.
11169         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11171 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11173         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11174         after system headers to prevent MIN/MAX redefinition.  Define
11175         HAVE_ALLOCA to preserve builtin alloca usage.
11177 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11180         static and don't set or restore rounding.
11181         (__cos)[IN_SINCOS]: Likewise.
11182         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11183         (__sincos): Set and restore rounding mode.  Remove check for infinite
11184         or NaN input.
11186         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11188         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11189         as used.
11191 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11193         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11195 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11197         * config.make.in (have-glob-dat-reloc): New.
11198         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11199         target supports GLOB_DAT relocaton. AC_SUBST.
11200         * configure: Regenerated.
11201         * elf/Makefile (tests): Add tst-prelink.
11202         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11203         (tst-prelink-ENV): New.
11204         ($(objpfx)tst-prelink-conflict.out): Likewise.
11205         ($(objpfx)tst-prelink-cmp.out): Likewise.
11206         * sysdeps/x86/tst-prelink.c: Moved to ...
11207         * elf/tst-prelink.c: Here.
11208         * sysdeps/x86/tst-prelink.exp: Moved to ...
11209         * elf/tst-prelink.exp: Here.
11210         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11211         (tst-prelink-ENV): Removed.
11212         ($(objpfx)tst-prelink-conflict.out): Likewise.
11213         ($(objpfx)tst-prelink-cmp.out): Likewise.
11214         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11216 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11218         [BZ #14551]
11219         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11220         (__mpn_construct_long_double): If high part overflows to infinity,
11221         set errno and recompute overflowed result of the correct sign.
11222         * sysdeps/ieee754/ldbl-128ibm/Makefile
11223         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11224         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11225         $(libm).
11226         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11228 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11230         [BZ #15479]
11231         [BZ #19238]
11232         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11233         floating-point state after first operation on input.  Restore full
11234         state rather than just rounding mode.
11235         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11236         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11237         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11239         [BZ #19235]
11240         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11241         add 0.5 to integer arguments.
11242         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11243         Likewise.
11244         (.LC2): New object.
11246 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11248         * scripts/pylintrc (reports): Set to no.
11250 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11252         * elf/dl-load.c (open_verify): Take new argument FD.
11253         Skip __open call if passed FD is not -1.
11254         (_dl_map_object, open_path): Update callers.
11255         * elf/dl-sysdep-open.h: New file.
11256         * elf/dl-load.c: Include it.
11257         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11258         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11259         * sysdeps/nacl/dl-sysdep-open.h: New file.
11260         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11261         from libc to rtld.
11263 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11265         [BZ #19228]
11266         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11267         and restore full floating-point state.
11268         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11269         Likewise.
11270         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11271         Likewise.
11272         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11273         Likewise.
11274         * math/test-nearbyint-except-2.c: New file.
11275         * math/Makefile (tests): Add test-nearbyint-except-2.
11277 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11279         [BZ #19178]
11280         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11281         (tst-prelink-ENV): New.
11282         ($(objpfx)tst-prelink-conflict.out): Likewise.
11283         ($(objpfx)tst-prelink-cmp.out): Likewise.
11284         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11285         * sysdeps/x86/tst-prelink.c: New file.
11286         * sysdeps/x86/tst-prelink.exp: Likewise.
11288 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11290         * math/auto-libm-test-in: Add another test of pow.
11291         * math/auto-libm-test-out: Regenerated.
11292         * math/libm-test.inc (pow_test_data): Add another test.
11294 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11296         [BZ #19219]
11297         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11298         weak_alias to nearbyintl.
11300 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11302         * sysdeps/aarch64/bits/string.h: New file.
11303         (_STRING_ARCH_unaligned): Define.
11305 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11307         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11308         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11309         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11310         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11313 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11315         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11316         for original name of the DSO.  Add it to the name list of the DSO
11317         if it is actually given.
11318         (_dl_map_object): Keep track of whether an audit module rewrote
11319         the file name.  If yes, pass the original name to
11320         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11321         debugging is enabled, log the change of the file name.
11322         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11323         _dl_map_object_from_fd.
11324         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11325         * elf/tst-audit11.c: New file
11326         * elf/tst-auditmod11.c: New file.
11327         * elf/tst-audit11mod1.c: New file.
11328         * elf/tst-audit11mod2.c: New file.
11329         * elf/tst-audit11mod2.map: New file.
11330         * elf/tst-audit12.c: New file
11331         * elf/tst-auditmod12.c: New file.
11332         * elf/tst-audit12mod1.c: New file.
11333         * elf/tst-audit12mod2.c: New file.
11334         * elf/tst-audit12mod2.map: New file.
11335         * elf/tst-audit12mod3.c: New file.
11337 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11339         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11340         Don't create weak aliases,
11341         because versioned symbols are created later.
11342         * sysdeps/s390/s390-32/setjmp.S
11343         (setjmp, _setjmp): Remove weak and rename to an unique name
11344         in SHARED case due to existing versioned symbols.
11345         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11346         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11347         (getcontext): Create weak alias only in non SHARED case.
11348         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11350 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11352         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11353         (__ASSUME_*_SYSCALL) Define new macros.
11354         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11355         Remove socketcall syscalls.
11356         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11357         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11358         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11359         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11360         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11361         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11363 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11365         [BZ #12926]
11366         Terminate process on invalid netlink response.
11367         * sysdeps/unix/sysv/linux/netlinkaccess.h
11368         (__netlink_assert_response): Declare.
11369         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11370         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11371         (sysdep_routines): Add netlink_assert_response.
11372         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11373         __netlink_assert_response.
11374         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11375         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11376         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11377         __netlink_assert_response.
11379 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11381         [BZ #19178]
11382         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11383         (RTYPE_CLASS_PLT): Likewise.
11384         (RTYPE_CLASS_COPY): Likewise.
11385         (RTYPE_CLASS_TLS): Likewise.
11386         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11387         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11388         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11389         DL_DEBUG_PRELINK.
11391 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11393         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11394         calls with argument -0.5.
11395         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11397         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11398         (libc_cv_z_nodlopen): Likewise.
11399         (libc_cv_z_initfirst): Likewise.
11400         * configure: Regenerated.
11402 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11404         Simplify abilist format to be line-based.
11405         * scripts/abilist.awk: Collect descriptors in the descs variable.
11406         (emit): Write descs variable and sort it
11407         externally, with sort.
11408         * sysdeps/**/*.abilist: Convert to new format.
11410 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11412         [BZ #11460]
11413         * io/Makefile (routines): Add fts64.
11414         (tests): Add tst-fts and tst-fts-lfs.
11415         (CFLAGS-fts64.c): New.
11416         * io/Versions (GLIBC_2.23): New.
11417         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11418         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11419         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11420         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11421         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11422         (FTSENT64): Likewise.
11423         (fts64_children): Likewise.
11424         (fts64_close): Likewise.
11425         (fts64_open): Likewise.
11426         (fts64_read): Likewise.
11427         (fts64_set): Likewise.
11428         * io/fts64.c: New file.
11429         * io/tst-fts.c: New test.
11430         * io/tst-fts-lfs.c: Likewise.
11431         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11432         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11433         fts64_set.
11434         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11435         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11436         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11437         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11438         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11439         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11440         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11441         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11442         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11443         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11444         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11445         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11446         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11448         Likewise.
11449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11450         Likewise.
11451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11453         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11454         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11455         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11456         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11457         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11460         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11461         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11462         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11463         * sysdeps/wordsize-64/fts.c: New file.
11464         * sysdeps/wordsize-64/fts64.c: Likewise.
11465         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11466         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11467         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11468         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11470 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11472         * math/libm-test.inc (NON_FINITE): New macro.
11473         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11474         * math/gen-libm-test.pl (show_exceptions): Add argument
11475         $non_finite.
11476         (parse_args): Update call to show_exceptions.
11477         * math/test-math-finite.h: New file.
11478         * math/test-math-no-finite.h: Likewise.
11479         * math/test-double-finite.c: Likewise.
11480         * math/test-float-finite.c: Likewise.
11481         * math/test-ldouble-finite.c: Likewise.
11482         * math/test-double.c: Include "test-math-no-finite.h".
11483         * math/test-float.c: Include "test-math-no-finite.h".
11484         * math/test-ldouble.c: Include "test-math-no-finite.h".
11485         * math/test-math-inline.h (TEST_FINITE): New macro.
11486         * math/test-math-vector.h (TEST_FINITE): Likewise.
11487         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11488         (libm-tests): Add test-float-finite and test-double-finite.
11489         ($(objpfx)test-float-finite.o): New dependency on
11490         $(objpfx)libm-test.stmp.
11491         ($(objpfx)test-double-finite.o): Likewise.
11492         ($(objpfx)test-ldouble-finite.o): Likewise.
11493         (libm-test-no-inline-cflags): New variable.
11494         (libm-test-finite-cflags): Likewise.
11495         (CFLAGS-test-float-finite.c): Likewise.
11496         (CFLAGS-test-double-finite.c): Likewise.
11497         (CFLAGS-test-ldouble-finite.c): Likewise.
11498         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11499         (CFLAGS-test-double.c): Likewise.
11500         (CFLAGS-test-ldouble.c): Likewise.
11502 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11504         * io/fcntl.c (__fcntl): Add ... to prototype.
11505         * misc/ioctl.c (__ioctl): Likewise.
11506         * misc/syscall.c (syscall): Likewise.
11508 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11510         * scripts/list-fixed-bugs.py: New file.
11512         [BZ #19213]
11513         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11514         returned for argument 1.
11515         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11516         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11517         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11518         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11519         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11520         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11522         [BZ #19211]
11523         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11524         __USE_XOPEN], not if [!__USE_ISOC99].
11525         (lgammaf): Likewise.
11526         (lgammal): Likewise.
11527         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11528         (gammaf): Likewise.
11529         (gammal): Likewise.
11530         * math/test-signgam-finite-c11.c: New file.
11531         * math/test-signgam-finite-c99.c: Likewise.
11532         * math/test-signgam-finite.c: Likewise.
11533         * math/Makefile (tests): Add test-signgam-finite,
11534         test-signgam-finite-c99 and test-signgam-finite-c11.
11535         (CFLAGS-test-signgam-finite.c): New variable.
11536         (CFLAGS-test-signgam-finite-c99.c): Likewise.
11537         (CFLAGS-test-signgam-finite-c11.c): Likewise.
11539         [BZ #19212]
11540         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
11541         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
11542         500].
11543         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
11544         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
11545         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
11546         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
11547         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
11548         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
11549         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
11550         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
11551         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
11552         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
11554         [BZ #19209]
11555         * math/bits/math-finite.h (ldexp): Remove declaration.
11556         (ldexpf): Likewise.
11557         (ldexpl): Likewise.
11559         [BZ #19205]
11560         * math/bits/math-finite.h (acosf): Condition declaration on
11561         [__USE_ISOC99].
11562         (acosl): Likewise.
11563         (acoshf): Likewise.
11564         (acoshl): Likewise.
11565         (asinf): Likewise.
11566         (asinl): Likewise.
11567         (atan2f): Likewise.
11568         (atan2l): Likewise.
11569         (atanhf): Likewise.
11570         (atanhl): Likewise.
11571         (coshf): Likewise.
11572         (coshl): Likewise.
11573         (expf): Likewise.
11574         (expl): Likewise.
11575         (fmodf): Likewise.
11576         (fmodl): Likewise.
11577         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
11578         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
11579         (j0l): Likewise.
11580         (y0f): Likewise.
11581         (y0l): Likewise.
11582         (j1f): Likewise.
11583         (j1l): Likewise.
11584         (y1f): Likewise.
11585         (y1l): Likewise.
11586         (jnf): Likewise.
11587         (jnl): Likewise.
11588         (ynf): Likewise.
11589         (ynl): Likewise.
11590         (lgammaf_r): Condition declaration on [__USE_ISOC99].
11591         (lgammal_r): Likewise.
11592         (__lgamma_r_finite): New declaration.
11593         (__lgammaf_r_finite): Likewise.
11594         (__lgammal_r_finite): Likewise.
11595         (lgamma): Use __lgamma_r_finite.
11596         (lgammaf): Condition definition on [__USE_ISOC99].  Use
11597         __lgammaf_r_finite.
11598         (lgammal): Condition definition on [__USE_ISOC99].  Use
11599         __lgammal_r_finite.
11600         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
11601         __lgamma_r_finite.
11602         (gammaf): Condition definition on [__USE_ISOC99].  Use
11603         __lgammaf_r_finite.
11604         (gammal): Condition definition on [__USE_ISOC99].  Use
11605         __lgammal_r_finite.
11606         (logf): Condition declaration on [__USE_ISOC99].
11607         (logl): Likewise.
11608         (log10f): Likewise.
11609         (log10l): Likewise.
11610         (ldexpf): Likewise.
11611         (ldexpl): Likewise.
11612         (powf): Likewise.
11613         (powl): Likewise.
11614         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
11615         __USE_ISOC99].
11616         (remainderf): Condition declaration on [__USE_ISOC99].
11617         (remainderl): Likewise.
11618         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
11619         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
11620         (scalbl): Likewise.
11621         (sinhf): Condition declaration on [__USE_ISOC99].
11622         (sinhl): Likewise.
11623         (sqrtf): Likewise.
11624         (sqrtl): Likewise.
11626 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11628         * sysdeps/arm/atomic-machine.h
11629         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11630         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11631         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
11632         Remove conditional code.
11633         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
11634         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
11635         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
11636         Change conditional to [__ASSEMBLER__].
11637         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11638         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
11639         [!__ASSEMBLER__].
11640         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
11641         code.
11642         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
11643         conditional macro definitions.
11644         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
11645         (__arch_compare_and_exchange_val_16_acq): Likewise.
11646         (__arch_compare_and_exchange_val_32_acq): Likewise.
11647         (atomic_exchange_and_add): Likewise.
11648         (atomic_add): Likewise.
11649         (atomic_add_negative): Likewise.
11650         (atomic_add_zero): Likewise.
11651         (atomic_bit_set): Likewise.
11652         (atomic_bit_test_set): Likewise.
11653         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
11654         code unconditional.
11655         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11657         * math/test-math-errno.h: New file.
11658         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
11659         empty.
11660         (TEST_ERRNO): New macro.
11661         (TEST_EXCEPTIONS): Likewise.
11662         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
11663         (TEST_EXCEPTIONS): Likewise.
11664         * math/test-math-vector.h (TEST_ERRNO): Likewise.
11665         * math/test-double.c: Include "test-math-errno.h".
11666         * math/test-float.c: Likewise.
11667         * math/test-ldouble.c: Likewise.
11668         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
11669         code unconditional.
11670         (test_exceptions): Only run code if TEST_EXCEPTIONS.
11671         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
11672         unconditional.
11673         (test_errno): Only run code if TEST_ERRNO.
11674         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
11676 2015-11-04  Florian Weimer  <fweimer@redhat.com>
11678         * nptl/tst-once5.cc: Remove attribution.
11680 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
11682         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
11683         sqrt, tan, tanh, y0, y1 and yn.
11684         * math/auto-libm-test-out: Regenerated.
11685         * math/libm-test.inc (scalb_test_data): Add more tests.
11686         (scalbn_test_data): Likewise.
11687         (scalbln_test_data): Likewise.
11688         (signbit_test_data): Likewise.
11689         (sin_test_data): Likewise.
11690         (sincos_test_data): Likewise.
11691         (sinh_test_data): Likewise.
11692         (sqrt_test_data): Likewise.
11693         (tan_test_data): Likewise.
11694         (tanh_test_data): Likewise.
11695         (tgamma_test_data): Likewise.
11696         (y0_test_data): Likewise.
11697         (y1_test_data): Likewise.
11698         (yn_test_data): Likewise.
11699         (significand_test_data): Likewise.
11700         * sysdeps/i386/fpu/libm-test-ulps: Update.
11702 2015-11-03  David Kastrup  <dak@gnu.org>
11704         [BZ #18604]
11705         * assert/assert.h (assert): Don't macro-expand failed assertion
11706         expression in error message.
11707         * malloc/malloc.c (assert): Likewise.
11709 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
11711         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
11712         test.
11713         * configure: Regenerated.
11715 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
11717         * math/libm-test.inc (modf_test_data): Add more tests.
11718         (nearbyint_test_data): Likewise.
11719         (nextafter_test_data): Likewise.
11720         (nexttoward_test_data): Likewise.
11721         (pow_test_data): Likewise.
11722         (remainder_test_data): Likewise.
11723         (remquo_test_data): Likewise.
11724         (rint_test_data): Likewise.
11726         [BZ #19201]
11727         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
11728         Check for zero remainder in case of large exponents and ensure
11729         correct sign of result in that case.
11730         * math/libm-test.inc (remainder_test_data): Add more tests.
11732         [BZ #6799]
11733         * math/s_nextafter.c: Include <errno.h>.
11734         (__nextafter): Set errno on overflow and underflow.
11735         * math/s_nexttowardf.c: Include <errno.h>.
11736         (__nexttowardf): Set errno on overflow and underflow.
11737         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
11738         (__nextafterl): Set errno on overflow and underflow.
11739         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
11740         (__nexttoward): Set errno on overflow and underflow.
11741         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
11742         (__nexttowardf): Set errno on overflow and underflow.
11743         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
11744         (__nextafterf): Set errno on overflow and underflow.
11745         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
11746         (__nextafterl): Set errno on overflow and underflow.
11747         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
11748         (__nexttoward): Set errno on overflow and underflow.
11749         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
11750         (__nexttowardf): Set errno on overflow and underflow.
11751         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
11752         (__nextafterl): Set errno on overflow and underflow.
11753         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
11754         (__nexttoward): Set errno on overflow and underflow.
11755         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
11756         (__nexttowardf): Set errno on overflow and underflow.
11757         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
11758         (__nexttoward): Set errno on overflow and underflow.
11759         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
11760         (__nexttowardf): Set errno on overflow and underflow.
11761         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
11762         (__nldbl_nexttowardf): Set errno on overflow and underflow.
11763         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
11764         (__nextafterl): Set errno on overflow and underflow.
11765         * math/libm-test.inc (nextafter_test_data): Do not allow errno
11766         setting to be missing on overflow.  Add more tests.
11767         (nexttoward_test_data): Likewise.
11769         * configure.ac (libc_cv_initfini_array): Remove configure test.
11770         * configure: Regenerated.
11772 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
11774         [BZ #19189]
11775         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
11776         non-finite argument handle arguments with negative sign.
11778         * math/libm-test.inc (j0_test_data): Do not test sign of zero
11779         result from infinite argument.
11780         (j1_test_data): Likewise.
11781         (jn_test_data): Likewise.
11782         (y0_test_data): Likewise.
11783         (y1_test_data): Likewise.
11784         (yn_test_data): Likewise.
11786         [BZ #16171]
11787         * math/w_remainder.c (drem): Define as weak alias of __remainder.
11788         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
11789         * math/w_remainderf.c (dremf): Define as weak alias of
11790         __remainderf.
11791         * math/w_remainderl.c (dreml): Define as weak alias of
11792         __remainderl.
11793         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
11794         __remainder.
11795         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
11796         __remainderf.
11797         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
11798         __remainderl.
11799         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
11800         weak alias of remainderl.
11801         * sysdeps/ieee754/ldbl-opt/w_remainder.c
11802         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
11803         alias of __remainder.
11804         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
11805         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
11806         strong alias of __remainderl.
11807         (dreml): Use long_double_symbol.
11808         * math/Makefile (libm-calls): Remove w_drem.
11809         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
11810         (CFLAGS-nldbl-drem.c): Remove variable.
11811         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
11812         * math/w_drem.c: Remove file.
11813         * math/w_dremf.c: Likewise.
11814         * math/w_dreml.c: Likewise.
11815         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
11816         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
11817         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
11819         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
11820         * sysdeps/i386/configure: Regenerated.
11821         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
11822         * sysdeps/x86_64/configure: Regenerated.
11824         * configure.ac (libc_cv_asm_protected_directive): Remove configure
11825         test.
11826         (libc_cv_visibility_attribute): Likewise.
11827         (libc_cv_protected_data): Test unconditionally.
11828         (libc_cv_broken_visibility_attribute): Remove configure test.
11829         (libc_cv_have_sdata_section): Test unconditionally.
11830         * configure: Regenerated.
11832         * include/libc-internal.h (libc_max_align_t): Remove typedef.
11833         * include/scratch_buffer.h: Include <stddef.h> instead of
11834         <libc-internal.h>.
11835         (struct scratch_buffer): Use max_align_t instead of
11836         libc_max_align_t.
11838 2015-10-29  Florian Weimer  <fweimer@redhat.com>
11840         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
11841         instead of extend_alloca.  Change control flow to avoid a goto.
11842         Remove assert which is trivially always true.
11844 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11846         [BZ #16068]
11847         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
11848         (FE_ALL_EXCEPT_X86): New macro.
11849         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11850         FE_ALL_EXCEPT.  Ensure precision control is included in
11851         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11852         handle "denormal operand exception" and clear FZ and DAZ bits.
11853         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
11854         (FE_ALL_EXCEPT_X86): New macro.
11855         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
11856         FE_ALL_EXCEPT.  Ensure precision control is included in
11857         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
11858         handle "denormal operand exception" and clear FZ and DAZ bits.
11859         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
11860         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
11861         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11862         test-fenv-x87 and test-fenv-sse-2.
11863         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
11865         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
11866         * math/test-double.h (BUILD_COMPLEX): New macro.
11867         * math/test-float.h (BUILD_COMPLEX): Likewise.
11868         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
11870         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
11871         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
11872         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
11873         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
11874         instead of DBL_DENORM_MIN in comment.
11875         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
11876         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11877         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
11878         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
11879         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
11880         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
11882 2015-10-28  Florian Weimer  <fweimer@redhat.com>
11884         [BZ# 19048]
11885         * malloc/malloc.c (struct malloc_state): Update comment.  Add
11886         attached_threads member.
11887         (main_arena): Initialize attached_threads.
11888         * malloc/arena.c (list_lock): Update comment.
11889         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
11890         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
11891         (deattach_arena): New function.
11892         (_int_new_arena): Initialize arena reference count and deattach
11893         replaced arena.
11894         (get_free_list, reused_arena): Update reference count and deattach
11895         replaced arena.
11896         (arena_thread_freeres): Update arena reference count and only put
11897         unreferenced arenas on the free list.
11899 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11901         [BZ #19181]
11902         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
11903         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
11904         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
11905         * math/test-fenv-clear-main.c: New file.
11906         * math/test-fenv-clear.c: Likewise.
11907         * math/Makefile (tests): Add test-fenv-clear.
11908         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
11909         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11910         test-fenv-clear-sse.
11911         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
11913         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
11914         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
11915         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
11917 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11919         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
11920         static libc.
11922 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
11924         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
11925         test.
11926         * sysdeps/i386/configure: Regenerated.
11927         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
11928         test.
11929         * sysdeps/x86_64/configure: Regenerated.
11930         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
11931         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11932         memset-avx2 unconditionally instead of conditionally on
11933         [$(config-cflags-avx2) = yes].
11934         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11935         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
11936         unconditional.
11937         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
11938         * sysdeps/x86_64/multiarch/memset_chk.S
11939         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
11940         to [IS_IN (libc) && SHARED].
11942 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
11944         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
11945         configure test.
11946         * sysdeps/arm/configure: Regenerated.
11947         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
11948         Define variable if not already defined.
11950         [BZ #17404]
11951         * sysdeps/mips/atomic-machine.h
11952         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
11953         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
11954         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
11956         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
11957         unconditional.
11958         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
11959         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11960         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
11961         unconditional.
11962         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11963         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
11964         unconditional.
11965         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11966         * stdlib/setenv.c
11967         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
11968         code unconditional.
11969         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
11970         Remove conditional code.
11971         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
11972         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
11973         unconditional.
11974         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11975         code.
11976         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
11977         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
11978         unconditional.
11979         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11980         code.
11981         * sysdeps/ieee754/ldbl-128/k_tanl.c
11982         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11983         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11984         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
11985         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11986         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11987         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
11988         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
11989         unconditional.
11990         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
11991         code.
11992         * sysdeps/ieee754/ldbl-96/k_tanl.c
11993         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
11994         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
11996         * nptl/tst-initializers1-c11.c: New file.
11997         * nptl/tst-initializers1-gnu11.c: Likewise.
11998         * nptl/Makefile (tests): Add these new tests.
11999         (CFLAGS-tst-initializers1-c11.c): New variable.
12000         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
12002         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
12003         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
12004         instead of -std=gnu99.
12005         * configure.ac (systemtap): Test with -std=gnu11 instead of
12006         -std=gnu99.
12007         * configure: Regenerated.
12008         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12009         in compilation command in comment.
12011         * sysdeps/nptl/configure.ac: Remove file.
12012         * sysdeps/nptl/configure: Remove generated file.
12013         * configure.ac (libc_cv_forced_unwind): Do not substitute.
12014         * configure: Regenerated.
12015         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12016         * config.make.in (have-forced-unwind): Remove variable.
12017         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12018         unconditional.
12019         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12020         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12021         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12022         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12023         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12024         unconditional.
12026 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12028         [BZ #19174]
12029         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12030         .skip_lock_out_of_tbegin_retries.
12031         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12032         (__lll_lock_elision): Likewise, and respect a value of
12033         try_tbegin <= 0.
12035 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12037         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12038         statement.
12040 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12042         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12043         variable.
12044         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12045         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12047         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12048         of -std=c1x -D_ISOC11_SOURCE.
12050         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12051         * configure: Regenerated.
12052         * manual/install.texi (Tools for Compilation): Document
12053         requirement for GCC 4.7 or later.
12054         * INSTALL: Regenerated.
12056 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12058         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12059         on CNT to a conditional jump to 'puntdata'.
12061 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12063         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12064         (libc_cv_gcc_tls_model_attr): Likewise.
12065         * configure: Regenerated.
12067         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12068         * configure: Regenerated.
12069         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12071 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12073         * configure.ac (old_glibc_headers): Remove configure test.
12074         * configure: Regenerated.
12075         * config.make.in (old-glibc-headers): Remove variable.
12076         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12077         (install): Remove dependency on remove-old-headers.
12078         (headers2_0): Remove variable.
12079         (remove-old-headers): Remove rule.
12081         * configure.ac (libc_cv_dot_text): Remove configure test.
12082         (libc_cv_asm_set_directive): Use .text instead of
12083         ${libc_cv_dot_text} in configure test.
12084         * configure: Regenerated.
12086 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12088         [BZ #19168]
12089         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12091 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12093         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12094         not support static linking.
12095         * configure: Regenerate.
12097 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12099         * math/libm-test.inc (check_float_internal): Do not special-case
12100         errors up to 0.5 ulp.
12102         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12103         log2.
12104         * math/auto-libm-test-out: Regenerated.
12105         * math/libm-test.inc (MAX_EXP): New macro.
12106         (ilogb_test_data): Add more tests.
12107         (isfinite_test_data): Likewise.
12108         (isgreater_test_data): Likewise.
12109         (isgreaterequal_test_data): Likewise.
12110         (isinf_test_data): Likewise.
12111         (isless_test_data): Likewise.
12112         (islessequal_test_data): Likewise.
12113         (islessgreater_test_data): Likewise.
12114         (isnan_test_data): Likewise.
12115         (isnormal_test_data): Likewise.
12116         (issignaling_test_data): Likewise.
12117         (isunordered_test_data): Likewise.
12118         (j0_test_data): Likewise.
12119         (j1_test_data): Likewise.
12120         (jn_test_data): Likewise.
12121         (lgamma_test_data): Likewise.
12122         (log_test_data): Likewise.
12123         (log10_test_data): Likewise.
12124         (log1p_test_data): Likewise.
12125         (log2_test_data): Likewise.
12126         (logb_test_data): Likewise.
12127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12129         [BZ #18611]
12130         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12131         avoid excess range and precision on underflow.
12132         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12133         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12134         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12135         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12136         underflow.
12137         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12138         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12139         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12140         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12141         * math/auto-libm-test-in: Do not allow missing errno setting for
12142         tests of j1 and jn.
12143         * math/auto-libm-test-out: Regenerated.
12145 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12147         [BZ #15491]
12148         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12149         floating-point environment instead of clearing all exceptions.
12150         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12151         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12152         merging in "invalid" exceptions from frndint.
12153         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12154         * math/test-nearbyint-except.c: New file.
12155         * math/Makefile (tests): Add test-nearbyint-except.
12157 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12159         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12161         * sysdeps/tile/libm-test-ulps: Regenerated.
12163 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12166         (__NR_sync_file_range2): Assume it is always defined.
12167         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12168         (__NR_sync_file_range): Assume it is always defined.
12170 2015-10-22  Andreas Schwab  <schwab@suse.de>
12172         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12173         INTERNAL_SYSCALL_ERRNO.
12174         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12175         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12176         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12177         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12178         Likewise.
12179         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12181 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12183         * io/tst-fcntl.c (fd): New static variable.
12184         (do_prepare): Open temporary file here....
12185         (do_test): ...not here.
12187         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12189 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12191         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12192         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12193         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12194         Moved before "#ifdef __ASSEMBLER__".
12196 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12198         [BZ #19156]
12199         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12200         arguments very close to 0.
12202 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12204         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12205         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12207 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12209         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12210         New.  Defined for GCC 5 and above when not compiling for
12211         profiling.
12212         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12214         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12215         Renamed to ...
12216         (CFLAGS-epoll_pwait.o): This.
12217         (CFLAGS-mmap.c): Renamed to ...
12218         (CFLAGS-mmap.o): This.
12219         (CFLAGS-mmap64.c): Renamed to ...
12220         (CFLAGS-mmap64.o): This.
12221         (CFLAGS-epoll_pwait.os): New.
12222         (CFLAGS-mmap.os): Likewise.
12223         (CFLAGS-mmap64.os): Likewise.
12224         (CFLAGS-semtimedop.os): Likewise.
12225         (CFLAGS-semtimedop.c): Renamed to ...
12226         (CFLAGS-semtimedop.o): This.
12228 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12230         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12231         warning message.
12233 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12235         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12236         * Makefile ($(objpfx)c++-types-check.out): Filter out
12237         $(+gccwarn-c) instead of -Wstrict-prototypes.
12239         * io/fts.c (fts_open): Convert to prototype-style function
12240         definition.
12241         * malloc/mcheck.c (mcheck): Likewise.
12242         (mcheck_pedantic): Likewise.
12243         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12244         internal_function.
12245         (re_search_internal): Likewise.
12246         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12247         prototype-style function definition.
12248         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12249         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12250         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12251         (xdr_utmpptr): Likewise.
12252         (xdr_utmparr): Likewise.
12253         (xdr_utmpidle): Likewise.
12254         (xdr_utmpidleptr): Likewise.
12255         (xdr_utmpidlearr): Likewise.
12257         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12258         log, log10 and log2.
12259         * math/auto-libm-test-out: Regenerated.
12260         * math/libm-test.inc (fmod_test_data): Add more tests.
12261         (fpclassify_test_data): Likewise.
12262         (frexp_test_data): Likewise.
12263         (hypot_test_data): Likewise.
12264         (ilogb_test_data): Likewise.
12266 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12268         * debug/fortify_fail.c (__fortify_fail): Convert to
12269         prototype-style function definition.  Use internal_function.
12270         * libio/genops.c (save_for_backup): Convert to prototype-style
12271         function definition.
12272         * libio/wgenops.c (save_for_wbackup): Likewise.
12273         * login/grantpt.c (grantpt): Likewise.
12274         * login/ptsname.c (ptsname): Likewise.
12275         (__ptsname_r): Likewise.
12276         * login/unlockpt.c (unlockpt): Likewise.
12277         * mach/msgserver.c (__mach_msg_server): Likewise.
12278         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12279         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12280         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12281         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12282         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12283         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12284         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12285         Likewise.
12286         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12287         internal_function.
12288         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12289         prototype-style function definition.
12290         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12291         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12292         (__pthread_create_2_0): Likewise.
12293         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12294         * nptl/register-atfork.c (__register_atfork): Likewise.
12295         * posix/glob.c (glob): Likewise.
12296         * posix/regcomp.c (re_comp): Likewise.
12297         * posix/regexec.c (re_exec): Likewise.
12298         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12299         [!__STDC__]: Remove conditional code.
12300         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12301         [!__STDC__]: Remove conditional code.
12302         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12303         [!__STDC__]: Remove conditional code.
12304         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12305         [!__STDC__]: Remove conditional code.
12306         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12307         [!__STDC__]: Remove conditional code.
12308         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12309         [!__STDC__]: Remove conditional code.
12310         * stdlib/mul.c [__STDC__]: Make code unconditional.
12311         [!__STDC__]: Remove conditional code.
12312         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12313         [!__STDC__]: Remove conditional code.
12314         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12315         [!__STDC__]: Remove conditional code.
12316         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12317         function definition.
12318         (STRTOF): Likewise.
12319         * stdlib/strtod_l.c (__STRTOF): Likewise.
12320         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12321         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12322         (__strtol_l): Likewise.
12323         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12324         [!__STDC__]: Remove conditional code.
12325         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12326         definition.
12327         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12328         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12329         type.
12330         (__strcasecmp): Convert to prototype-style function definition.
12331         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12332         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12333         type.
12334         (__strncasecmp): Convert to prototype-style function definition.
12335         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12336         * sunrpc/xdr.c (xdr_union): Likewise.
12337         * sunrpc/xdr_array.c (xdr_array): Likewise.
12338         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12339         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12340         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12341         Likewise.
12342         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12343         Likewise.
12344         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12345         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12346         Likewise.
12347         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12348         (LOCALE_PARAM_PROTO): Likewise.
12349         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12350         argument type.
12351         (ut_argument_spec): Remove macro.
12352         (ut_argument_spec_iso): Rename to ut_argument_spec.
12353         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12354         prototype-style function definition.
12355         (memcpy_uppcase): Likewise.
12356         (__strftime_internal): Likewise.
12357         (my_strftime): Likewise.
12358         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12359         (LOCALE_PARAM_DECL): Likewise.
12360         [_LIBC] (LOCALE_PARAM): Include argument type.
12361         (__strptime_internal): Convert to prototype-style function
12362         definition.
12363         (strptime): Likewise.
12364         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12365         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12366         type.
12367         (__wcscasecmp): Convert to prototype-style function definition.
12368         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12369         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12370         type.
12371         (__wcsncasecmp): Convert to prototype-style function definition.
12373         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12374         function definition.
12375         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12376         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12377         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12378         * elf/dl-minimal.c (_itoa): Likewise.
12379         * hurd/hurdmalloc.c (malloc): Likewise.
12380         (free): Likewise.
12381         (realloc): Likewise.
12382         * inet/inet6_option.c (inet6_option_space): Likewise.
12383         (inet6_option_init): Likewise.
12384         (inet6_option_append): Likewise.
12385         (inet6_option_alloc): Likewise.
12386         (inet6_option_next): Likewise.
12387         (inet6_option_find): Likewise.
12388         * io/ftw.c (FTW_NAME): Likewise.
12389         (NFTW_NAME): Likewise.
12390         (NFTW_NEW_NAME): Likewise.
12391         (NFTW_OLD_NAME): Likewise.
12392         * libio/iofwide.c (_IO_fwide): Likewise.
12393         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12394         (_IO_str_init_static): Likewise.
12395         (_IO_str_init_readonly): Likewise.
12396         (_IO_str_overflow): Likewise.
12397         (_IO_str_underflow): Likewise.
12398         (_IO_str_count): Likewise.
12399         (_IO_str_seekoff): Likewise.
12400         (_IO_str_pbackfail): Likewise.
12401         (_IO_str_finish): Likewise.
12402         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12403         (_IO_wstr_overflow): Likewise.
12404         (_IO_wstr_underflow): Likewise.
12405         (_IO_wstr_count): Likewise.
12406         (_IO_wstr_seekoff): Likewise.
12407         (_IO_wstr_pbackfail): Likewise.
12408         (_IO_wstr_finish): Likewise.
12409         * locale/programs/localedef.c (normalize_codeset): Likewise.
12410         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12411         (add_locales_to_archive): Likewise.
12412         (delete_locales_from_archive): Likewise.
12413         * malloc/malloc.c (__libc_mallinfo): Likewise.
12414         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12415         * misc/tsearch.c (__tfind): Likewise.
12416         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12417         * nptl/pthread_attr_getdetachstate.c
12418         (__pthread_attr_getdetachstate): Likewise.
12419         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12420         Likewise.
12421         * nptl/pthread_attr_getinheritsched.c
12422         (__pthread_attr_getinheritsched): Likewise.
12423         * nptl/pthread_attr_getschedparam.c
12424         (__pthread_attr_getschedparam): Likewise.
12425         * nptl/pthread_attr_getschedpolicy.c
12426         (__pthread_attr_getschedpolicy): Likewise.
12427         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12428         Likewise.
12429         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12430         Likewise.
12431         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12432         Likewise.
12433         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12434         Likewise.
12435         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12436         (__pthread_attr_init_2_0): Likewise.
12437         * nptl/pthread_attr_setdetachstate.c
12438         (__pthread_attr_setdetachstate): Likewise.
12439         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12440         Likewise.
12441         * nptl/pthread_attr_setinheritsched.c
12442         (__pthread_attr_setinheritsched): Likewise.
12443         * nptl/pthread_attr_setschedparam.c
12444         (__pthread_attr_setschedparam): Likewise.
12445         * nptl/pthread_attr_setschedpolicy.c
12446         (__pthread_attr_setschedpolicy): Likewise.
12447         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12448         Likewise.
12449         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12450         Likewise.
12451         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12452         Likewise.
12453         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12454         Likewise.
12455         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12456         Likewise.
12457         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12458         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12459         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12460         use internal_function.
12461         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12462         prototype-style function definition.
12463         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12464         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12465         internal_function.
12466         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12467         Convert to prototype-style function definition.
12468         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12469         Likewise.
12470         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12471         Likewise.
12472         (__pthread_mutex_unlock): Likewise.
12473         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12474         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12475         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12476         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12477         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12478         * nss/makedb.c (process_input): Likewise.
12479         * posix/fnmatch.c (__strchrnul): Likewise.
12480         (__wcschrnul): Likewise.
12481         (fnmatch): Likewise.
12482         * posix/fnmatch_loop.c (FCT): Likewise.
12483         * posix/glob.c (globfree): Likewise.
12484         (__glob_pattern_type): Likewise.
12485         (__glob_pattern_p): Likewise.
12486         * posix/regcomp.c (re_compile_pattern): Likewise.
12487         (re_set_syntax): Likewise.
12488         (re_compile_fastmap): Likewise.
12489         (regcomp): Likewise.
12490         (regerror): Likewise.
12491         (regfree): Likewise.
12492         * posix/regexec.c (regexec): Likewise.
12493         (re_match): Likewise.
12494         (re_search): Likewise.
12495         (re_match_2): Likewise.
12496         (re_search_2): Likewise.
12497         (re_search_stub): Likewise.  Use internal_function
12498         (re_copy_regs): Likewise.
12499         (re_set_registers): Convert to prototype-style function
12500         definition.
12501         (prune_impossible_nodes): Likewise.  Use internal_function.
12502         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12503         prototype-style function definition.
12504         (inet_net_pton_ipv4): Likewise.
12505         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12506         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12507         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12508         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12509         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12510         Make variadic.
12511         * time/strptime_l.c (localtime_r): Convert to prototype-style
12512         function definition.
12513         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12514         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12515         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12516         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12518         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12519         definition.
12520         (_ufc_doit_r): Likewise.
12521         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12522         (_ufc_output_conversion_r): Likewise.
12523         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12524         * inet/rcmd.c (rcmd_af): Likewise.
12525         (rcmd): Likewise.
12526         (ruserok_af): Likewise.
12527         (ruserok): Likewise.
12528         (ruserok2_sa): Likewise.
12529         (ruserok_sa): Likewise.
12530         (iruserok_af): Likewise.
12531         (iruserok): Likewise.
12532         (__ivaliduser): Likewise.
12533         (__validuser2_sa): Likewise.
12534         * inet/rexec.c (rexec_af): Likewise.
12535         (rexec): Likewise.
12536         * inet/ruserpass.c (ruserpass): Likewise.
12537         * locale/programs/xmalloc.c (xcalloc): Likewise.
12538         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
12539         * math/w_drem.c (__drem): Likewise.
12540         * math/w_dremf.c (__dremf): Likewise.
12541         * math/w_dreml.c (__dreml): Likewise.
12542         * misc/daemon.c (daemon): Likewise.
12543         * resolv/res_debug.c (p_fqnname): Likewise.
12544         * stdlib/div.c (div): Likewise.
12545         * string/memcmp.c (memcmp_bytes): Likewise.
12546         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
12547         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
12549         * crypt/cert.c (main): Convert to prototype-style function
12550         definition.
12551         * io/pipe.c (__pipe): Likewise.
12552         * io/pipe2.c (__pipe2): Likewise.
12553         * misc/futimesat.c (futimesat): Likewise.
12554         * misc/utimes.c (__utimes): Likewise.
12555         * posix/execve.c (__execve): Likewise.
12556         * posix/execvp.c (execvp): Likewise.
12557         * posix/execvpe.c (__execvpe): Likewise.
12558         * posix/fexecve.c (fexecve): Likewise.
12559         * socket/socketpair.c (socketpair): Likewise.
12560         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
12561         * stdlib/erand48.c (erand48): Likewise.
12562         * stdlib/erand48_r.c (__erand48_r): Likewise.
12563         * stdlib/jrand48.c (jrand48): Likewise.
12564         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
12565         * stdlib/lcong48.c (lcong48): Likewise.
12566         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
12567         * stdlib/nrand48.c (nrand48): Likewise.
12568         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
12569         * stdlib/seed48.c (seed48): Likewise.
12570         * stdlib/seed48_r.c (__seed48_r): Likewise.
12571         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
12572         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
12573         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
12575 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12577         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
12578         * configure: Regenerated.
12579         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
12580         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
12581         unconditional.
12582         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12583         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12584         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12585         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
12586         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
12587         unconditional.
12588         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
12590         * posix/Makefile (CFLAGS-regex.c): Remove variable.
12591         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
12593         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
12594         function definition.
12595         * crypt/crypt_util.c (__encrypt_r): Likewise.
12596         * libio/genops.c (_IO_no_init): Likewise.
12597         * libio/iofopncook.c (_IO_fopencookie): Likewise.
12598         (_IO_old_fopencookie): Likewise.
12599         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12600         * libio/iogetline.c (_IO_getline): Likewise.
12601         (_IO_getline_info): Likewise.
12602         * libio/iogetwline.c (_IO_getwline): Likewise.
12603         (_IO_getwline_info): Likewise.
12604         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
12605         * libio/vswprintf.c (_IO_vswprintf): Likewise.
12606         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
12607         (find_entry): Likewise.
12608         (iterate_table): Likewise.
12609         (lookup): Likewise.
12610         * login/forkpty.c (forkpty): Likewise.
12611         * misc/hsearch_r.c (__hsearch_r): Likewise.
12612         * misc/select.c (__select): Likewise.
12613         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
12614         Likewise.
12615         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
12616         Likewise.
12617         * nptl/old_pthread_cond_timedwait.c
12618         (__pthread_cond_timedwait_2_0): Likewise.
12619         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
12620         * nptl/pthread_barrierattr_getpshared.c
12621         (pthread_barrierattr_getpshared): Likewise.
12622         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
12623         Likewise.
12624         * nptl/pthread_mutex_setprioceiling.c
12625         (pthread_mutex_setprioceiling): Likewise.
12626         * nptl/pthread_mutexattr_getprioceiling.c
12627         (pthread_mutexattr_getprioceiling): Likewise.
12628         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
12629         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
12630         Likewise.
12631         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
12632         Likewise.
12633         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
12634         Likewise.
12635         * socket/recvfrom.c (__recvfrom): Likewise.
12636         * socket/sendto.c (__sendto): Likewise.
12637         * socket/setsockopt.c (__setsockopt): Likewise.
12638         * stdio-common/_itoa.c (_itoa): Likewise.
12639         * stdio-common/_itowa.c (_itowa): Likewise.
12640         * stdio-common/reg-printf.c (__register_printf_specifier):
12641         Likewise.
12642         (__register_printf_function): Likewise.
12643         * stdio-common/tempname.c (__path_search): Likewise.
12644         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
12645         * stdlib/mul_1.c (mpn_mul_1): Likewise.
12646         * stdlib/random_r.c (__initstate_r): Likewise.
12647         * stdlib/setenv.c (__add_to_environ): Likewise.
12648         * stdlib/submul_1.c (mpn_submul_1): Likewise.
12649         * streams/getpmsg.c (getpmsg): Likewise.
12650         * streams/putmsg.c (putmsg): Likewise.
12651         * streams/putpmsg.c (putpmsg): Likewise.
12652         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
12653         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
12654         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
12655         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
12656         * sunrpc/pm_getport.c (pmap_getport): Likewise.
12657         * sunrpc/svc_udp.c (cache_get): Likewise.
12658         * sunrpc/xdr_array.c (xdr_vector): Likewise.
12659         * sysdeps/mach/hurd/getcwd.c
12660         (__canonicalize_directory_name_internal): Likewise.
12661         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
12662         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
12663         * sysdeps/mach/hurd/select.c (__select): Likewise.
12664         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
12665         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
12666         * sysdeps/sparc/nptl/pthread_barrier_init.c
12667         (__pthread_barrier_init): Likewise.
12668         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
12669         (__pthread_cond_timedwait): Likewise.
12670         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
12671         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
12672         Likewise.
12673         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
12674         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
12675         Likewise.
12676         * sysvipc/semtimedop.c (semtimedop): Likewise.
12677         * time/setitimer.c (__setitimer): Likewise.
12678         * time/strftime_l.c (emacs_strftime): Likewise.
12680 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12682         * config.make.in (have-ssp): Delete.
12683         (stack-protector): New variable.
12684         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
12685         cache test for -fstack-protector-strong.  Export stack_protector to
12686         the best ssp flag.
12687         * configure: Regenerated.
12688         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
12689         * nscd/Makefile (CFLAGS-nscd): Likewise.
12690         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12692 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
12694         [BZ #19122]
12695         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
12696         attribute_hidden.
12698 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12700         [BZ #18743]
12701         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
12702         code to...
12703         (ELIDE_LOCK): ...here.
12704         (__get_new_count): New function with part of the code from
12705         __elide_lock that updates the value of adapt_count after a
12706         transaction abort.
12707         (__elided_trylock): Moved this code to...
12708         (ELIDE_TRYLOCK): ...here.
12710 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
12712         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
12713         * configure: Regenerate.
12714         * INSTALL: Regenerate.
12715         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
12716         and tweak grammar.
12718 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
12720         * login/programs/pt_chown.c: Include signal.h
12721         (main): Clear any signal mask from the parent process.
12723 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
12725         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
12726         * configure: Regenerated.
12727         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
12728         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
12729         $(gnu89-inline-CFLAGS).
12731         * configure.ac (libc_cv_asm_weak_directive): Remove configure
12732         test.
12733         (libc_cv_asm_weakext_directive): Likewise.
12734         * configure: Regenerated.
12735         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
12736         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
12737         * include/libc-symbols.h
12738         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
12739         #error.
12740         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
12741         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
12743         * sysdeps/arm/backtrace.c (__backtrace): Convert to
12744         prototype-style function definition.
12745         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12746         * sysdeps/i386/ffs.c (__ffs): Likewise.
12747         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
12748         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
12749         Likewise.
12750         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12751         Likewise.
12752         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
12753         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12754         Likewise.
12755         * sysdeps/m68k/ffs.c (__ffs): Likewise.
12756         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
12757         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
12758         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
12759         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
12760         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
12761         * sysdeps/mach/hurd/access.c (__access): Likewise.
12762         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
12763         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
12764         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
12765         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
12766         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
12767         (cthread_getspecific): Likewise.
12768         (cthread_setspecific): Likewise.
12769         (__libc_getspecific): Likewise.
12770         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
12771         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
12772         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
12773         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
12774         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
12775         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
12776         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
12777         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
12778         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
12779         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
12780         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
12781         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
12782         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
12783         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
12784         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
12785         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
12786         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
12787         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
12788         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
12789         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
12790         * sysdeps/mach/hurd/link.c (__link): Likewise.
12791         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
12792         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
12793         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
12794         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
12795         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
12796         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
12797         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
12798         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
12799         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12800         * sysdeps/mach/hurd/rename.c (rename): Likewise.
12801         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
12802         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
12803         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
12804         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
12805         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
12806         * sysdeps/mach/hurd/send.c (__send): Likewise.
12807         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
12808         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
12809         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
12810         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
12811         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
12812         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
12813         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
12814         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
12815         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
12816         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
12817         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
12818         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
12819         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
12820         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
12821         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
12822         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
12823         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
12824         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
12825         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
12826         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12827         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
12828         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
12829         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
12830         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
12831         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
12832         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
12833         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
12834         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
12835         * sysdeps/posix/alarm.c (alarm): Likewise.
12836         * sysdeps/posix/cuserid.c (cuserid): Likewise.
12837         * sysdeps/posix/dirfd.c (dirfd): Likewise.
12838         * sysdeps/posix/dup.c (__dup): Likewise.
12839         * sysdeps/posix/dup2.c (__dup2): Likewise.
12840         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
12841         (main): Likewise.
12842         * sysdeps/posix/flock.c (__flock): Likewise.
12843         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
12844         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
12845         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
12846         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
12847         * sysdeps/posix/isatty.c (__isatty): Likewise.
12848         * sysdeps/posix/killpg.c (killpg): Likewise.
12849         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
12850         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
12851         * sysdeps/posix/raise.c (raise): Likewise.
12852         * sysdeps/posix/remove.c (remove): Likewise.
12853         * sysdeps/posix/rename.c (rename): Likewise.
12854         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
12855         * sysdeps/posix/seekdir.c (seekdir): Likewise.
12856         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
12857         * sysdeps/posix/sigignore.c (sigignore): Likewise.
12858         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
12859         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
12860         * sysdeps/posix/sigset.c (sigset): Likewise.
12861         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
12862         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
12863         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
12864         * sysdeps/posix/time.c (time): Likewise.
12865         * sysdeps/posix/ttyname.c (getttyname): Likewise.
12866         (ttyname): Likewise.
12867         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
12868         * sysdeps/posix/utime.c (utime): Likewise.
12869         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
12870         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
12871         Likewise.
12872         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
12873         (pthread_spin_trylock): Likewise.
12874         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
12875         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
12876         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
12877         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
12878         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
12879         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
12880         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
12881         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
12882         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
12883         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
12884         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
12885         * sysdeps/s390/ffs.c (__ffs): Likewise.
12886         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
12887         Likewise.
12888         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
12889         Likewise.
12890         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
12891         Likewise.
12892         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
12893         (pthread_barrier_destroy): Likewise.
12894         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12895         (__pthread_barrier_wait): Likewise.
12896         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
12897         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12898         (__pthread_barrier_wait): Likewise.
12899         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
12900         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
12901         (memcmp_not_common_alignment): Likewise.
12902         (MEMCMP): Likewise.
12903         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
12904         (_wordcopy_fwd_dest_aligned): Likewise.
12905         (_wordcopy_bwd_aligned): Likewise.
12906         (_wordcopy_bwd_dest_aligned): Likewise.
12907         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
12908         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
12909         * sysdeps/unix/bsd/stty.c (stty): Likewise.
12910         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
12911         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
12912         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
12913         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
12914         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
12915         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
12916         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
12917         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
12918         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12919         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
12920         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
12921         * sysdeps/unix/stime.c (stime): Likewise.
12922         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
12923         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
12924         Likewise.  Use internal_function.
12925         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
12926         Convert to prototype-style function definition.
12927         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12928         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12929         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
12930         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
12931         Likewise.  Use internal_function.
12932         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
12933         prototype-style function definition
12934         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12935         Likewise.
12936         (__getlogin_r): Likewise.
12937         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
12938         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
12939         (__pthread_cond_broadcast): Likewise.
12940         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
12941         (__pthread_cond_destroy): Likewise.
12942         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
12943         (__pthread_cond_init): Likewise.
12944         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
12945         (__pthread_cond_signal): Likewise.
12946         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
12947         (__pthread_cond_wait): Likewise.
12948         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
12949         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12950         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
12951         Likewise.
12952         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
12953         Likewise.
12954         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
12955         Likewise.
12956         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
12957         Likewise.
12958         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
12959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
12960         (__ftruncate64): Likewise.
12961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
12962         (truncate64): Likewise.
12963         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
12964         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
12965         (pthread_getcpuclockid): Likewise.
12966         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
12967         Likewise.
12968         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
12969         Likewise.
12970         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
12971         Likewise.
12972         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
12973         Likewise.
12974         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
12975         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
12976         (__libc_sigaction): Likewise.
12977         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
12978         Likewise.
12979         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
12980         (__sigprocmask): Likewise.
12981         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
12982         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
12983         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
12984         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12985         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
12986         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
12987         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
12988         Likewise.
12989         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
12990         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
12991         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
12992         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
12993         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
12994         Likewise.
12995         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
12996         (__sigprocmask): Likewise.
12997         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
12998         (cfgetispeed): Likewise.
12999         (cfsetospeed): Likewise.
13000         (cfsetispeed): Likewise.
13001         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
13002         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
13003         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13004         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13005         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
13006         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
13007         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
13008         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13009         Likewise.
13010         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13011         Likewise.
13012         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13013         Likewise.
13014         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13015         Likewise.
13016         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13018 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13020         sunrpc: Rewrite with explicit TLS access using __thread.
13021         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13022         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13023         directly.
13024         (__rpc_thread_variables): Access thread_rpc_vars directly.
13025         Eliminate redundant assignment of the tvp variable.
13027 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13029         malloc: Rewrite with explicit TLS access using __thread.
13030         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13031         (tsd_setspecific, tsd_getspecific): Remove.
13032         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13033         (tsd_setspecific, tsd_getspecific): Likewise.
13034         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13035         (tsd_setspecific, tsd_getspecific): Likewise.
13036         * malloc/arena.c (thread_arena): New TLS variable.
13037         (arena_key): Remove variable.
13038         (arena_get): Use thread_arena.
13039         (arena_lookup): Remove macro.
13040         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13041         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13042         (_int_new_arena, get_free_list, reused_arena)
13043         (arena_thread_freeres): Use thread_arena.
13044         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13045         tsd_getspecific, tsd_setspecific from safety annotations.
13046         (Allocating Cleared Space): Remove arena_lookup from safety
13047         annotations.
13049 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13051         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13052         struct scratch_buffer instead of extend_alloca.
13054 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13056         * sysdeps/unix/sysv/linux/kernel-features.h
13057         (__ASSUME_SOCK_CLOEXEC): Remove.
13058         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13059         (__have_paccept): Remove unused macro.
13060         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13061         * misc/syslog.c (openlog_internal): Remove fallback code for
13062         !__ASSUME_SOCK_CLOEXEC.
13063         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13064         missing SOCK_CLOEXEC.
13065         * nscd/connections.c (have_sock_cloexec): Remove definition.
13066         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13067         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13068         !__ASSUME_SOCK_CLOEXEC.
13069         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13070         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13071         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13072         definition.
13073         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13074         code for !__ASSUME_SOCK_CLOEXEC.
13076 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13078         [BZ #18982]
13079         * manual/stdio.texi (Variable Arguments Output): Add portability
13080         note, explaining that vfprintf clobbers the va_list pointer.
13082 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13084         * math/libm-test.inc (fabs_test_data): Add more tests.
13085         (fdim_test_data): Likewise.
13086         (fma_test_data): Likewise.
13087         (fmax_test_data): Likewise.
13088         (fmin_test_data): Likewise.
13089         (fmod_test_data): Likewise.
13091 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13093         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13094         data.
13096 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13098         * math/libm-test.inc (ceil_test_data): Add more tests and more
13099         expectations for "inexact".
13100         (floor_test_data): Add more tests.
13101         (round_test_data): Likewise.
13102         (trunc_test_data): Likewise.
13104         * crypt/cert.c (good_bye): Convert to prototype-style function
13105         definition.
13106         (get8): Likewise.
13107         (put8): Likewise.
13108         * crypt/crypt-entry.c (crypt): Likewise.
13109         (__fcrypt): Likewise.
13110         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13111         (_ufc_set_bits): Likewise.
13112         (_ufc_clearmem): Likewise.
13113         (__init_des_r): Likewise.
13114         (shuffle_sb): Likewise.
13115         (shuffle_sb): Likewise.
13116         (_ufc_setup_salt_r): Likewise.
13117         (_ufc_mk_keytab_r): Likewise.
13118         (_ufc_dofinalperm_r): Likewise.
13119         (encrypt): Likewise.
13120         (__setkey_r): Likewise.
13121         (setkey): Likewise.
13122         * crypt/md5.c (md5_init_ctx): Likewise.
13123         (md5_read_ctx): Likewise.
13124         (md5_finish_ctx): Likewise.
13125         (md5_stream): Likewise.
13126         (md5_buffer): Likewise.
13127         (md5_process_bytes): Likewise.
13128         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13129         (__sha256_finish_ctx): Likewise.
13130         (__sha256_process_bytes): Likewise.
13131         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13132         (__sha512_finish_ctx): Likewise.
13133         (__sha512_process_bytes): Likewise.
13134         * ctype/isctype.c (__isctype): Likewise.
13135         * debug/backtrace.c (__backtrace): Likewise.
13136         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13137         * debug/fgets_chk.c (__fgets_chk): Likewise.
13138         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13139         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13140         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13141         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13142         * debug/memset_chk.c (__memset_chk): Likewise.
13143         * debug/strcat_chk.c (__strcat_chk): Likewise.
13144         * debug/strncat_chk.c (__strncat_chk): Likewise.
13145         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13146         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13147         * dirent/dirfd.c (dirfd): Likewise.
13148         * dirent/getdents.c (__getdirentries): Likewise.
13149         * dirent/getdents64.c (getdirentries64): Likewise.
13150         * dirent/rewinddir.c (__rewinddir): Likewise.
13151         * dirent/seekdir.c (seekdir): Likewise.
13152         * dirent/telldir.c (telldir): Likewise.
13153         * elf/sln.c (makesymlinks): Likewise.
13154         (makesymlink): Likewise.
13155         * gmon/gmon.c (__moncontrol): Likewise.
13156         (__monstartup): Likewise.
13157         (write_hist): Likewise.
13158         (write_call_graph): Likewise.
13159         (write_bb_counts): Likewise.
13160         * grp/setgroups.c (setgroups): Likewise.
13161         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13162         * inet/inet_net.c (inet_network): Likewise.
13163         * inet/inet_netof.c (inet_netof): Likewise.
13164         * inet/rcmd.c (rresvport_af): Likewise.
13165         (rresvport): Likewise.
13166         * io/access.c (__access): Likewise.
13167         * io/chdir.c (__chdir): Likewise.
13168         * io/chmod.c (__chmod): Likewise.
13169         * io/chown.c (__chown): Likewise.
13170         * io/close.c (__close): Likewise.
13171         * io/creat.c (creat): Likewise.
13172         * io/creat64.c (creat64): Likewise.
13173         * io/dup.c (__dup): Likewise.
13174         * io/dup2.c (__dup2): Likewise.
13175         * io/dup3.c (__dup3): Likewise.
13176         * io/euidaccess.c (__euidaccess): Likewise.
13177         * io/faccessat.c (faccessat): Likewise.
13178         * io/fchmod.c (__fchmod): Likewise.
13179         * io/fchmodat.c (fchmodat): Likewise.
13180         * io/fchown.c (__fchown): Likewise.
13181         * io/fchownat.c (fchownat): Likewise.
13182         * io/fcntl.c (__fcntl): Likewise.
13183         * io/flock.c (__flock): Likewise.
13184         * io/fts.c (fts_load): Likewise.
13185         (fts_close): Likewise.
13186         (fts_read): Likewise.
13187         (fts_set): Likewise.
13188         (fts_children): Likewise.
13189         (fts_build): Likewise.
13190         (fts_stat): Likewise.
13191         (fts_sort): Likewise.
13192         (fts_alloc): Likewise.
13193         (fts_lfree): Likewise.
13194         (fts_palloc): Likewise.
13195         (fts_padjust): Likewise.
13196         (fts_maxarglen): Likewise.
13197         (fts_safe_changedir): Likewise.
13198         * io/getwd.c (getwd): Likewise.
13199         * io/isatty.c (__isatty): Likewise.
13200         * io/lchown.c (__lchown): Likewise.
13201         * io/link.c (__link): Likewise.
13202         * io/linkat.c (linkat): Likewise.
13203         * io/lseek.c (__libc_lseek): Likewise.
13204         * io/mkdir.c (__mkdir): Likewise.
13205         * io/mkdirat.c (mkdirat): Likewise.
13206         * io/mkfifo.c (mkfifo): Likewise.
13207         * io/mkfifoat.c (mkfifoat): Likewise.
13208         * io/open.c (__libc_open): Likewise.
13209         * io/open64.c (__libc_open64): Likewise.
13210         * io/readlink.c (__readlink): Likewise.
13211         * io/readlinkat.c (readlinkat): Likewise.
13212         * io/rmdir.c (__rmdir): Likewise.
13213         * io/symlink.c (__symlink): Likewise.
13214         * io/symlinkat.c (symlinkat): Likewise.
13215         * io/ttyname.c (ttyname): Likewise.
13216         * io/ttyname_r.c (__ttyname_r): Likewise.
13217         * io/umask.c (__umask): Likewise.
13218         * io/unlink.c (__unlink): Likewise.
13219         * io/unlinkat.c (unlinkat): Likewise.
13220         * io/utime.c (utime): Likewise.
13221         * libio/clearerr.c (clearerr): Likewise.
13222         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13223         * libio/feof.c (_IO_feof): Likewise.
13224         * libio/feof_u.c (feof_unlocked): Likewise.
13225         * libio/ferror.c (_IO_ferror): Likewise.
13226         * libio/ferror_u.c (ferror_unlocked): Likewise.
13227         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13228         * libio/fileno.c (__fileno): Likewise.
13229         * libio/fputc.c (fputc): Likewise.
13230         * libio/fputc_u.c (fputc_unlocked): Likewise.
13231         * libio/fputwc.c (fputwc): Likewise.
13232         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13233         * libio/freopen.c (freopen): Likewise.
13234         * libio/freopen64.c (freopen64): Likewise.
13235         * libio/fseek.c (fseek): Likewise.
13236         * libio/fseeko.c (fseeko): Likewise.
13237         * libio/fseeko64.c (fseeko64): Likewise.
13238         * libio/ftello.c (__ftello): Likewise.
13239         * libio/ftello64.c (ftello64): Likewise.
13240         * libio/fwide.c (fwide): Likewise.
13241         * libio/genops.c (_IO_un_link): Likewise.
13242         (_IO_link_in): Likewise.
13243         (_IO_least_marker): Likewise.
13244         (_IO_switch_to_main_get_area): Likewise.
13245         (_IO_switch_to_backup_area): Likewise.
13246         (_IO_switch_to_get_mode): Likewise.
13247         (_IO_free_backup_area): Likewise.
13248         (_IO_switch_to_put_mode): Likewise.
13249         (__overflow): Likewise.
13250         (__underflow): Likewise.
13251         (__uflow): Likewise.
13252         (_IO_setb): Likewise.
13253         (_IO_doallocbuf): Likewise.
13254         (_IO_default_underflow): Likewise.
13255         (_IO_default_uflow): Likewise.
13256         (_IO_default_xsputn): Likewise.
13257         (_IO_sgetn): Likewise.
13258         (_IO_default_xsgetn): Likewise.
13259         (_IO_sync): Likewise.
13260         (_IO_default_setbuf): Likewise.
13261         (_IO_default_seekpos): Likewise.
13262         (_IO_default_doallocate): Likewise.
13263         (_IO_init): Likewise.
13264         (_IO_old_init): Likewise.
13265         (_IO_default_sync): Likewise.
13266         (_IO_default_finish): Likewise.
13267         (_IO_default_seekoff): Likewise.
13268         (_IO_sputbackc): Likewise.
13269         (_IO_sungetc): Likewise.
13270         (_IO_set_column): Likewise.
13271         (_IO_set_column): Likewise.
13272         (_IO_adjust_column): Likewise.
13273         (_IO_get_column): Likewise.
13274         (_IO_init_marker): Likewise.
13275         (_IO_remove_marker): Likewise.
13276         (_IO_marker_difference): Likewise.
13277         (_IO_marker_delta): Likewise.
13278         (_IO_seekmark): Likewise.
13279         (_IO_unsave_markers): Likewise.
13280         (_IO_nobackup_pbackfail): Likewise.
13281         (_IO_default_pbackfail): Likewise.
13282         (_IO_default_seek): Likewise.
13283         (_IO_default_stat): Likewise.
13284         (_IO_default_read): Likewise.
13285         (_IO_default_write): Likewise.
13286         (_IO_default_showmanyc): Likewise.
13287         (_IO_default_imbue): Likewise.
13288         (_IO_iter_next): Likewise.
13289         (_IO_iter_file): Likewise.
13290         * libio/getc.c (_IO_getc): Likewise.
13291         * libio/getwc.c (_IO_getwc): Likewise.
13292         * libio/iofclose.c (_IO_new_fclose): Likewise.
13293         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13294         * libio/iofflush.c (_IO_fflush): Likewise.
13295         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13296         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13297         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13298         * libio/iofgets.c (_IO_fgets): Likewise.
13299         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13300         * libio/iofgetws.c (fgetws): Likewise.
13301         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13302         * libio/iofopen64.c (_IO_fopen64): Likewise.
13303         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13304         (_IO_cookie_write): Likewise.
13305         (_IO_cookie_seek): Likewise.
13306         (_IO_cookie_close): Likewise.
13307         (_IO_cookie_seekoff): Likewise.
13308         (_IO_old_cookie_seek): Likewise.
13309         * libio/iofputs.c (_IO_fputs): Likewise.
13310         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13311         * libio/iofputws.c (fputws): Likewise.
13312         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13313         * libio/iofread.c (_IO_fread): Likewise.
13314         * libio/iofread_u.c (__fread_unlocked): Likewise.
13315         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13316         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13317         * libio/ioftell.c (_IO_ftell): Likewise.
13318         * libio/iofwrite.c (_IO_fwrite): Likewise.
13319         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13320         * libio/iogets.c (_IO_gets): Likewise.
13321         * libio/iopadn.c (_IO_padn): Likewise.
13322         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13323         (_IO_new_popen): Likewise.
13324         (_IO_new_proc_close): Likewise.
13325         * libio/ioputs.c (_IO_puts): Likewise.
13326         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13327         (_IO_seekoff): Likewise.
13328         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13329         (_IO_seekpos): Likewise.
13330         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13331         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13332         * libio/ioungetc.c (_IO_ungetc): Likewise.
13333         * libio/ioungetwc.c (ungetwc): Likewise.
13334         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13335         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13336         * libio/iowpadn.c (_IO_wpadn): Likewise.
13337         * libio/libc_fatal.c (__libc_fatal): Likewise.
13338         * libio/memstream.c (__open_memstream): Likewise.
13339         (_IO_mem_sync): Likewise.
13340         (_IO_mem_finish): Likewise.
13341         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13342         (_IO_old_file_close_it): Likewise.
13343         (_IO_old_file_finish): Likewise.
13344         (_IO_old_file_fopen): Likewise.
13345         (_IO_old_file_attach): Likewise.
13346         (_IO_old_file_setbuf): Likewise.
13347         (_IO_old_do_write): Likewise.
13348         (old_do_write): Likewise.
13349         (_IO_old_file_underflow): Likewise.
13350         (_IO_old_file_overflow): Likewise.
13351         (_IO_old_file_sync): Likewise.
13352         (_IO_old_file_seekoff): Likewise.
13353         (_IO_old_file_write): Likewise.
13354         (_IO_old_file_xsputn): Likewise.
13355         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13356         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13357         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13358         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13359         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13360         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13361         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13362         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13363         (_IO_old_popen): Likewise.
13364         (_IO_old_proc_close): Likewise.
13365         * libio/oldpclose.c (__old_pclose): Likewise.
13366         * libio/pclose.c (__new_pclose): Likewise.
13367         * libio/peekc.c (_IO_peekc_locked): Likewise.
13368         * libio/putc.c (_IO_putc): Likewise.
13369         * libio/putc_u.c (putc_unlocked): Likewise.
13370         * libio/putchar.c (putchar): Likewise.
13371         * libio/putchar_u.c (putchar_unlocked): Likewise.
13372         * libio/putwc.c (putwc): Likewise.
13373         * libio/putwc_u.c (putwc_unlocked): Likewise.
13374         * libio/putwchar.c (putwchar): Likewise.
13375         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13376         * libio/rewind.c (rewind): Likewise.
13377         * libio/setbuf.c (setbuf): Likewise.
13378         * libio/setlinebuf.c (setlinebuf): Likewise.
13379         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13380         * libio/vscanf.c (_IO_vscanf): Likewise.
13381         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13382         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13383         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13384         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13385         (_IO_switch_to_main_wget_area): Likewise.
13386         (_IO_switch_to_wbackup_area): Likewise.
13387         (_IO_wsetb): Likewise.
13388         (_IO_wdefault_pbackfail): Likewise.
13389         (_IO_wdefault_finish): Likewise.
13390         (_IO_wdefault_uflow): Likewise.
13391         (__woverflow): Likewise.
13392         (__wuflow): Likewise.
13393         (__wunderflow): Likewise.
13394         (_IO_wdefault_xsputn): Likewise.
13395         (_IO_wdefault_xsgetn): Likewise.
13396         (_IO_wdoallocbuf): Likewise.
13397         (_IO_wdefault_doallocate): Likewise.
13398         (_IO_switch_to_wget_mode): Likewise.
13399         (_IO_free_wbackup_area): Likewise.
13400         (_IO_switch_to_wput_mode): Likewise.
13401         (_IO_sputbackwc): Likewise.
13402         (_IO_sungetwc): Likewise.
13403         (_IO_adjust_wcolumn): Likewise.
13404         (_IO_init_wmarker): Likewise.
13405         (_IO_wmarker_delta): Likewise.
13406         (_IO_seekwmark): Likewise.
13407         (_IO_unsave_wmarkers): Likewise.
13408         * libio/wmemstream.c (open_wmemstream): Likewise.
13409         (_IO_wmem_sync): Likewise.
13410         (_IO_wmem_finish): Likewise.
13411         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13412         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13413         * locale/programs/simple-hash.c (init_hash): Likewise.
13414         (delete_hash): Likewise.
13415         (insert_entry): Likewise.
13416         (set_entry): Likewise.
13417         (next_prime): Likewise.
13418         (is_prime): Likewise.
13419         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13420         (xmalloc): Likewise.
13421         (xrealloc): Likewise.
13422         * locale/programs/xstrdup.c (xstrdup): Likewise.
13423         * localedata/collate-test.c (xstrcoll): Likewise.
13424         * localedata/xfrm-test.c (xstrcmp): Likewise.
13425         * login/getlogin_r.c (__getlogin_r): Likewise.
13426         * login/getpt.c (__posix_openpt): Likewise.
13427         * login/login_tty.c (login_tty): Likewise.
13428         * login/setlogin.c (setlogin): Likewise.
13429         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13430         (mach_msg_destroy_port): Likewise.
13431         (mach_msg_destroy_memory): Likewise.
13432         * malloc/mcheck.c (flood): Likewise.
13433         * misc/acct.c (acct): Likewise.
13434         * misc/brk.c (__brk): Likewise.
13435         * misc/chflags.c (chflags): Likewise.
13436         * misc/chroot.c (chroot): Likewise.
13437         * misc/fchflags.c (fchflags): Likewise.
13438         * misc/fstab.c (getfsspec): Likewise.
13439         (getfsfile): Likewise.
13440         * misc/fsync.c (fsync): Likewise.
13441         * misc/ftruncate.c (__ftruncate): Likewise.
13442         * misc/ftruncate64.c (__ftruncate64): Likewise.
13443         * misc/getdomain.c (getdomainname): Likewise.
13444         (getdomainname): Likewise.
13445         * misc/gethostname.c (__gethostname): Likewise.
13446         * misc/getpass.c (getpass): Likewise.
13447         * misc/getttyent.c (skip): Likewise.
13448         (value): Likewise.
13449         * misc/gtty.c (gtty): Likewise.
13450         * misc/hsearch.c (hsearch): Likewise.
13451         (hcreate): Likewise.
13452         * misc/hsearch_r.c (__hcreate_r): Likewise.
13453         (__hdestroy_r): Likewise.
13454         * misc/ioctl.c (__ioctl): Likewise.
13455         * misc/mkdtemp.c (mkdtemp): Likewise.
13456         * misc/mkostemp.c (mkostemp): Likewise.
13457         * misc/mkostemp64.c (mkostemp64): Likewise.
13458         * misc/mkostemps.c (mkostemps): Likewise.
13459         * misc/mkostemps64.c (mkostemps64): Likewise.
13460         * misc/mkstemp.c (mkstemp): Likewise.
13461         * misc/mkstemp64.c (mkstemp64): Likewise.
13462         * misc/mkstemps.c (mkstemps): Likewise.
13463         * misc/mkstemps64.c (mkstemps64): Likewise.
13464         * misc/mktemp.c (__mktemp): Likewise.
13465         * misc/preadv.c (preadv): Likewise.
13466         * misc/preadv64.c (preadv64): Likewise.
13467         * misc/pwritev.c (pwritev): Likewise.
13468         * misc/pwritev64.c (pwritev64): Likewise.
13469         * misc/readv.c (__readv): Likewise.
13470         * misc/revoke.c (revoke): Likewise.
13471         * misc/setdomain.c (setdomainname): Likewise.
13472         * misc/setegid.c (setegid): Likewise.
13473         * misc/seteuid.c (seteuid): Likewise.
13474         * misc/sethostid.c (sethostid): Likewise.
13475         * misc/sethostname.c (sethostname): Likewise.
13476         * misc/setregid.c (__setregid): Likewise.
13477         * misc/setreuid.c (__setreuid): Likewise.
13478         * misc/sstk.c (sstk): Likewise.
13479         * misc/stty.c (stty): Likewise.
13480         * misc/syscall.c (syscall): Likewise.
13481         * misc/syslog.c (setlogmask): Likewise.
13482         * misc/truncate.c (__truncate): Likewise.
13483         * misc/truncate64.c (truncate64): Likewise.
13484         * misc/ualarm.c (ualarm): Likewise.
13485         * misc/usleep.c (usleep): Likewise.
13486         * misc/ustat.c (ustat): Likewise.
13487         * misc/writev.c (__writev): Likewise.
13488         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13489         * nptl/old_pthread_cond_broadcast.c
13490         (__pthread_cond_broadcast_2_0): Likewise.
13491         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13492         Likewise.
13493         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13494         Likewise.
13495         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13496         Likewise.
13497         * nptl/pt-raise.c (raise): Likewise.
13498         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13499         Likewise.
13500         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13501         * nptl/pthread_barrierattr_destroy.c
13502         (pthread_barrierattr_destroy): Likewise.
13503         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13504         Likewise.
13505         * nptl/pthread_barrierattr_setpshared.c
13506         (pthread_barrierattr_setpshared): Likewise.
13507         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13508         Likewise.
13509         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13510         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13511         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13512         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13513         Likewise.
13514         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13515         Likewise.
13516         * nptl/pthread_condattr_getpshared.c
13517         (pthread_condattr_getpshared): Likewise.
13518         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13519         Likewise.
13520         * nptl/pthread_condattr_setpshared.c
13521         (pthread_condattr_setpshared): Likewise.
13522         * nptl/pthread_detach.c (pthread_detach): Likewise.
13523         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13524         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13525         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13526         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13527         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13528         Likewise.
13529         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13530         Likewise.
13531         * nptl/pthread_mutex_getprioceiling.c
13532         (pthread_mutex_getprioceiling): Likewise.
13533         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
13534         Likewise.
13535         * nptl/pthread_mutexattr_getprotocol.c
13536         (pthread_mutexattr_getprotocol): Likewise.
13537         * nptl/pthread_mutexattr_getpshared.c
13538         (pthread_mutexattr_getpshared): Likewise.
13539         * nptl/pthread_mutexattr_getrobust.c
13540         (pthread_mutexattr_getrobust): Likewise.
13541         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
13542         Likewise.
13543         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
13544         Likewise.
13545         * nptl/pthread_mutexattr_setprioceiling.c
13546         (pthread_mutexattr_setprioceiling): Likewise.
13547         * nptl/pthread_mutexattr_setprotocol.c
13548         (pthread_mutexattr_setprotocol): Likewise.
13549         * nptl/pthread_mutexattr_setpshared.c
13550         (pthread_mutexattr_setpshared): Likewise.
13551         * nptl/pthread_mutexattr_setrobust.c
13552         (pthread_mutexattr_setrobust): Likewise.
13553         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
13554         Likewise.
13555         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
13556         Likewise.
13557         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
13558         Likewise.
13559         * nptl/pthread_rwlockattr_getkind_np.c
13560         (pthread_rwlockattr_getkind_np): Likewise.
13561         * nptl/pthread_rwlockattr_getpshared.c
13562         (pthread_rwlockattr_getpshared): Likewise.
13563         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
13564         Likewise.
13565         * nptl/pthread_rwlockattr_setkind_np.c
13566         (pthread_rwlockattr_setkind_np): Likewise.
13567         * nptl/pthread_rwlockattr_setpshared.c
13568         (pthread_rwlockattr_setpshared): Likewise.
13569         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
13570         Likewise.
13571         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
13572         Likewise.
13573         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
13574         Likewise.
13575         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
13576         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
13577         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
13578         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
13579         * nptl/sem_close.c (sem_close): Likewise.
13580         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
13581         * nptl/sem_init.c (__old_sem_init): Likewise.
13582         * nptl/sigaction.c (__sigaction): Likewise.
13583         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13584         * posix/_exit.c (_exit): Likewise.
13585         * posix/alarm.c (alarm): Likewise.
13586         * posix/confstr.c (confstr): Likewise.
13587         * posix/fpathconf.c (__fpathconf): Likewise.
13588         * posix/getgroups.c (__getgroups): Likewise.
13589         * posix/getpgid.c (__getpgid): Likewise.
13590         * posix/group_member.c (__group_member): Likewise.
13591         * posix/pathconf.c (__pathconf): Likewise.
13592         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
13593         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
13594         * posix/setgid.c (__setgid): Likewise.
13595         * posix/setpgid.c (__setpgid): Likewise.
13596         * posix/setuid.c (__setuid): Likewise.
13597         * posix/sleep.c (__sleep): Likewise.
13598         * posix/sysconf.c (__sysconf): Likewise.
13599         * posix/times.c (__times): Likewise.
13600         * posix/uname.c (__uname): Likewise.
13601         * posix/waitid.c (__waitid): Likewise.
13602         * pwd/getpw.c (__getpw): Likewise.
13603         * resolv/base64.c (b64_pton): Likewise.
13604         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
13605         * resolv/gethnamaddr.c (Dprintf): Likewise.
13606         (gethostbyname): Likewise.
13607         (gethostbyname2): Likewise.
13608         (gethostbyaddr): Likewise.
13609         (_sethtent): Likewise.
13610         (_gethtbyname): Likewise.
13611         (_gethtbyname2): Likewise.
13612         (_gethtbyaddr): Likewise.
13613         (map_v4v6_address): Likewise.
13614         (map_v4v6_hostent): Likewise.
13615         (addrsort): Likewise.
13616         (ht_sethostent): Likewise.
13617         (ht_gethostbyname): Likewise.
13618         (ht_gethostbyaddr): Likewise.
13619         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
13620         (inet_net_ntop_ipv4): Likewise.
13621         * resolv/inet_neta.c (inet_neta): Likewise.
13622         * resolv/inet_ntop.c (inet_ntop): Likewise.
13623         (inet_ntop4): Likewise.
13624         (inet_ntop6): Likewise.
13625         * resolv/inet_pton.c (__inet_pton): Likewise.
13626         (inet_pton4): Likewise.
13627         (inet_pton6): Likewise.
13628         * resolv/res_debug.c (loc_aton): Likewise.
13629         (loc_ntoa): Likewise.
13630         * resource/getpriority.c (__getpriority): Likewise.
13631         * resource/getrusage.c (__getrusage): Likewise.
13632         * resource/nice.c (nice): Likewise.
13633         * resource/setpriority.c (__setpriority): Likewise.
13634         * resource/setrlimit64.c (setrlimit64): Likewise.
13635         * resource/vlimit.c (vlimit): Likewise.
13636         * resource/vtimes.c (vtimes): Likewise.
13637         * rt/aio_error.c (aio_error): Likewise.
13638         * rt/aio_return.c (aio_return): Likewise.
13639         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
13640         * signal/kill.c (__kill): Likewise.
13641         * signal/killpg.c (killpg): Likewise.
13642         * signal/raise.c (raise): Likewise.
13643         * signal/sigaction.c (__sigaction): Likewise.
13644         * signal/sigaddset.c (sigaddset): Likewise.
13645         * signal/sigaltstack.c (sigaltstack): Likewise.
13646         * signal/sigandset.c (sigandset): Likewise.
13647         * signal/sigblock.c (__sigblock): Likewise.
13648         * signal/sigdelset.c (sigdelset): Likewise.
13649         * signal/sigempty.c (sigemptyset): Likewise.
13650         * signal/sigfillset.c (sigfillset): Likewise.
13651         * signal/sighold.c (sighold): Likewise.
13652         * signal/sigignore.c (sigignore): Likewise.
13653         * signal/sigintr.c (siginterrupt): Likewise.
13654         * signal/sigisempty.c (sigisemptyset): Likewise.
13655         * signal/sigismem.c (sigismember): Likewise.
13656         * signal/signal.c (signal): Likewise.
13657         * signal/sigorset.c (sigorset): Likewise.
13658         * signal/sigpause.c (__sigpause): Likewise.
13659         * signal/sigpending.c (sigpending): Likewise.
13660         * signal/sigprocmask.c (__sigprocmask): Likewise.
13661         * signal/sigrelse.c (sigrelse): Likewise.
13662         * signal/sigreturn.c (__sigreturn): Likewise.
13663         * signal/sigset.c (sigset): Likewise.
13664         * signal/sigsetmask.c (__sigsetmask): Likewise.
13665         * signal/sigstack.c (sigstack): Likewise.
13666         * signal/sigsuspend.c (__sigsuspend): Likewise.
13667         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
13668         * signal/sysv_signal.c (__sysv_signal): Likewise.
13669         * socket/accept.c (accept): Likewise.
13670         * socket/accept4.c (__libc_accept4): Likewise.
13671         * socket/bind.c (__bind): Likewise.
13672         * socket/connect.c (__connect): Likewise.
13673         * socket/getpeername.c (getpeername): Likewise.
13674         * socket/getsockname.c (__getsockname): Likewise.
13675         * socket/getsockopt.c (getsockopt): Likewise.
13676         * socket/listen.c (__listen): Likewise.
13677         * socket/recv.c (__recv): Likewise.
13678         * socket/recvmsg.c (__recvmsg): Likewise.
13679         * socket/send.c (__send): Likewise.
13680         * socket/sendmsg.c (__sendmsg): Likewise.
13681         * socket/shutdown.c (shutdown): Likewise.
13682         * socket/sockatmark.c (sockatmark): Likewise.
13683         * socket/socket.c (__socket): Likewise.
13684         * stdio-common/ctermid.c (ctermid): Likewise.
13685         * stdio-common/cuserid.c (cuserid): Likewise.
13686         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
13687         * stdio-common/remove.c (remove): Likewise.
13688         * stdio-common/rename.c (rename): Likewise.
13689         * stdio-common/renameat.c (renameat): Likewise.
13690         * stdio-common/tempname.c (__gen_tempname): Likewise.
13691         * stdio-common/xbug.c (InitBuffer): Likewise.
13692         (AppendToBuffer): Likewise.
13693         (ReadFile): Likewise.
13694         * stdlib/a64l.c (a64l): Likewise.
13695         * stdlib/drand48_r.c (drand48_r): Likewise.
13696         * stdlib/getcontext.c (getcontext): Likewise.
13697         * stdlib/getenv.c (getenv): Likewise.
13698         * stdlib/l64a.c (l64a): Likewise.
13699         * stdlib/llabs.c (llabs): Likewise.
13700         * stdlib/lldiv.c (lldiv): Likewise.
13701         * stdlib/lrand48_r.c (lrand48_r): Likewise.
13702         * stdlib/mrand48_r.c (mrand48_r): Likewise.
13703         * stdlib/putenv.c (putenv): Likewise.
13704         * stdlib/random.c (__srandom): Likewise.
13705         (__initstate): Likewise.
13706         (__setstate): Likewise.
13707         * stdlib/random_r.c (__srandom_r): Likewise.
13708         (__setstate_r): Likewise.
13709         (__random_r): Likewise.
13710         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
13711         * stdlib/setcontext.c (setcontext): Likewise.
13712         * stdlib/setenv.c (setenv): Likewise.
13713         (unsetenv): Likewise.
13714         * stdlib/srand48.c (srand48): Likewise.
13715         * stdlib/srand48_r.c (__srand48_r): Likewise.
13716         * stdlib/swapcontext.c (swapcontext): Likewise.
13717         * stdlib/system.c (__libc_system): Likewise.
13718         * stdlib/tst-strtod.c (expand): Likewise.
13719         * stdlib/tst-strtol.c (expand): Likewise.
13720         * stdlib/tst-strtoll.c (expand): Likewise.
13721         * streams/fattach.c (fattach): Likewise.
13722         * streams/fdetach.c (fdetach): Likewise.
13723         * streams/getmsg.c (getmsg): Likewise.
13724         * streams/isastream.c (isastream): Likewise.
13725         * string/ffs.c (__ffs): Likewise.
13726         * string/ffsll.c (ffsll): Likewise.
13727         * string/memcmp.c (memcmp_common_alignment): Likewise.
13728         (memcmp_not_common_alignment): Likewise.
13729         (MEMCMP): Likewise.
13730         * string/memcpy.c (memcpy): Likewise.
13731         * string/memmove.c (MEMMOVE): Likewise.
13732         * string/memset.c (memset): Likewise.
13733         * string/rawmemchr.c (RAWMEMCHR): Likewise.
13734         * string/strchrnul.c (STRCHRNUL): Likewise.
13735         * string/strerror.c (strerror): Likewise.
13736         * string/strndup.c (__strndup): Likewise.
13737         * string/strverscmp.c (__strverscmp): Likewise.
13738         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
13739         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
13740         (clnttcp_freeres): Likewise.
13741         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
13742         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
13743         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
13744         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
13745         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
13746         (xdr_callhdr): Likewise.
13747         * sunrpc/rpcinfo.c (udpping): Likewise.
13748         (tcpping): Likewise.
13749         (pstatus): Likewise.
13750         (pmapdump): Likewise.
13751         (brdcst): Likewise.
13752         (deletereg): Likewise.
13753         (getprognum): Likewise.
13754         (getvers): Likewise.
13755         (get_inet_address): Likewise.
13756         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
13757         * sunrpc/svc_udp.c (svcudp_create): Likewise.
13758         (svcudp_stat): Likewise.
13759         (svcudp_recv): Likewise.
13760         (svcudp_reply): Likewise.
13761         (svcudp_getargs): Likewise.
13762         (svcudp_freeargs): Likewise.
13763         (svcudp_destroy): Likewise.
13764         * sunrpc/xdr.c (xdr_bytes): Likewise.
13765         (xdr_netobj): Likewise.
13766         (xdr_string): Likewise.
13767         (xdr_wrapstring): Likewise.
13768         * sunrpc/xdr_float.c (xdr_float): Likewise.
13769         (xdr_double): Likewise.
13770         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
13771         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
13772         * sysvipc/ftok.c (ftok): Likewise.
13773         * sysvipc/msgctl.c (msgctl): Likewise.
13774         * sysvipc/msgget.c (msgget): Likewise.
13775         * sysvipc/msgrcv.c (msgrcv): Likewise.
13776         * sysvipc/msgsnd.c (msgsnd): Likewise.
13777         * sysvipc/semget.c (semget): Likewise.
13778         * sysvipc/semop.c (semop): Likewise.
13779         * sysvipc/shmat.c (shmat): Likewise.
13780         * sysvipc/shmctl.c (shmctl): Likewise.
13781         * sysvipc/shmdt.c (shmdt): Likewise.
13782         * sysvipc/shmget.c (shmget): Likewise.
13783         * termios/cfmakeraw.c (cfmakeraw): Likewise.
13784         * termios/speed.c (cfgetospeed): Likewise.
13785         (cfgetispeed): Likewise.
13786         (cfsetospeed): Likewise.
13787         (cfsetispeed): Likewise.
13788         * termios/tcflow.c (tcflow): Likewise.
13789         * termios/tcflush.c (tcflush): Likewise.
13790         * termios/tcgetattr.c (__tcgetattr): Likewise.
13791         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
13792         * termios/tcgetsid.c (tcgetsid): Likewise.
13793         * termios/tcsendbrk.c (tcsendbreak): Likewise.
13794         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
13795         * time/adjtime.c (__adjtime): Likewise.
13796         * time/dysize.c (dysize): Likewise.
13797         * time/ftime.c (ftime): Likewise.
13798         * time/getitimer.c (__getitimer): Likewise.
13799         * time/gettimeofday.c (__gettimeofday): Likewise.
13800         * time/gmtime.c (__gmtime_r): Likewise.
13801         (gmtime): Likewise.
13802         * time/localtime.c (__localtime_r): Likewise.
13803         (localtime): Likewise.
13804         * time/offtime.c (__offtime): Likewise.
13805         * time/settimeofday.c (__settimeofday): Likewise.
13806         * time/stime.c (stime): Likewise.
13807         * time/strftime_l.c (tm_diff): Likewise.
13808         (iso_week_days): Likewise.
13809         * time/strptime.c (strptime): Likewise.
13810         * time/time.c (time): Likewise.
13811         * time/timespec_get.c (timespec_get): Likewise.
13812         * time/tzset.c (tzset_internal): Likewise.
13813         (compute_change): Likewise.
13814         (__tz_compute): Likewise.
13815         * wcsmbs/btowc.c (__btowc): Likewise.
13816         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
13817         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
13818         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
13819         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
13820         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
13821         * wcsmbs/wcscat.c (__wcscat): Likewise.
13822         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13823         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
13824         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
13825         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13826         * wcsmbs/wcsdup.c (wcsdup): Likewise.
13827         * wcsmbs/wcslen.c (__wcslen): Likewise.
13828         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
13829         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
13830         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
13831         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
13832         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13833         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
13834         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13835         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13836         * wcsmbs/wcstok.c (wcstok): Likewise.
13837         * wcsmbs/wctob.c (wctob): Likewise.
13838         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
13839         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13840         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
13841         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
13842         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
13843         * wcsmbs/wmemset.c (__wmemset): Likewise.
13844         * wctype/wcfuncs.c (__towlower): Likewise.
13845         (__towupper): Likewise.
13847         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
13848         (lll_unlock_elision): Add adapt_count parameter.
13850 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
13852         * sysdeps/nptl/configure.ac: Do not give errors based on the
13853         results of top-level configure tests.
13854         * sysdeps/nptl/configure: Regenerated.
13856         * configure.ac (libc_cv_Bgroup): Remove configure test.
13857         * configure: Regenerated.
13858         * config.make.in (have-Bgroup): Remove variable.
13860         * configure.ac (sizeof_long_double): Remove configure test.
13861         * configure: Regenerated.
13862         * config.make.in (sizeof-long-double): Remove variable.
13864         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
13865         * configure: Regenerated.
13866         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
13867         variable.
13868         (exceptions): Likewise.
13869         * sysdeps/arm/configure: Regenerated.
13870         * config.make.in (exceptions): Remove variable.
13871         * Makeconfig (uses-callbacks): Use -fexceptions instead of
13872         $(exceptions).
13873         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
13874         (CFLAGS-vdprintf_chk.c): Likewise.
13875         (CFLAGS-printf_chk.c): Likewise.
13876         (CFLAGS-fprintf_chk.c): Likewise.
13877         (CFLAGS-vprintf_chk.c): Likewise.
13878         (CFLAGS-vfprintf_chk.c): Likewise.
13879         (CFLAGS-gets_chk.c): Likewise.
13880         (CFLAGS-fgets_chk.c): Likewise.
13881         (CFLAGS-fgets_u_chk.c): Likewise.
13882         (CFLAGS-fread_chk.c): Likewise.
13883         (CFLAGS-fread_u_chk.c): Likewise.
13884         (CFLAGS-wprintf_chk.c): Likewise.
13885         (CFLAGS-fwprintf_chk.c): Likewise.
13886         (CFLAGS-vwprintf_chk.c): Likewise.
13887         (CFLAGS-vfwprintf_chk.c): Likewise.
13888         (CFLAGS-fgetws_chk.c): Likewise.
13889         (CFLAGS-fgetws_u_chk.c): Likewise.
13890         * libio/Makefile (CFLAGS-fileops.c): Likewise.
13891         (CFLAGS-fputc.c): Likewise.
13892         (CFLAGS-fputwc.c): Likewise.
13893         (CFLAGS-freopen64.c): Likewise.
13894         (CFLAGS-freopen.c): Likewise.
13895         (CFLAGS-fseek.c): Likewise.
13896         (CFLAGS-fseeko64.c): Likewise.
13897         (CFLAGS-fseeko.c): Likewise.
13898         (CFLAGS-ftello64.c): Likewise.
13899         (CFLAGS-ftello.c): Likewise.
13900         (CFLAGS-fwide.c): Likewise.
13901         (CFLAGS-genops.c): Likewise.
13902         (CFLAGS-getc.c): Likewise.
13903         (CFLAGS-getchar.c): Likewise.
13904         (CFLAGS-getwc.c): Likewise.
13905         (CFLAGS-getwchar.c): Likewise.
13906         (CFLAGS-iofclose.c): Likewise.
13907         (CFLAGS-iofflush.c): Likewise.
13908         (CFLAGS-iofgetpos64.c): Likewise.
13909         (CFLAGS-iofgetpos.c): Likewise.
13910         (CFLAGS-iofgets.c): Likewise.
13911         (CFLAGS-iofgetws.c): Likewise.
13912         (CFLAGS-iofputs.c): Likewise.
13913         (CFLAGS-iofputws.c): Likewise.
13914         (CFLAGS-iofread.c): Likewise.
13915         (CFLAGS-iofsetpos64.c): Likewise.
13916         (CFLAGS-iofsetpos.c): Likewise.
13917         (CFLAGS-ioftell.c): Likewise.
13918         (CFLAGS-iofwrite.c): Likewise.
13919         (CFLAGS-iogetdelim.c): Likewise.
13920         (CFLAGS-iogetline.c): Likewise.
13921         (CFLAGS-iogets.c): Likewise.
13922         (CFLAGS-iogetwline.c): Likewise.
13923         (CFLAGS-ioputs.c): Likewise.
13924         (CFLAGS-ioseekoff.c): Likewise.
13925         (CFLAGS-ioseekpos.c): Likewise.
13926         (CFLAGS-iosetbuffer.c): Likewise.
13927         (CFLAGS-iosetvbuf.c): Likewise.
13928         (CFLAGS-ioungetc.c): Likewise.
13929         (CFLAGS-ioungetwc.c): Likewise.
13930         (CFLAGS-oldfileops.c): Likewise.
13931         (CFLAGS-oldiofclose.c): Likewise.
13932         (CFLAGS-oldiofgetpos64.c): Likewise.
13933         (CFLAGS-oldiofgetpos.c): Likewise.
13934         (CFLAGS-oldiofsetpos64.c): Likewise.
13935         (CFLAGS-oldiofsetpos.c): Likewise.
13936         (CFLAGS-peekc.c): Likewise.
13937         (CFLAGS-putc.c): Likewise.
13938         (CFLAGS-putchar.c): Likewise.
13939         (CFLAGS-putwc.c): Likewise.
13940         (CFLAGS-putwchar.c): Likewise.
13941         (CFLAGS-rewind.c): Likewise.
13942         (CFLAGS-wfileops.c): Likewise.
13943         (CFLAGS-wgenops.c): Likewise.
13944         (CFLAGS-oldiofopen.c): Likewise.
13945         (CFLAGS-iofopen.c): Likewise.
13946         (CFLAGS-iofopen64.c): Likewise.
13947         (CFLAGS-oldtmpfile.c): Likewise.
13948         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
13949         (CFLAGS-fprintf.c): Likewise.
13950         (CFLAGS-printf.c): Likewise.
13951         (CFLAGS-vfwprintf.c): Likewise.
13952         (CFLAGS-vfscanf.c): Likewise.
13953         (CFLAGS-vfwscanf.c): Likewise.
13954         (CFLAGS-fscanf.c): Likewise.
13955         (CFLAGS-scanf.c): Likewise.
13956         (CFLAGS-isoc99_vfscanf.c): Likewise.
13957         (CFLAGS-isoc99_vscanf.c): Likewise.
13958         (CFLAGS-isoc99_fscanf.c): Likewise.
13959         (CFLAGS-isoc99_scanf.c): Likewise.
13960         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
13961         (CFLAGS-isoc99_fwscanf.c): Likewise.
13962         (CFLAGS-isoc99_vwscanf.c): Likewise.
13963         (CFLAGS-isoc99_vfwscanf.c): Likewise.
13965         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
13966         after mkstemp64.
13967         * login/tst-utmp.c (do_prepare): Likewise.
13968         * rt/tst-aio.c (do_prepare): Likewise.
13969         * rt/tst-aio64.c (do_prepare): Likewise.
13971 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13973         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13974         (__lll_lock_elision): Remove adapt_count decrement...
13975         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13976         (__lll_trylock_elision): Likewise.
13977         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
13978         (__lll_unlock_elision): ... to here. And utilize
13979         new adapt_count parameter.
13980         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13981         (__lll_unlock_elision): Update to include adapt_count
13982         parameter.
13983         (lll_unlock_elision): Pass pointer to adapt_count
13984         variable.
13986 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13988         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
13989         Add elision adapt_count parameter to list of arguments.
13990         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
13991         (lll_unlock_elision): Update with new parameter list
13992         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
13993         (lll_unlock_elision): Likewise.
13994         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
13995         (lll_unlock_elision): Likewise.
13997 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
13999         [BZ #19122]
14000         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14001         attribute_hidden.
14003         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
14004         attribute_hidden.
14005         [IS_IN (rtld)] (__strdup): Likewise.
14006         [IS_IN (rtld)] (__strerror_r): Likewise.
14007         [IS_IN (rtld)] (__strsep_g): Likewise.
14008         [IS_IN (rtld)] (memchr): Likewise.
14009         [IS_IN (rtld)] (memcmp): Likewise.
14010         [IS_IN (rtld)] (memcpy): Likewise.
14011         [IS_IN (rtld)] (memmove): Likewise.
14012         [IS_IN (rtld)] (memset): Likewise.
14013         [IS_IN (rtld)] (rawmemchr): Likewise.
14014         [IS_IN (rtld)] (stpcpy): Likewise.
14015         [IS_IN (rtld)] (strchr): Likewise.
14016         [IS_IN (rtld)] (strcmp): Likewise.
14017         [IS_IN (rtld)] (strlen): Likewise.
14018         [IS_IN (rtld)] (strnlen): Likewise.
14019         [IS_IN (rtld)] (strsep): Likewise.
14021         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14022         attribute_hidden.
14023         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14025         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14026         attribute_hidden.
14027         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14029         * include/setjmp.h (__longjmp): Add attribute_hidden.
14030         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14032         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14033         Add attribute_hidden.
14035         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14036         [IS_IN (rtld)] (__open): Likewise.
14037         [IS_IN (rtld)] (__fcntl): Likewise.
14039         * include/dirent.h (__opendirat): Add attribute_hidden.
14040         (__getdents): Likewise.
14041         (__getdents64): Likewise.
14042         (__alloc_dir): Likewise.
14043         [IS_IN (rtld)] (__closedir): Likewise.
14044         [IS_IN (rtld)] (__fdopendir): Likewise.
14045         [IS_IN (rtld)] (__readdir): Likewise.
14046         [IS_IN (rtld)] (__readdir64): Likewise.
14047         [IS_IN (rtld)] (__rewinddir): Likewise.
14049         * include/dlfcn.h (_dl_catch_error): Moved to ...
14050         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14051         attribute_hidden.
14053         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14054         (_itoa_word): Likewise.
14056         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14057         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14058         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14059         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14060         (_dl_higher_prime_number): Likewise.
14061         (_dl_debug_printf_c): Likewise.
14062         (_dl_signal_cerror): Likewise.
14063         (_dl_receive_error): Likewise.
14064         (_dl_reloc_bad_type): Likewise.
14065         (_dl_resolve_conflicts): Likewise.
14066         (_dl_check_all_versions): Likewise.
14067         (_dl_check_map_versions): Likewise.
14068         (_dl_sort_fini): Likewise.
14069         (_dl_debug_initialize): Likewise.
14070         (_dl_init_paths): Likewise.
14071         (_dl_show_auxv): Likewise.
14072         (_dl_next_ld_env_entry): Likewise.
14073         (_dl_important_hwcaps): Likewise.
14074         (_dl_load_cache_lookup): Likewise.
14075         (_dl_update_slotinfo): Likewise.
14076         (_dl_show_scope): Likewise.
14078         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14079         attribute_hidden.
14080         (_wordcopy_fwd_dest_aligned): Likewise.
14081         (_wordcopy_bwd_aligned): Likewise.
14082         (_wordcopy_bwd_dest_aligned): Likewise.
14084         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14085         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14086         Likewise.
14087         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14088         Likewise.
14089         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14091 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14093         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14094         GCC 5 requirement.
14096 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14098         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14099         test.
14100         * sysdeps/i386/configure: Regenerated.
14101         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14102         code unconditional.
14104         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14105         test.
14106         (libc_cv_asm_popsection_directive): Likewise.
14107         * configure: Regenerated.
14108         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14109         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14110         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14111         (__make_section_unallocated): Make definition unconditional.
14112         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14113         Remove conditional definition.
14114         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14115         (__make_section_unallocated): Likewise.
14117         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14118         * configure: Regenerated.
14119         * config.make.in (static-libgcc): Remove variable.
14120         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14121         $(static-libgcc).
14122         (build-module-helper): Likewise.
14124         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14125         * configure: Regenerated.
14127 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14129         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14130         (struct char_buffer): New type.
14131         (char_buffer_start, char_buffer_size, char_buffer_error)
14132         (char_buffer_rewind, char_buffer_add): New functions.
14133         (ADDW): Remove macro, replaced by the char_buffer_add function.
14134         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14135         of extend_alloca.  Make control flow more explicit.
14137 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14139         [BZ #19137]
14140         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14141         Add -fomit-frame-pointer.
14142         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14144 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14146         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14147         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14148         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14149         only if !__GNUC_PREREQ (5,0).
14150         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14151         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14152         (INTERNAL_SYSCALL_NCS): Likewise.
14153         (LOADREGS_0): New macro for GCC 5.
14154         (ASMARGS_0): Likewise.
14155         (LOADREGS_1): Likewise.
14156         (ASMARGS_1): Likewise.
14157         (LOADREGS_2): Likewise.
14158         (ASMARGS_2): Likewise.
14159         (LOADREGS_3): Likewise.
14160         (ASMARGS_3): Likewise.
14161         (LOADREGS_4): Likewise.
14162         (ASMARGS_4): Likewise.
14163         (LOADREGS_5): Likewise.
14164         (ASMARGS_5): Likewise.
14165         (LOADREGS_6): Likewise.
14166         (ASMARGS_6): Likewise.
14168 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14170         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14171         -fomit-frame-pointer.
14172         (CFLAGS-mmap64.c): Likewise.
14173         (CFLAGS-semtimedop.c): Likewise.
14174         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14175         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14176         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14177         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14179 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14181         [BZ #18928]
14182         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14183         _dl_pointer_guard member.
14184         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14185         initializer.
14186         (security_init): Always set up pointer guard.
14187         (process_envvars): Do not process LD_POINTER_GUARD.
14189 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14191         [BZ #19134]
14192         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14193         (.LC2): Likewise.
14194         (.LC3): Likewise.
14195         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14197 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14199         [BZ #19129]
14200         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14201         r0 and r1.
14203 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14205         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14207 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14209         * include/stap-probe.h: Fix macro definition formatting.
14211 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14213         [BZ #19074]
14214         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14215         load and store num_ifs.
14217 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14219         [BZ #18822]
14220         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14221         (__sched_getaffinity_new): Add libc_hidden_proto and
14222         libc_hidden_def.
14224 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14226         [BZ #19007]
14227         * scripts/localplt.awk: Also allow GOT references.
14228         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14229         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14230         with "+ REL R_386_GLOB_DAT".
14231         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14232         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14234 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14236         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14237         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14238         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14239         Likewise.
14240         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14241         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14242         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14243         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14244         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14245         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14246         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14247         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14248         Likewise.
14249         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14251 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14253         [BZ #19125]
14254         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14255         <math_private.h> and <stdint.h>.
14256         (__llround): Avoid conversions to and from long long int, and
14257         subtractions, where those might raise spurious exceptions.
14258         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14259         <math_private.h> and <stdint.h>.
14260         (__llroundf): Avoid conversions to and from long long int, and
14261         subtractions, where those might raise spurious exceptions.
14263 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14265         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14266         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14267         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14268         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14269         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14270         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14271         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14272         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14273         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14274         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14275         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14276         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14277         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14278         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14279         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14280         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14281         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14282         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14283         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14284         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14285         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14286         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14287         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14288         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14289         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14290         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14291         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14292         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14293         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14294         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14295         (__xstat64_conv): Likewise.
14296         (__xstat32_conv): Likewise.
14298 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14300         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14301         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14302         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14303         <sysdeps/unix/sysv/linux/sysdep.h>.
14304         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14305         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14306         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14307         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14308         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14309         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14310         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14311         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14312         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14315         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14316         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14317         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14318         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14319         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14320         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14321         (sysdep-dl-routines): Add sysdep.
14322         [$(subdir) == nptl] (libpthread-routines): Likewise.
14323         [$(subdir) == rt] (librt-routines): Likewise.
14324         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14325         PIC when branching to SYSCALL_ERROR_LABEL.
14326         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14327         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14328         <sysdeps/unix/sysv/linux/sysdep.h>.
14329         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14330         (SYSCALL_ERROR_ERRNO): Removed.
14331         (SYSCALL_ERROR_HANDLER): Changed to empty.
14332         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14333         (__syscall_error): New prototype.
14334         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14335         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14337 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14339         [BZ #19124]
14340         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14341         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14342         _dl_runtime_resolve_avx.
14343         (_dl_runtime_profile_avx512): Make it a hidden alias of
14344         _dl_runtime_profile_avx.
14346 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14348         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14349         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14350         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14351         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14353         [BZ #16422]
14354         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14355         New configure test.
14356         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14357         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14358         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14359         <math_private.h> and <stdint.h>.
14360         (__llrint): Avoid conversions to long long int where those might
14361         raise spurious exceptions.
14362         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14363         <math_private.h> and <stdint.h>.
14364         (__llrintf): Avoid conversions to long long int where those might
14365         raise spurious exceptions.
14367 2015-10-12  Andreas Schwab  <schwab@suse.de>
14369         [BZ #18969]
14370         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14371         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14372         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14373         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14374         $(gen-locales).
14375         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14376         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14377         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14378         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14379         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14380         $(gen-locales).
14381         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14382         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14383         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14384         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14385         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14386         ($(objpfx)tst-ftell-active-handler.out)
14387         ($(objpfx)tst-ftell-append.out)
14388         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14389         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14390         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14391         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14392         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14393         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14394         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14395         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14396         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14397         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14398         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14399         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14400         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14401         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14402         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14403         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14404         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14405         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14406         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14407         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14408         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14409         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14410         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14411         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14412         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14413         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14414         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14415         $(gen-locales).
14416         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14417         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14418         $(gen-locales).
14419         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14420         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14421         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14422         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14423         $(gen-locales).
14424         * libio/tst_wprintf2.c (main): Use explicit locale.
14425         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14427 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14429         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14430         __msg_sig_post.
14431         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14433 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14435         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14436         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14438         * sysdeps/arm/libm-test-ulps: Regenerated.
14440         [BZ #15470]
14441         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14443         [BZ #16399]
14444         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14445         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14446         and <fix-fp-int-convert-overflow.h>.
14447         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14448         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14449         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14450         and <fix-fp-int-convert-overflow.h>.
14451         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14452         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14453         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14454         <fix-fp-int-convert-overflow.h>.
14455         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14456         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14457         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14458         <fix-fp-int-convert-overflow.h>.
14459         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14460         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14461         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14462         and <fix-fp-int-convert-overflow.h>.
14463         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14464         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14465         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14466         <limits.h> and <fix-fp-int-convert-overflow.h>.
14467         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14468         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14469         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14470         and <fix-fp-int-convert-overflow.h>.
14471         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14472         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14473         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14474         and <fix-fp-int-convert-overflow.h>.
14475         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14476         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14477         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14479 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14481         [BZ #18589]
14482         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14483         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14484         $(gen-locales).
14486 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14487             Phil Blundell <pb@pbcl.net>
14489         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14490         * nptl/tst-cancel26.c: New file.
14491         * nptl/tst-cancel27.c: Likewise.
14493 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14495         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14496         __ILP32__ isn't defined.
14497         (lrint): Likewise.
14498         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14499         (lrintf): Likewise.
14500         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14501         (lrintl): Likewise.
14502         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14503         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14504         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14506 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14508         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14509         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14511         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14512         file.
14513         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14514         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14516 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14518         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14519         configure test.
14520         * sysdeps/i386/configure: Regenerated.
14521         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14522         configure test.
14523         * sysdeps/x86_64/configure: Regenerated.
14524         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14525         Make code unconditional.
14527         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14528         test.
14529         * sysdeps/i386/configure: Regenerated.
14530         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14531         test.
14532         * sysdeps/x86_64/configure: Regenerated.
14533         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
14534         Make code unconditional.
14535         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
14536         Likewise.
14537         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
14538         Likewise.
14539         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14540         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
14541         code unconditional.
14542         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14543         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
14544         code unconditional.
14545         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14546         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
14547         code unconditional.
14548         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
14549         code unconditional.
14550         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14551         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
14552         code unconditional.
14553         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14554         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
14555         code unconditional.
14556         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14557         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
14558         code unconditional.
14559         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14560         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
14561         code unconditional.
14562         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
14563         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
14565         [BZ #19095]
14566         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
14567         mantissa to long int before shifting left.
14569 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14571         [BZ #19094]
14572         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
14573         <limits.h>.
14574         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14575         when result overflows but exception would not result from cast.
14576         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
14577         <limits.h>.
14578         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14579         when result overflows but exception would not result from cast.
14580         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
14581         <limits.h>.
14582         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14583         when result overflows but exception would not result from cast.
14584         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
14585         <limits.h>.
14586         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14587         when result overflows but exception would not result from cast.
14588         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
14589         <limits.h>.
14590         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
14591         when result overflows but exception would not result from cast.
14592         * math/libm-test.inc (lrint_test_data): Add more tests.
14593         (llrint_test_data): Likewise.
14595 2015-10-08  Roland McGrath  <roland@hack.frob.com>
14597         [BZ #18872]
14598         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
14599         Move out from under [$(run-built-tests) = yes] conditional.
14600         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
14601         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
14603 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
14605         [BZ #18589]
14606         * string/Makefile (tests): Add bug-strcoll2.
14607         (LOCALES): Add cs_CZ.UTF-8.
14608         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
14610         [BZ #18589]
14611         * string/bug-strcoll2.c: New file.
14612         * locale/categories.def: Revert commit
14613         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
14614         * locale/langinfo.h: Likewise.
14615         * locale/localeinfo.h: Likewise.
14616         * locale/C-collate.c: Likewise.
14617         * locale/programs/ld-collate.c (collate_output): Likewise.
14618         * string/strcoll_l.c (STRDIFF): Likewise.
14619         (STRCOLL): Likewise.
14620         * wcsmbs/wcscoll_l.c: Likewise.
14622 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
14624         * math/libm-test.inc (lround_test_data): Do not expect the absence
14625         of "inexact" for some tests with non-integer arguments.
14626         (llround_test_data): Likewise.
14628         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
14629         test.
14630         (libc_cv_cc_sse2avx): Likewise.
14631         * sysdeps/i386/configure: Regenerated.
14632         * sysdeps/i386/i686/multiarch/Makefile
14633         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
14634         [$(subdir) = math].
14635         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
14636         code unconditional.
14637         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14638         Likewise.
14639         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
14640         Likewise.
14641         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14642         Likewise.
14643         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
14644         test.
14645         (libc_cv_cc_sse2avx): Likewise.
14646         * sysdeps/x86_64/configure: Regenerated.
14647         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
14648         unconditional.
14649         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
14650         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
14651         unconditional.
14652         (_dl_runtime_profile)
14653         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
14654         conditional code.
14655         * sysdeps/x86_64/fpu/multiarch/Makefile
14656         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
14657         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
14658         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14659         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14660         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14661         * sysdeps/x86_64/fpu/multiarch/e_log.c
14662         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14663         * sysdeps/x86_64/fpu/multiarch/s_atan.c
14664         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14665         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
14666         Likewise.
14667         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
14668         Likewise.
14669         * sysdeps/x86_64/fpu/multiarch/s_sin.c
14670         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14671         * sysdeps/x86_64/fpu/multiarch/s_tan.c
14672         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14673         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
14674         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
14675         (HAVE_SSE2AVX_SUPPORT): Likewise.
14677 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
14679         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
14680         instead of #pragma optimize.
14682 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14684         [BZ #17195]
14685         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
14686         as is similarly done in systrim and _int_free already.
14688 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14690         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
14692 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14694         [BZ #19088]
14695         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
14696         <limits.h>.
14697         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14698         overflows but exception would not result from cast.
14699         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
14700         and <limits.h>.
14701         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
14702         overflows but exception would not result from cast.
14703         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
14704         <limits.h>.
14705         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14706         overflows but exception would not result from cast.
14707         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
14708         <limits.h>.
14709         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14710         overflows but exception would not result from cast.
14711         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
14712         <limits.h>.
14713         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
14714         overflows but exception would not result from cast.
14715         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
14716         <limits.h>.
14717         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
14718         overflows but exception would not result from cast.
14719         * math/libm-test.inc (lround_test_data): Add more tests.
14720         (llround_test_data): Likewise.
14722 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
14724         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
14725         (CFLAGS-ialloc.c): Ditto.
14726         (CFLAGS-scheck.c): Ditto.
14728 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
14730         [BZ #19086]
14731         * manual/filesys.texi (Storage Allocation): Fix argument order for
14732         posix_fallocate64.
14734 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14736         [BZ #19085]
14737         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
14738         exponent below 48 inside case for non-overflowing exponent.
14739         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
14741 2015-10-07  Florian Weimer  <fweimer@redhat.com>
14743         * iconvdata/cp737.h (from_idx): Add const.
14744         * iconvdata/cp775.h (from_idx): Likewise.
14746 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
14748         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
14749         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
14750         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
14752         [BZ #19079]
14753         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
14754         file, conditioned on [!_LP64].
14755         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
14756         [!_LP64] (__lround): Do not define as function or alias.
14757         [!_LP64] (lround): Likewise.
14758         [!_LP64] (__lroundl): Likewise.
14759         [!_LP64] (lroundl): Likewise.
14760         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
14761         macro.
14762         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
14763         Likewise.
14765 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14767         * math/libm-test.inc (lrint_test_data): Add more tests.
14768         (llrint_test_data): Likewise.
14769         (lround_test_data): Likewise.
14770         (llround_test_data): Likewise.
14772         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
14773         (llrint_test_data): Add tests used for lrint.
14775         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
14776         test.
14777         * sysdeps/i386/configure: Regenerated.
14778         * sysdeps/i386/i686/multiarch/Makefile
14779         [$(config-cflags-sse4) = yes]: Make code unconditional.
14780         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14781         Likewise.
14782         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
14783         Likewise.
14784         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
14785         test.
14786         * sysdeps/x86_64/configure: Regenerated.
14787         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
14788         Make code unconditional.
14789         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
14790         Likewise.
14791         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
14792         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
14794         * scripts/rpm2dynsym.sh: Remove file.
14796 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14798         * configure.ac (libc_cv_cxx_thread_local): Define.
14799         * configure: Regenerate.
14800         * config.make.in (have-cxx-thread_local): Define.
14801         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
14802         (LDLIBS-tst-thread_local1): Define.
14803         (tests): Add tst-thread_local1.
14804         [have-cxx-thread_local != yes] (tests-unsupported): Add
14805         tst-thread_local1.
14806         * nptl/tst-thread_local1.cc: New file.
14808 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
14810         [BZ #19078]
14811         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
14812         (u_thres): Likewise.
14813         (__expl): Determine whether to call __kernel_standard_l based on
14814         value of result, not argument.
14816         * math/libm-test.inc (scalb_test_data): Add more expectations for
14817         the "inexact" exception.
14819         [BZ #19077]
14820         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
14821         0.0L for argument 1.0L.
14823         [BZ #19076]
14824         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
14825         constant 0.0L when computing infinite result.
14827 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14829         [BZ #10432]
14830         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
14831         malloc_usable_size.
14833 2015-10-06  Florian Weimer  <fweimer@redhat.com>
14835         [BZ #19018]
14836         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14837         Mangle function pointer before storing it.
14838         (__call_tls_dtors): Demangle function pointer before calling it.
14840 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
14842         [BZ #19012]
14843         * iconv/gconv_db.c (gen_steps): Check for additional errors.
14844         Clean up on failure.
14846 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
14848         [BZ #19071]
14849         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
14850         long int variable to store possibly incremented high part of
14851         mantissa.
14852         * math/libm-test.inc (lround_test_data): Add tests used for
14853         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
14854         for tests requiring 64-bit long.  Do not condition tests on
14855         [TEST_FLOAT] unnecessarily.
14856         (llround_test_data): Add tests used for lround.  Add another
14857         expectation for the "inexact" exception.  Do not condition tests
14858         on [TEST_FLOAT] unnecessarily.
14860         [BZ #887]
14861         [BZ #19049]
14862         [BZ #19050]
14863         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
14864         * sysdeps/ieee754/dbl-64/e_log10.c: Include
14865         <fix-int-fp-convert-zero.h>.
14866         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14867         * sysdeps/ieee754/dbl-64/e_log2.c: Include
14868         <fix-int-fp-convert-zero.h>.
14869         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14870         * sysdeps/ieee754/dbl-64/s_erf.c: Include
14871         <fix-int-fp-convert-zero.h>.
14872         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14873         * sysdeps/ieee754/dbl-64/s_logb.c: Include
14874         <fix-int-fp-convert-zero.h>.
14875         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14876         * sysdeps/ieee754/flt-32/e_log10f.c: Include
14877         <fix-int-fp-convert-zero.h>.
14878         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14879         * sysdeps/ieee754/flt-32/e_log2f.c: Include
14880         <fix-int-fp-convert-zero.h>.
14881         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14882         * sysdeps/ieee754/flt-32/s_erff.c: Include
14883         <fix-int-fp-convert-zero.h>.
14884         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14885         * sysdeps/ieee754/flt-32/s_logbf.c: Include
14886         <fix-int-fp-convert-zero.h>.
14887         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14888         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
14889         <fix-int-fp-convert-zero.h>.
14890         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14891         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
14892         <fix-int-fp-convert-zero.h>.
14893         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
14894         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
14895         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
14896         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
14897         file.
14898         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
14900 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14902         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14904 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
14906         [BZ #19059]
14907         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
14908         overflowing computation.
14909         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14910         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
14911         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14912         Likewise.
14913         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14914         Likewise.
14915         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
14916         Likewise.
14917         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14918         Likewise.
14919         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14920         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14921         Likewise.
14922         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14923         Likewise.
14924         * math/libm-test.inc (nexttoward_test_data): Add more tests.
14926         * nss/rewrite_field.c (__nss_rewrite_field): Use
14927         internal_function.
14928         * nss/valid_field.c (__nss_valid_field): Likewise.
14929         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
14931 2015-10-02  Florian Weimer  <fweimer@redhat.com>
14933         [BZ #18724]
14934         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
14935         (__nss_invalid_field_characters, __nss_valid_field)
14936         (__nss_valid_list_field, __nss_rewrite_field): Declare.
14937         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
14938         tst-field.c: New file.
14939         * nss/Makefile (routines): Add valid_field, rewrite_field.
14940         (tests-static): Define unconditionally.
14941         (tests): Include tests-static.
14942         [build-static-nss] (tests-static): Use append.
14943         [build-static-nss] (tests): Remove modification.
14944         * nss/getent.c (print_group): Call putgrent.  Report error.
14945         (print_gshadow): Call putsgent.  Report error.
14946         (print_passwd): Call putpwent.  Report error.
14947         (print_shadow): Call putspent.  Report error.
14948         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
14949         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
14950         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
14951         name, password, directory, shell fields for valid syntax.  Rewrite
14952         GECOS field to match syntax.
14953         * pwd/Makefile (tests): Add tst-putpwent.
14954         * pwd/tst-putpwent.c: New file.
14955         * grp/putgrent.c (putgrent): Convert to ISO function definition.
14956         Check grName, grpasswd, gr_mem fields for valid syntax.
14957         Change loop variable i to size_t.
14958         * grp/Makefile (tests): Add tst-putgrent.
14959         * grp/tst-putgrent.c: New file.
14960         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
14961         valid syntax.
14962         * shadow/Makefile (tests): Add tst-putspent.
14963         * shadow/tst-putspent.c: New file.
14964         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
14965         sg_mem fields for valid syntax.
14966         * gshadow/Makefile (tests): Add tst-putsgent.
14967         * gshadow/tst-putsgent.c: New file.
14969 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14971         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
14972         assembly instructions.
14974 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14976         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
14977         prefix from operands.
14979 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
14981         [BZ #16347]
14982         [BZ #19046]
14983         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
14984         <libc-internal.h>.
14985         (MAXLGM): Do not use diagnostic control macros.
14986         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
14987         threshold for ldbl-128ibm.
14988         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
14989         instead of multiplying by log then subtracting.
14990         * math/auto-libm-test-in: Add more tests of lgamma.
14991         * math/auto-libm-test-out: Regenerated.
14993         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
14994         (TYPE_HEX_DIG): Likewise.
14995         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
14996         precisions when printing floating-point numbers.
14997         (check_float_internal): Likewise.
14999 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15001         [BZ #16620]
15002         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
15003         of log (10) rounded downward to 48 bits.
15004         (log10_low): Use corresponding low part of log (10).
15006         [BZ #19032]
15007         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
15008         compute result as (x - x) / (x - x) not as 0 / 0.
15009         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15010         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15012         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15013         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15014         and expm1.
15015         * math/auto-libm-test-out: Regenerated.
15016         * math/libm-test.inc (acos_test_data): Add more tests.
15017         (asin_test_data): Likewise.
15018         (asinh_test_data): Likewise.
15019         (atan_test_data): Likewise.
15020         (atanh_test_data): Likewise.
15021         (atan2_test_data): Likewise.
15022         (cbrt_test_data): Likewise.
15023         (ceil_test_data): Likewise.
15024         (copysign_test_data): Likewise.
15025         (cos_test_data): Likewise.
15026         (cosh_test_data): Likewise.
15027         (erf_test_data): Likewise.
15028         (erfc_test_data): Likewise.
15029         (exp_test_data): Likewise.
15030         (exp10_test_data): Likewise.
15031         (exp2_test_data): Likewise.
15032         (expm1_test_data): Likewise.
15033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15035 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15037         [BZ #19006]
15038         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15039         to ...
15040         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15041         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15042         to ...
15043         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15044         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15045         to ...
15046         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15047         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15048         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15049         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15050         to ...
15051         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15052         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15053         Moved to ...
15054         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15055         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15056         Moved to ...
15057         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15058         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15059         to ...
15060         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15061         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15062         Moved to ...
15063         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15064         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15065         to ...
15066         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15067         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15068         Removed.
15069         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15070         Likewise.
15071         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15072         Likewise.
15073         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15074         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15075         Likewise.
15076         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15077         Likewise.
15078         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15079         Likewise.
15080         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15081         Likewise.
15082         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15083         Likewise.
15084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15085         Likewise.
15086         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15087         Likewise.
15088         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15089         Likewise.
15090         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15091         Likewise.
15092         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15093         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15094         Likewise.
15095         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15096         Likewise.
15097         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15098         Likewise.
15099         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15100         Likewise.
15101         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15102         Likewise.
15103         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15104         Replace ../i486/pthread_cond_timedwait.S with
15105         ../pthread_cond_timedwait.S.
15107 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15109         * math/libm-test.inc (acos_test_data): Refine expectations for
15110         errno and "inexact" exceptions.
15111         (acosh_test_data): Likewise.
15112         (asin_test_data): Likewise.
15113         (asinh_test_data): Likewise.
15114         (atan_test_data): Likewise.
15115         (atanh_test_data): Likewise.
15116         (atan2_test_data): Likewise.
15117         (cbrt_test_data): Likewise.
15118         (ceil_test_data): Likewise.
15119         (copysign_test_data): Likewise.
15120         (cosh_test_data): Likewise.
15121         (erf_test_data): Likewise.
15122         (erfc_test_data): Likewise.
15123         (exp_test_data): Likewise.
15124         (exp10_test_data): Likewise.
15125         (exp2_test_data): Likewise.
15126         (expm1_test_data): Likewise.
15127         (fabs_test_data): Likewise.
15128         (floor_test_data): Likewise.
15129         (fma_test_data): Likewise.
15130         (fmax_test_data): Likewise.
15131         (fmin_test_data): Likewise.
15132         (fmod_test_data): Likewise.
15133         (fpclassify_test_data): Likewise.
15134         (frexp_test_data): Likewise.
15135         (hypot_test_data): Likewise.
15136         (ilogb_test_data): Likewise.
15137         (isgreater_test_data): Likewise.
15138         (isgreaterequal_test_data): Likewise.
15139         (isinf_test_data): Likewise.
15140         (isless_test_data): Likewise.
15141         (islessequal_test_data): Likewise.
15142         (islessgreater_test_data): Likewise.
15143         (isnan_test_data): Likewise.
15144         (isnormal_test_data): Likewise.
15145         (issignaling_test_data): Likewise.
15146         (isunordered_test_data): Likewise.
15147         (j0_test_data): Likewise.
15148         (j1_test_data): Likewise.
15149         (jn_test_data): Likewise.
15150         (lgamma_test_data): Likewise.
15151         (lrint_test_data): Likewise.
15152         (llrint_test_data): Likewise.
15153         (log_test_data): Likewise.
15154         (log10_test_data): Likewise.
15155         (log1p_test_data): Likewise.
15156         (log2_test_data): Likewise.
15157         (logb_test_data): Likewise.
15158         (lround_test_data): Likewise.
15159         (llround_test_data): Likewise.
15160         (modf_test_data): Likewise.
15161         (nearbyint_test_data): Likewise.
15162         (nextafter_test_data): Likewise.
15163         (nexttoward_test_data): Likewise.
15164         (pow_test_data): Likewise.
15165         (remainder_test_data): Likewise.
15166         (remquo_test_data): Likewise.
15167         (rint_test_data): Likewise.
15168         (round_test_data): Likewise.
15169         (signbit_test_data): Likewise.
15170         (sinh_test_data): Likewise.
15171         (sqrt_test_data): Likewise.
15172         (tanh_test_data): Likewise.
15173         (tgamma_test_data): Likewise.
15174         (trunc_test_data): Likewise.
15175         (y0_test_data): Likewise.
15176         (y1_test_data): Likewise.
15177         (yn_test_data): Likewise.
15178         (significand_test_data): Likewise.
15180 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15182         * manual/filesys.texi (Storage Allocation): Document that
15183         posix_fallocate emulation fails when fd is open with O_WRONLY.
15185 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15187         [BZ #19016]
15188         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15189         allow more cases with X^2 + Y^2 >= 0.5.
15190         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15191         normal element in sum instead of special-casing based on values of
15192         arguments.
15193         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15194         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15195         -1 as normal element in sum instead of special-casing based on
15196         values of arguments.
15197         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15198         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15199         (__x2y2m1): Update comment.
15200         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15201         as normal element in sum instead of special-casing based on values
15202         of arguments.
15203         * math/s_clog.c (__clog): Handle more cases using log1p without
15204         hypot.
15205         * math/s_clog10.c (__clog10): Likewise.
15206         * math/s_clog10f.c (__clog10f): Likewise.
15207         * math/s_clog10l.c (__clog10l): Likewise.
15208         * math/s_clogf.c (__clogf): Likewise.
15209         * math/s_clogl.c (__clogl): Likewise.
15210         * math/auto-libm-test-in: Add more tests of clog and clog10.
15211         * math/auto-libm-test-out: Regenerated.
15212         * sysdeps/i386/fpu/libm-test-ulps: Update.
15213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15215 2015-09-28  Martin Sebor  <msebor@redhat.com>
15217         [BZ #18969]
15218         * string/Makefile (LOCALES): Define.
15219         (gen-locales.mk): Include.
15220         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15221         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15222         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15223         on setlocale failure.
15225 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15227         [BZ #18985]
15228         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15229         (__strftime_internal): Likewise.
15230         * time/tst-strftime.c (do_bz18985): New test.
15231         (do_test): Call it.
15233 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15235         [BZ #18956]
15236         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15237         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15238         extracting high part.
15239         * math/auto-libm-test-in: Add another test of pow.
15240         * math/auto-libm-test-out: Regenerated.
15241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15243 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15245         [BZ #18825]
15246         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15247         New macro.
15248         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15249         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15250         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15251         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15252         DBL_NARROW_EVAL, reloading the PIC register as needed.
15253         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15254         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15255         FLT_NARROW_EVAL.  Use separate return path for case when first
15256         argument is NaN.
15257         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15258         DEFINE_LDBL_MIN.
15259         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15260         PIC register.
15261         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15262         math_check_force_underflow_nonneg.
15263         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15264         underflow for subnormal result.
15265         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15266         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15267         math_check_force_underflow_nonneg.
15268         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15269         math_check_force_underflow.
15270         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15271         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15272         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15273         DEFINE_LDBL_MIN.
15274         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15275         * math/auto-libm-test-in: Add more tests of pow.
15276         * math/auto-libm-test-out: Regenerated.
15278 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15280         * nss/bug17079.c (init_test_items): Add diagnostic for
15281         inconsistent entries.
15282         (test_buffer_size): Skip inconsistent entries.
15284 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15286         [BZ #13304]
15287         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15288         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15289         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15291         [BZ #13304]
15292         * sysdeps/microblaze/s_fma.c: New file.
15293         * sysdeps/microblaze/s_fmaf.c: Likewise.
15294         * sysdeps/microblaze/sfp-machine.h: Likewise.
15296 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15298         [BZ #17250]
15299         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15300         member.
15302 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15304         [BZ #18803]
15305         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15306         (MO): New macro.
15307         (__ieee754_hypot) [PIC]: Load PIC register.
15308         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15309         DBL_NARROW_EVAL.
15310         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15311         math_check_force_underflow_nonneg in case where result might be
15312         tiny.
15313         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15314         Likewise.
15315         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15316         Likewise.
15317         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15318         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15319         * math/auto-libm-test-in: Add more tests of hypot.
15320         * math/auto-libm-test-out: Regenerated.
15322 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15324         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15326 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15328         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15329         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15330         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15331         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15332         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15333         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15334         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15336         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15337         LOAD_PIC_REG.
15339         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15340         (FLT_CHECK_FORCE_UFLOW): Likewise.
15341         (DBL_CHECK_FORCE_UFLOW): Likewise.
15342         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15343         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15344         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15345         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15346         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15347         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15348         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15349         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15350         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15351         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15352         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15353         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15354         (flt_min): Replace with use of DEFINE_FLT_MIN.
15355         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15356         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15357         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15358         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15359         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15360         (flt_min): Replace with use of DEFINE_FLT_MIN.
15361         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15362         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15363         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15364         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15365         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15366         (flt_min): Replace with use of DEFINE_FLT_MIN.
15367         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15368         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15369         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15370         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15371         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15372         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15373         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15374         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15375         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15376         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15377         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15378         (flt_min): Replace with use of DEFINE_FLT_MIN.
15379         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15380         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15381         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15382         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15383         main computation.
15384         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15385         (flt_min): Replace with use of DEFINE_FLT_MIN.
15386         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15387         main computation.
15388         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15389         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15390         (MO): New macro.
15391         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15392         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15393         (flt_min): Replace with use of DEFINE_FLT_MIN.
15394         (MO): New macro.
15395         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15396         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15397         (__log1pl): Use MO.
15399         [BZ #19003]
15400         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15401         $(config-cflags-nofma).
15403 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15405         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15407 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15409         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15410         (TWO127): Likewise.
15412         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15413         (min_of_type): Likewise.
15414         (math_check_force_underflow): Likewise.
15415         (math_check_force_underflow_nonneg): Likewise.
15416         (math_check_force_underflow_complex): Likewise.
15417         * math/e_exp2l.c (__ieee754_exp2l): Use
15418         math_check_force_underflow_nonneg.
15419         * math/k_casinh.c (__kernel_casinh): Likewise.
15420         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15421         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15422         * math/s_catan.c (__catan): Use
15423         math_check_force_underflow_complex.
15424         * math/s_catanf.c (__catanf): Likewise.
15425         * math/s_catanh.c (__catanh): Likewise.
15426         * math/s_catanhf.c (__catanhf): Likewise.
15427         * math/s_catanhl.c (__catanhl): Likewise.
15428         * math/s_catanl.c (__catanl): Likewise.
15429         * math/s_ccosh.c (__ccosh): Likewise.
15430         * math/s_ccoshf.c (__ccoshf): Likewise.
15431         * math/s_ccoshl.c (__ccoshl): Likewise.
15432         * math/s_cexp.c (__cexp): Likewise.
15433         * math/s_cexpf.c (__cexpf): Likewise.
15434         * math/s_cexpl.c (__cexpl): Likewise.
15435         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15436         * math/s_clog10.c (__clog10): Likewise.
15437         * math/s_clog10f.c (__clog10f): Likewise.
15438         * math/s_clog10l.c (__clog10l): Likewise.
15439         * math/s_clogf.c (__clogf): Likewise.
15440         * math/s_clogl.c (__clogl): Likewise.
15441         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15442         * math/s_csinf.c (__csinf): Likewise.
15443         * math/s_csinh.c (__csinh): Likewise.
15444         * math/s_csinhf.c (__csinhf): Likewise.
15445         * math/s_csinhl.c (__csinhl): Likewise.
15446         * math/s_csinl.c (__csinl): Likewise.
15447         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15448         * math/s_csqrtf.c (__csqrtf): Likewise.
15449         * math/s_csqrtl.c (__csqrtl): Likewise.
15450         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15451         * math/s_ctanf.c (__ctanf): Likewise.
15452         * math/s_ctanh.c (__ctanh): Likewise.
15453         * math/s_ctanhf.c (__ctanhf): Likewise.
15454         * math/s_ctanhl.c (__ctanhl): Likewise.
15455         * math/s_ctanl.c (__ctanl): Likewise.
15456         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15457         instead of volatile.
15458         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15459         math_check_force_underflow.
15460         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15461         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15462         volatile when forcing underflow.
15463         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15464         math_check_force_underflow_nonneg.
15465         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15466         Likewise.
15467         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15468         math_check_force_underflow.
15469         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15470         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15471         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15472         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15473         math_check_force_underflow_nonneg.
15474         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15475         math_check_force_underflow.
15476         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15477         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15478         instead of volatile.
15479         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15480         math_check_force_underflow.
15481         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15482         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15483         math_check_force_underflow_nonneg.
15484         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15485         math_check_force_underflow.
15486         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15487         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15488         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15489         math_check_force_underflow_nonneg.
15490         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15491         Likewise.
15492         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15493         math_check_force_underflow.
15494         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15495         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15496         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15497         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15498         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15499         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15500         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15501         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15502         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15503         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15504         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15505         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15506         Likewise.
15507         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15508         math_check_force_underflow_nonneg.
15509         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15510         Likewise.
15511         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15512         math_check_force_underflow.
15513         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15514         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15515         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15516         Likewise.
15517         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15518         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15519         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15520         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15521         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15522         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15523         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15524         instead of volatile.
15525         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15526         math_check_force_underflow.
15527         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15528         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15529         math_check_force_underflow.
15530         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15531         Likewise.
15532         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15533         Use math_check_force_underflow_nonneg.
15534         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
15535         math_check_force_underflow.
15536         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15537         Likewise.
15538         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
15539         Likewise.
15540         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
15541         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
15542         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
15543         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
15544         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
15545         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
15546         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
15547         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
15548         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
15549         math_check_force_underflow_nonneg.
15550         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
15551         math_check_force_underflow.
15552         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
15553         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
15554         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
15555         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
15556         math_check_force_underflow_nonneg.
15557         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
15558         math_check_force_underflow.
15559         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
15560         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
15561         instead of volatile.
15562         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
15563         math_check_force_underflow.
15565         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
15566         * stdlib/strtod_l.c: Include <math_private.h>.
15567         (overflow_value): Use math_narrow_eval.
15568         (underflow_value): Likewise.
15569         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15570         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15571         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
15572         (__ieee754_gamma_r): Likewise.
15573         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
15574         Likewise.
15575         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15576         Likewise.
15577         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
15578         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
15579         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
15580         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
15581         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
15582         (__ieee754_gammaf_r): Likewise.
15583         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15584         Likewise.
15585         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
15586         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
15587         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
15588         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
15589         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
15590         volatile.
15591         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
15592         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
15593         math_narrow_eval.
15594         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15595         Likewise.
15596         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15597         Likewise.
15598         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
15599         Likewise.
15600         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
15601         volatile.
15602         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
15603         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
15604         math_narrow_eval.
15605         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15606         Likewise.
15607         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15608         Likewise.
15610 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
15612         * nptl/Versions: Remove ignored symbols.
15614 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15616         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
15617         * nss/Makefile (tests): Update.
15619 2015-09-22  Florian Weimer  <fweimer@redhat.com>
15621         * nss/bug18287.c: New file.
15622         * nss/Makefile (tests): Add bug18287.
15624 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15626         * mach/Versions (__mach_host_self_): Add symbol.
15628 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15630         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
15631         vm_page_size.
15633 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15635         Really fix sysdeps/i386/fpu/s_scalbn.S build
15637         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
15638         (libc: GLIBC_2_22): Remove unused version set.
15640 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15642         * config.make.in (enable-timezone-tools): New variable.
15643         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
15644         (enable_timezone_tools): Export to generated files.
15645         * configure: Regenerate.
15646         * INSTALL: Regenerate.
15647         * manual/install.texi (--disable-timezone-tools): Document new flag.
15648         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
15649         ifeq ($(enable-timezone-tools),yes) check.
15651 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15653         * timezone/Makefile: Revert previous change.
15655         [BZ #18980]
15656         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
15657         (DEFINE_DBL_MIN): Likewise.
15658         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15659         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
15660         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15661         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
15662         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
15663         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15664         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15665         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
15666         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
15667         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15668         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15669         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
15670         (flt_min): Replace with use of DEFINE_FLT_MIN.
15671         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15672         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
15673         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15674         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
15675         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
15676         (flt_min): Replace with use of DEFINE_FLT_MIN.
15677         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15678         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
15679         (flt_min): Replace with use of DEFINE_FLT_MIN.
15680         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
15681         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
15682         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
15683         (__ieee754_hypot): Use DBL_NARROW_EVAL.
15684         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
15685         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
15686         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
15687         (__ieee754_pow): Use DBL_NARROW_EVAL.
15688         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
15689         (__ieee754_powf): Use FLT_NARROW_EVAL.
15690         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
15691         (__ieee754_expf_sse2): Convert double-precision result to single
15692         precision.
15693         * sysdeps/i386/fpu/libm-test-ulps: Update.
15695 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15697         * timezone/Makefile: Ignore unused variable errors due to private.h
15698         (time_t_min) and (time_t_max).
15699         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
15700         Likewise.
15702 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15704         [BZ #18981]
15705         * sysdeps/i386/fpu/i386-math-asm.h: New file.
15706         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
15707         (__ieee754_scalb): Use DBL_NARROW_EVAL.
15708         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
15709         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
15710         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
15711         (__scalbn): Use DBL_NARROW_EVAL.
15712         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
15713         (__scalbnf): Use FLT_NARROW_EVAL.
15715 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15717         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
15718         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
15719         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
15720         * stdio-common/printf_fp.c (___printf_fp):
15721         Use signbit to get the sign. Use isinf macro to allow inlining.
15722         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
15723         * stdio-common/printf_size.c (__printf_size): Likewise.
15725 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
15727         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
15729 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
15731         [BZ #18980]
15732         * sysdeps/generic/math_private.h: Include <float.h>.
15733         (math_narrow_eval): New macro.
15734         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
15735         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
15736         math_narrow_eval on overflowing return value.
15737         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
15738         Likewise.
15739         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15740         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
15741         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
15742         Likewise.
15743         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15745 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15747         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
15748         * math/Makefile: Remove isinf_ns.c.
15749         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
15750         * math/multc3.c (__multc3): Likewise.
15751         * math/s_casin.c (__casin): Likewise.
15752         * math/s_casinf.c (__casinf): Likewise.
15753         * math/s_casinl.c (__casinl): Likewise.
15754         * math/s_cproj.c (__cproj): Likewise.
15755         * math/s_cprojf.c (__cprojf): Likewise.
15756         * math/s_cprojl.c (__cprofl): Likewise.
15757         * math/s_ctan.c (__ctan): Likewise.
15758         * math/s_ctanf.c (__ctanf): Likewise.
15759         * math/s_ctanh.c (__ctanh): Likewise.
15760         * math/s_ctanhf.c (__ctanhf): Likewise.
15761         * math/s_ctanhl.c (__ctanhl): Likewise.
15762         * math/s_ctanl.c (__ctanl): Likewise.
15763         * math/w_fmod.c (__fmod): Likewise.
15764         * math/w_fmodf.c (__fmodf): Likewise.
15765         * math/w_fmodl.c (_fmodl): Likewise.
15766         * math/w_remainder.c (__remainder): Likewise.
15767         * math/w_remainderf.c (__remainderf): Likewise.
15768         * math/w_remainderl.c (__remainderl): Likewise.
15769         * math/w_scalb.c (__scalb): Likewise.
15770         * math/w_scalbf.c (__scalbf): Likewise.
15771         * math/w_scalbl.c (__scalbl): Likewise.
15772         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
15773         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
15774         with isinf.
15775         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
15776         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
15777         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
15778         __isinf_nsf with isinf.
15779         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
15780         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
15781         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
15782         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
15783         with isinf.
15784         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
15785         __isinf_nsl with isinf.
15786         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
15787         with isinf.
15788         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
15789         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
15790         __isinf_nsl with isinf.
15791         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
15792         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
15793         with isinf.
15795 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15797         * resolv/base64.c (rcsid): Remove unused static.
15798         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
15799         static.  (tqpi1): Likewise.
15800         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
15801         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
15802         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
15803         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
15804         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
15805         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
15806         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
15807         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
15808         Likewise.
15810 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
15812         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
15813         <nptl/pthreadP.h>.
15814         (_longjmp_unwind): Use __libc_ptf_call.
15815         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
15817 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
15819         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
15820         * sysdeps/arm/__longjmp.S: Likewise.
15822 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15824         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
15825         Use __builtin_signbit.
15826         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
15827         Use __builtin_signbitf.
15828         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
15829         Use __builtin_signbitl.
15830         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
15831         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
15833 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15835         [BZ #15367]
15836         [BZ #17441]
15838         * math/Makefile: Build test-snan.c with -fsignaling-nans.
15839         * math/math.h (fpclassify): Use __builtin_fpclassify when
15840         available.  (signbit): Use __builtin_signbit(f/l).
15841         (isfinite): Use__builtin_isfinite.  (isnormal): Use
15842         __builtin_isnormal.  (isnan): Use __builtin_isnan.
15843         (isinf): Use __builtin_isinf_sign.
15845 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
15847         * benchtests/Makefile: Add bench-math-inlines, link with libm.
15848         * benchtests/bench-math-inlines.c: New benchmark.
15849         * benchtests/bench-util.h: New file.
15850         * benchtests/bench-util.c: New file.
15851         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
15853 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
15855         * elf/tst-dlmopen1.c: Define TEST_SO.
15856         (do_test): Use TEST_SO.
15858         * elf/dl-load.c: Include libc-internal.h.
15859         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
15861 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15863         [BZ #17887]
15864         * time/strptime_l.c (__strptime_internal): Make %z accept
15865         [+-]HH:MM time zones.
15867 2015-09-18  Vincent Bernat  <vincent@bernat.im>
15869         [BZ #17886]
15870         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
15871         valid time zone.
15873 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
15875         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
15876         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
15877         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15878         (__ASSUME_FDATASYNC): Delete.
15880 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15882         * conform/linknamespace.pl: Require weak undefined symbols to be
15883         in the standard namespace.
15884         (%strong_syms): Rename to %seen_syms.
15885         (%strong_seen): Rename to %seen_where.
15887 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
15889         [BZ #18970]
15890         * misc/error.c (error): Replace pthread_setcancelstate with
15891         __pthread_setcancelstate.
15892         (error_at_line): Likewise.
15893         * posix/wordexp.c (parse_comm): Likewise.
15894         * stdlib/fmtmsg.c (fmtmsg): Likewise.
15895         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
15896         (__pthread_setcancelstate): This.
15897         (pthread_setcancelstate): Add an alias.
15898         * nptl/nptl-init.c (pthread_functions): Replace
15899         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
15900         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
15901         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
15902         hidden_proto.
15903         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
15904         it with hidden_def.
15905         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
15906         (pthread_setcancelstate): Renamed to ...
15907         (__pthread_setcancelstate): This.
15908         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
15909         __libc_ptf_call with __pthread_setcancelstate.
15911 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15912             Andreas Schwab  <schwab@suse.de>
15914         [BZ #17118]
15915         * math/s_ctan.c (__ctan): Determine sign of zero real part of
15916         result when imaginary part of argument is infinite using sine and
15917         cosine.
15918         * math/s_ctanf.c (__ctanf): Likewise.
15919         * math/s_ctanl.c (__ctanl): Likewise.
15920         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
15921         of result when real part of argument is infinite using sine and
15922         cosine.
15923         * math/s_ctanhf.c (__ctanhf): Likewise.
15924         * math/s_ctanhl.c (__ctanhl): Likewise.
15925         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
15926         (ctanh_test_data): Add more tests of ctanh.
15928 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
15930         [BZ #15384]
15931         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
15932         bit-mask as in subtraction.
15933         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
15934         Likewise.
15935         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
15936         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
15937         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
15939         [BZ #18951]
15940         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
15941         underflow exception for small results.
15942         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15943         Likewise.
15944         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15945         Likewise.
15946         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
15947         Likewise.
15948         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15949         Likewise.
15950         * math/auto-libm-test-in: Add more tests of tgamma.
15951         * math/auto-libm-test-out: Regenerated.
15953 2015-09-17  Andreas Schwab  <schwab@suse.de>
15955         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
15957 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
15959         [BZ #18977]
15960         * math/bits/mathcalls.h
15961         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
15962         not declare.
15963         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
15964         Likewise.
15965         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
15966         Likewise.
15967         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
15968         Likewise.
15969         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
15970         Likewise.
15971         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
15972         Likewise.
15973         * conform/data/math.h-data
15974         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
15975         function.
15976         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
15977         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
15978         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
15979         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
15980         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
15981         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
15982         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
15983         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
15984         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
15985         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
15986         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
15988         [BZ #6803]
15989         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
15990         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
15991         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
15992         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
15993         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
15994         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
15995         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
15996         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
15997         [NO_LONG_DOUBLE] (scalbnl): Likewise.
15998         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
15999         Likewise.
16000         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16001         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
16002         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
16003         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
16004         long_double_symbol calls.
16005         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
16006         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
16007         strong alias of __ldexpl.
16008         (scalbnl): Define using long_double_symbol.
16009         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16010         Remove alias.
16011         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16012         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16013         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16014         (scalbln_test_data): Add more errno expectations.
16016 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16018         Cache the host port like we cache the task port.  This way we do not
16019         need to call the kernel just to get the port.  Furthermore, we no
16020         longer increase the reference count on every invocation of
16021         `mach_host_self'.
16023         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16024         Protect declarations against the macro expansion.
16025         * mach/mach_init.c (__mach_host_self_): New variable.
16026         (mach_init): Initialize `__mach_host_self_'.
16027         * mach/mach_init.h (__mach_host_self_): New declaration.
16028         (__mach_host_self, mach_host_self): New macros.
16029         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16030         Release reference.
16032 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16034         [BZ #4404]
16035         * po/de.po: Update from Translation Project.
16037         [BZ #16415]
16038         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16039         (__expm1l): Remove code to handle positive infinity and overflow.
16040         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16041         variable.
16042         (__expm1l): Remove code to handle positive infinity and overflow.
16044 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16045             Paul Pluzhnikov  <ppluzhnikov@google.com>
16047         [BZ #18872]
16048         * stdio-common/Makefile (tst-printf-bz18872): New test.
16049         (tst-printf-bz18872-mem.out): Likewise.
16050         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16051         * stdio-common/vfprintf.c: Fix memory leaks.
16053 2015-09-16  Andreas Schwab  <schwab@suse.de>
16055         [BZ #17244]
16056         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16057         Remove extra va_start/va_end calls.
16059         [BZ #17243]
16060         * posix/execl.c (execl): Add missing va_end.
16061         * posix/execle.c (execle): Likewise.
16062         * posix/execlp.c (execlp): Likewise.
16064 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16066         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16067         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16069 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16071         [BZ #18967]
16072         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16073         undefine around includes of <bits/mathcalls.h>.
16074         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16075         not declare function.
16076         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16077         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16078         (scalb): Likewise.
16079         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16080         not define macro.
16081         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16082         variable.
16083         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16084         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16085         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16087         [BZ #18857]
16088         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16089         return non-finite argument without doing ordered comparisons on
16090         it.
16092         [BZ #16296]
16093         * math/fenv.h (fegetround): Use __attribute_pure__.
16094         * include/fenv.h (__fegetround): Likewise.
16096         [BZ #18595]
16097         * math/s_ctan.c (__ctan): Force underflow exception for results
16098         whose real or imaginary part has small absolute value.
16099         * math/s_ctanf.c (__ctanf): Likewise.
16100         * math/s_ctanh.c (__ctanh): Likewise.
16101         * math/s_ctanhf.c (__ctanhf): Likewise.
16102         * math/s_ctanhl.c (__ctanhl): Likewise.
16103         * math/s_ctanl.c (__ctanl): Likewise.
16104         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16105         and ctanh.  Add more tests of ctan and ctanh.
16107         [BZ #15918]
16108         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16109         handling of cases where one argument is an infinity.
16111         [BZ #18875]
16112         [BZ #18966]
16113         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16114         (MO): New macro.
16115         (__ieee754_exp10): For small results, force underflow exception
16116         and remove excess range and precision from return value.
16117         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16118         (MO): New macro.
16119         (__ieee754_exp10f): For small results, force underflow exception
16120         and remove excess range and precision from return value.
16121         * math/auto-libm-test-in: Add more tests of exp10.
16122         * math/auto-libm-test-out: Regenerated.
16124 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16126         [BZ #18875]
16127         [BZ #18961]
16128         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16129         (MO): New macro.
16130         (__ieee754_exp): For small results, force underflow exception and
16131         remove excess range and precision from return value.
16132         (__exp_finite): Likewise.
16133         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16134         (MO): New macro.
16135         (__ieee754_expf): For small results, force underflow exception and
16136         remove excess range and precision from return value.
16137         (__expf_finite): Likewise.
16138         * math/auto-libm-test-in: Add more tests of exp.
16139         * math/auto-libm-test-out: Regenerated.
16141         [BZ #16521]
16142         [BZ #18875]
16143         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16144         small results.
16145         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16146         (MO): New macro.
16147         (__ieee754_exp2): For small results, force underflow exception and
16148         remove excess range and precision from return value.
16149         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16150         (MO): New macro.
16151         (__ieee754_exp2f): For small results, force underflow exception
16152         and remove excess range and precision from return value.
16153         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16154         (MO): New macro.
16155         (__ieee754_exp2l): Force underflow exception for small results.
16156         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16157         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16158         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16159         (MO): New macro.
16160         (__ieee754_exp2l): Force underflow exception for small results.
16161         * math/auto-libm-test-in: Add more tests or exp2.
16162         * math/auto-libm-test-out: Regenerated.
16164 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16166         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16168         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16169         /dev/null.
16171 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16173         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16174         io fs process)): Drop spurious backslash.
16176 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16178         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16179         Use sysinfo system call instead of parsing /proc/meminfo.
16180         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16181         Likewise.
16183 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16185         [BZ #16985]
16186         * programs/localedef.c (main): Display argv[remaining] when
16187         output_path is NULL.
16189 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16191         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16192         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16193         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16194         tanh.
16195         * math/auto-libm-test-out: Regenerated.
16196         * sysdeps/i386/fpu/libm-test-ulps: Update.
16197         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16198         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16201 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16203         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16204         Use 'override' keyword to freeze the value here, preventing
16205         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16207 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16209         [BZ #14912]
16210         * sysdeps/aarch64/bits/atomic.h: Move to ...
16211         * sysdeps/aarch64/atomic-machine.h: ...here.
16212         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16213         _AARCH64_ATOMIC_MACHINE_H.
16214         * sysdeps/alpha/bits/atomic.h: Move to ...
16215         * sysdeps/alpha/atomic-machine.h: ...here.
16216         * sysdeps/arm/bits/atomic.h: Move to ...
16217         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16218         * bits/atomic.h: Move to ...
16219         * sysdeps/generic/atomic-machine.h: ...here.
16220         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16221         * sysdeps/i386/bits/atomic.h: Move to ...
16222         * sysdeps/i386/atomic-machine.h: ...here.
16223         * sysdeps/ia64/bits/atomic.h: Move to ...
16224         * sysdeps/ia64/atomic-machine.h: ...here.
16225         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16226         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16227         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16228         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16229         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16230         * sysdeps/microblaze/bits/atomic.h: Move to ...
16231         * sysdeps/microblaze/atomic-machine.h: ...here.
16232         * sysdeps/mips/bits/atomic.h: Move to ...
16233         * sysdeps/mips/atomic-machine.h: ...here.
16234         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16235         * sysdeps/powerpc/bits/atomic.h: Move to ...
16236         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16237         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16238         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16239         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16240         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16241         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16242         <atomic-machine.h> instead of <bits/atomic.h>.
16243         * sysdeps/s390/bits/atomic.h: Move to ...
16244         * sysdeps/s390/atomic-machine.h: ...here.
16245         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16246         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16247         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16248         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16249         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16250         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16251         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16252         * sysdeps/tile/bits/atomic.h: Move to ...
16253         * sysdeps/tile/atomic-machine.h: ...here.
16254         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16255         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16256         <sysdeps/tile/atomic-machine.h> instead of
16257         <sysdeps/tile/bits/atomic.h>.
16258         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16259         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16260         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16261         <sysdeps/tile/atomic-machine.h> instead of
16262         <sysdeps/tile/bits/atomic.h>.
16263         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16264         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16265         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16266         <sysdeps/arm/atomic-machine.h> instead of
16267         <sysdeps/arm/bits/atomic.h>.
16268         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16269         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16270         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16271         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16272         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16273         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16274         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16275         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16276         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16277         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16278         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16279         * sysdeps/x86_64/bits/atomic.h: Move to ...
16280         * sysdeps/x86_64/atomic-machine.h: ...here.
16281         * include/atomic.h: Include <atomic-machine.h> instead of
16282         <bits/atomic.h>.
16284         * sysdeps/mips/mips32/libm-test-ulps: Update.
16285         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16287         [BZ #18952]
16288         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16289         not convert non-integer negative arguments to int to determine the
16290         value of signgam.
16291         * math/auto-libm-test-in: Add more tests of lgamma.
16292         * math/auto-libm-test-out: Regenerated.
16294         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16295         cosh, csqrt, erfc, expm1 and lgamma.
16296         * math/auto-libm-test-out: Regenerated.
16297         * sysdeps/i386/fpu/libm-test-ulps: Update.
16298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16300 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16302         [BZ #2542]
16303         [BZ #2543]
16304         [BZ #2558]
16305         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16306         __lgamma_neg for arguments from -28.0 to -2.0.
16307         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16308         __lgamma_negf for arguments from -15.0 to -2.0.
16309         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16310         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16311         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16312         Call __lgamma_negl for arguments from -33.0 to -2.0.
16313         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16314         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16315         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16316         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16317         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16318         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16319         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16320         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16321         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16322         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16323         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16324         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16325         (__lgamma_neg): Likewise.
16326         (__lgamma_negl): Likewise.
16327         (__lgamma_product): Likewise.
16328         (__lgamma_productl): Likewise.
16329         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16330         * math/auto-libm-test-in: Add more tests of lgamma.
16331         * math/auto-libm-test-out: Regenerated.
16332         * sysdeps/i386/fpu/libm-test-ulps: Update.
16333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16335 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16337         [BZ #18675]
16338         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16340 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16342         [BZ #14912]
16343         * bits/libc-lock.h: Move to ...
16344         * sysdeps/generic/libc-lock.h: ...here.
16345         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16346         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16347         * sysdeps/mach/hurd/libc-lock.h: ...here.
16348         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16349         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16350         * sysdeps/mach/bits/libc-lock.h: Move to ...
16351         * sysdeps/mach/libc-lock.h: ...here.
16352         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16353         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16354         * sysdeps/nptl/libc-lock.h: ...here.
16355         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16356         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16357         * sysdeps/nptl/libc-lockP.h: ...here.
16358         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16359         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16360         <bits/libc-lock.h>.
16361         * dirent/scandir-tail.c: Likewise.
16362         * dlfcn/dlerror.c: Likewise.
16363         * elf/dl-close.c: Likewise.
16364         * elf/dl-iteratephdr.c: Likewise.
16365         * elf/dl-lookup.c: Likewise.
16366         * elf/dl-open.c: Likewise.
16367         * elf/dl-support.c: Likewise.
16368         * elf/dl-writev.h: Likewise.
16369         * elf/rtld.c: Likewise.
16370         * grp/fgetgrent.c: Likewise.
16371         * gshadow/fgetsgent.c: Likewise.
16372         * gshadow/sgetsgent.c: Likewise.
16373         * iconv/gconv_conf.c: Likewise.
16374         * iconv/gconv_db.c: Likewise.
16375         * iconv/gconv_dl.c: Likewise.
16376         * iconv/gconv_int.h: Likewise.
16377         * iconv/gconv_trans.c: Likewise.
16378         * include/link.h: Likewise.
16379         * inet/getnameinfo.c: Likewise.
16380         * inet/getnetgrent.c: Likewise.
16381         * inet/getnetgrent_r.c: Likewise.
16382         * intl/bindtextdom.c: Likewise.
16383         * intl/dcigettext.c: Likewise.
16384         * intl/finddomain.c: Likewise.
16385         * intl/gettextP.h: Likewise.
16386         * intl/loadmsgcat.c: Likewise.
16387         * intl/localealias.c: Likewise.
16388         * intl/textdomain.c: Likewise.
16389         * libidn/idn-stub.c: Likewise.
16390         * libio/libioP.h: Likewise.
16391         * locale/duplocale.c: Likewise.
16392         * locale/freelocale.c: Likewise.
16393         * locale/newlocale.c: Likewise.
16394         * locale/setlocale.c: Likewise.
16395         * login/getutent_r.c: Likewise.
16396         * login/getutid_r.c: Likewise.
16397         * login/getutline_r.c: Likewise.
16398         * login/utmp-private.h: Likewise.
16399         * login/utmpname.c: Likewise.
16400         * malloc/mtrace.c: Likewise.
16401         * misc/efgcvt.c: Likewise.
16402         * misc/error.c: Likewise.
16403         * misc/fstab.c: Likewise.
16404         * misc/getpass.c: Likewise.
16405         * misc/mntent.c: Likewise.
16406         * misc/syslog.c: Likewise.
16407         * nis/nis_call.c: Likewise.
16408         * nis/nis_callback.c: Likewise.
16409         * nis/nss-default.c: Likewise.
16410         * nis/nss_compat/compat-grp.c: Likewise.
16411         * nis/nss_compat/compat-initgroups.c: Likewise.
16412         * nis/nss_compat/compat-pwd.c: Likewise.
16413         * nis/nss_compat/compat-spwd.c: Likewise.
16414         * nis/nss_nis/nis-alias.c: Likewise.
16415         * nis/nss_nis/nis-ethers.c: Likewise.
16416         * nis/nss_nis/nis-grp.c: Likewise.
16417         * nis/nss_nis/nis-hosts.c: Likewise.
16418         * nis/nss_nis/nis-network.c: Likewise.
16419         * nis/nss_nis/nis-proto.c: Likewise.
16420         * nis/nss_nis/nis-pwd.c: Likewise.
16421         * nis/nss_nis/nis-rpc.c: Likewise.
16422         * nis/nss_nis/nis-service.c: Likewise.
16423         * nis/nss_nis/nis-spwd.c: Likewise.
16424         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16425         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16426         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16427         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16428         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16429         * nis/nss_nisplus/nisplus-network.c: Likewise.
16430         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16431         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16432         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16433         * nis/nss_nisplus/nisplus-service.c: Likewise.
16434         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16435         * nis/ypclnt.c: Likewise.
16436         * nptl/libc_pthread_init.c: Likewise.
16437         * nss/getXXbyYY.c: Likewise.
16438         * nss/getXXent.c: Likewise.
16439         * nss/getXXent_r.c: Likewise.
16440         * nss/nss_db/db-XXX.c: Likewise.
16441         * nss/nss_db/db-netgrp.c: Likewise.
16442         * nss/nss_db/nss_db.h: Likewise.
16443         * nss/nss_files/files-XXX.c: Likewise.
16444         * nss/nss_files/files-alias.c: Likewise.
16445         * nss/nsswitch.c: Likewise.
16446         * posix/regex_internal.h: Likewise.
16447         * posix/wordexp.c: Likewise.
16448         * pwd/fgetpwent.c: Likewise.
16449         * resolv/res_hconf.c: Likewise.
16450         * resolv/res_libc.c: Likewise.
16451         * shadow/fgetspent.c: Likewise.
16452         * shadow/lckpwdf.c: Likewise.
16453         * shadow/sgetspent.c: Likewise.
16454         * socket/opensock.c: Likewise.
16455         * stdio-common/reg-modifier.c: Likewise.
16456         * stdio-common/reg-printf.c: Likewise.
16457         * stdio-common/reg-type.c: Likewise.
16458         * stdio-common/vfprintf.c: Likewise.
16459         * stdio-common/vfscanf.c: Likewise.
16460         * stdlib/abort.c: Likewise.
16461         * stdlib/cxa_atexit.c: Likewise.
16462         * stdlib/fmtmsg.c: Likewise.
16463         * stdlib/random.c: Likewise.
16464         * stdlib/setenv.c: Likewise.
16465         * string/strsignal.c: Likewise.
16466         * sunrpc/auth_none.c: Likewise.
16467         * sunrpc/bindrsvprt.c: Likewise.
16468         * sunrpc/create_xid.c: Likewise.
16469         * sunrpc/key_call.c: Likewise.
16470         * sunrpc/rpc_thread.c: Likewise.
16471         * sysdeps/arm/backtrace.c: Likewise.
16472         * sysdeps/generic/ldsodefs.h: Likewise.
16473         * sysdeps/generic/stdio-lock.h: Likewise.
16474         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16475         * sysdeps/i386/backtrace.c: Likewise.
16476         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16477         * sysdeps/m68k/backtrace.c: Likewise.
16478         * sysdeps/mach/hurd/cthreads.c: Likewise.
16479         * sysdeps/mach/hurd/dirstream.h: Likewise.
16480         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16481         * sysdeps/nptl/malloc-machine.h: Likewise.
16482         * sysdeps/nptl/stdio-lock.h: Likewise.
16483         * sysdeps/posix/dirstream.h: Likewise.
16484         * sysdeps/posix/getaddrinfo.c: Likewise.
16485         * sysdeps/posix/system.c: Likewise.
16486         * sysdeps/pthread/aio_suspend.c: Likewise.
16487         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16488         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16489         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16490         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16491         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16492         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16493         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16494         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16495         * sysdeps/unix/sysv/linux/system.c: Likewise.
16496         * sysdeps/x86_64/backtrace.c: Likewise.
16497         * time/alt_digit.c: Likewise.
16498         * time/era.c: Likewise.
16499         * time/tzset.c: Likewise.
16500         * wcsmbs/wcsmbsload.c: Likewise.
16501         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16502         instead of <bits/libc-lock.h> in comment.
16504 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16506         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16507         Only use .set mips2 if the current ISA is below mips2.
16508         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16509         Likewise.
16510         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16511         mips32r2 if the current ISA is below mips32r2.
16512         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16513         (TLS_IE): Updated to use the TLD_RDHWR macro.
16514         (TLS_LE): Likewise.
16515         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16516         __ASSEMBLER__ condition.
16518 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16520         Fix parallel build of before-compile targets.
16522         * sysdeps/mach/Makefile ($(patsubst
16523         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16524         mach-before-compile target.
16525         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16526         io fs process)): Move rule to dedicated hurd-before-compile target.
16528 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16530         Fix rules generating headers in hurd/ and mach/ when initial make call
16531         has subdir= explicitly set.
16533         * sysdeps/mach/Makefile ($(patsubst
16534         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
16535         calling $(MAKE).
16536         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16537         io fs process)): Force subdir to hurd when calling $(MAKE).
16538         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
16539         subdir to mach when calling $(MAKE).
16541 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
16543         Check sysheaders when looking for Mach and Hurd headers
16545         * sysdeps/mach/configure.ac: Add sysheaders check.
16546         * sysdeps/mach/configure: Regenerate.
16547         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
16548         * sysdeps/mach/hurd/configure: Regenerate.
16550 2015-09-04  Roland McGrath  <roland@hack.frob.com>
16552         [BZ #18921]
16553         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
16554         Fix inverted sense of test of 'o_directory_works' value.
16555         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
16556         Bernhard Voelker <mail@bernhard-voelker.de>.
16558 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16560         [BZ #14912]
16561         * bits/linkmap.h: Move to ...
16562         * sysdeps/generic/linkmap.h: ...here.
16563         * sysdeps/aarch64/bits/linkmap.h: Move to ...
16564         * sysdeps/aarch64/linkmap.h: ...here.
16565         * sysdeps/arm/bits/linkmap.h: Move to ...
16566         * sysdeps/arm/linkmap.h: ...here.
16567         * sysdeps/hppa/bits/linkmap.h: Move to ...
16568         * sysdeps/hppa/linkmap.h: ...here.
16569         * sysdeps/ia64/bits/linkmap.h: Move to ...
16570         * sysdeps/ia64/linkmap.h: ...here.
16571         * sysdeps/mips/bits/linkmap.h: Move to ...
16572         * sysdeps/mips/linkmap.h: ...here.
16573         * sysdeps/s390/bits/linkmap.h: Move to ...
16574         * sysdeps/s390/linkmap.h: ...here.
16575         * sysdeps/sh/bits/linkmap.h: Move to ...
16576         * sysdeps/sh/linkmap.h: ...here.
16577         * sysdeps/x86/bits/linkmap.h: Move to ...
16578         * sysdeps/x86/linkmap.h: ...here.
16579         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
16581 2015-09-04  Andreas Schwab  <schwab@suse.de>
16583         [BZ #18635]
16584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
16585         (__makecontext): Terminate FDE before return label.
16586         (__novec_makecontext): Likewise.
16588 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16590         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
16591         first member of struct sv in syscall macro.
16593 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
16595         [BZ #14912]
16596         * bits/stdio-lock.h: Move to ...
16597         * sysdeps/generic/stdio-lock.h: ...here.
16598         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16599         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
16600         * sysdeps/nptl/stdio-lock.h: ...here.
16601         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
16602         * include/libio.h: Include <stdio-lock.h> instead of
16603         <bits/stdio-lock.h>.
16604         * sysdeps/nptl/fork.c: Likewise.
16605         * sysdeps/pthread/flockfile.c: Likewise.
16606         * sysdeps/pthread/ftrylockfile.c: Likewise.
16607         * sysdeps/pthread/funlockfile.c: Likewise.
16609         [BZ #14912]
16610         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
16611         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
16612         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
16613         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
16614         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
16615         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
16616         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
16618 2015-09-03  Roland McGrath  <roland@hack.frob.com>
16620         * elf/Makefile (test-xfail-tst-protected1a): New variable.
16621         (test-xfail-tst-protected1b): New variable.
16623 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
16625         [BZ #14912]
16626         * bits/libc-tsd.h: Move to ...
16627         * sysdeps/generic/libc-tsd.h: ...here.
16628         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
16629         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
16630         * sysdeps/mach/hurd/libc-tsd.h: ...here.
16631         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
16632         * include/ctype.h: Include <libc-tsd.h> instead of
16633         <bits/libc-tsd.h>.
16634         * include/rpc/rpc.h: Likewise.
16635         * locale/localeinfo.h: Likewise.
16636         * sunrpc/rpc_thread.c: Likewise.
16637         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16638         * sysdeps/nptl/malloc-machine.h: Likewise.
16640         * Makefile (headers): Remove bits/libc-lock.h.
16641         * libio/Makefile (headers): Remove bits/stdio-lock.h.
16643         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
16644         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
16645         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
16646         <bits/stdio-lock.h>.
16647         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
16648         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
16650 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16652         [BZ #18757]
16653         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
16654         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
16655         BZ #18757.
16657 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
16659         * malloc/mtrace.pl: Filter out NULL entries.
16661 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
16663         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
16664         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
16665         macro.
16667         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
16668         (TCP_CC_INFO): Likewise.
16669         (TCP_SAVE_SYN): Likewise.
16670         (TCP_SAVED_SYN): Likewise.
16672 2015-08-31  Brett Neumeier <brett@neumeier.us>
16674         [BZ #18870]
16675         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
16677 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
16679         [BZ #18873]
16680         Fix broken overflow check in posix_fallocate
16681         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
16682         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
16683         Fix parenthesization typo.
16685 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
16687         [BZ #18887]
16688         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
16689         tst-mntent-blank-passno.
16690         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
16691         * misc/tst-mntent-blank-corrupt.c: New test.
16692         * misc/tst-mntent-blank-passno.c: New test ripped from ...
16693         * misc/tst-mntent.c (do_test): ... here.
16695 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
16697         [BZ #4404]
16698         * po/de.po: Fix SIGALRM typo.
16700 2015-08-28  James Perkins  <james@loowit.net>
16702         * time/tst-strptime2.c (tests): Replace short list of test
16703         strings for strptime %z specifier with code which exhaustively
16704         tests every combination of sign and 0 to 5 digits. Tests for
16705         rejection of invalid strings.
16707 2015-08-28  James Perkins  <james@loowit.net>
16709         [BZ #16141]
16710         * time/strptime_l.c (__strptime_internal): Fix %z minutes
16711         calculation, removing incorrect decimal time rounding, so that
16712         all minute values result in a valid seconds value.
16713         * time/strptime_l.c (__strptime_internal): Extend %z time zone
16714         offset range limits to UTC-99:59 through UTC+99:59 to parse
16715         current and historical use cases.
16716         * time/tst-strptime2.c (tests): Modify and add tests for the
16717         strptime %z input field descriptor, specifically conversion of
16718         minutes to seconds and validating an offset range of -9959 to
16719         +9959.
16721 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16722             Dmitry V. Levin  <ldv@altlinux.org>
16724         [BZ #18877]
16725         * posix/Makefile (tests): Add tst-mmap-offset.
16726         * posix/tst-mmap.c: New file.
16727         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
16728         offset calculation for negative values.
16730 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16732         * sysdeps/i386/init-arch.h: New file.
16733         * sysdeps/i386/i586/init-arch.h: Likewise.
16734         * sysdeps/i386/i686/init-arch.h: Likewise.
16735         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
16736         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
16737         * sysdeps/x86/cpu-features.h (bit_I586): New.
16738         (bit_I686): Likewise.
16739         (bit_CX8): Likewise.
16740         (bit_CMOV): Likewise.
16741         (index_CX8): Likewise.
16742         (index_CMOV): Likewise.
16743         (index_I586): Likewise.
16744         (index_I686): Likewise.
16745         (reg_CX8): Likewise.
16746         (reg_CMOV): Likewise.
16747         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
16748         available at compile-time.
16749         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
16750         available at compile-time.
16751         * sysdeps/x86/init-arch.h (USE_I586): New macro.
16752         (USE_I686): Likewise.
16754 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16756         * sysdeps/i386/bcopy.S: New file.
16757         * sysdeps/i386/bzero.S: Likewise.
16758         * sysdeps/i386/memcpy.S: Likewise.
16759         * sysdeps/i386/memmove.S: Likewise.
16760         * sysdeps/i386/mempcpy.S: Likewise.
16761         * sysdeps/i386/memset.S: Likewise.
16762         * sysdeps/i386/bzero.c: Removed.
16763         * sysdeps/i386/memset.c: Likewise.
16764         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
16765         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
16766         * sysdeps/i386/i586/memset_chk.S: Likewise.
16767         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
16768         * sysdeps/i386/memcpy_chk.S: Here.
16769         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
16770         * sysdeps/i386/memmove_chk.S: Here.
16771         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
16772         * sysdeps/i386/mempcpy_chk.S: Likewise.
16773         * sysdeps/i386/i686/memset_chk.S: Moved to ...
16774         * sysdeps/i386/memset_chk.S: Likewise.
16776 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
16778         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
16779         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
16780         file, move DIAG_POP_NEEDS_COMMENT to end of file.
16781         * soft-fp/fmadf4.c: Ditto.
16782         * soft-fp/fmatf4.c: Ditto.
16784 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16786         * sysdeps/i386/i586/Implies: Removed.
16787         * sysdeps/i386/i686/Implies: Likewise.
16789 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16791         * sysdeps/i386/i486/strlen.S: Moved to ...
16792         * sysdeps/i386/strlen.S: Here.
16794 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16796         * sysdeps/i386/i486/strcat.S: Moved to ...
16797         * sysdeps/i386/strcat.S: Here.
16799 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16801         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
16802         * sysdeps/i386/pthread_spin_trylock.S: Here.
16803         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
16804         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
16806 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16808         * sysdeps/i386/i486/string-inlines.c: Moved to ...
16809         * sysdeps/i386/string-inlines.c: Here.
16811 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16813         * sysdeps/i386/i486/htonl.S: Moved ...
16814         * sysdeps/i386/htonl.S: here.
16816 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16818         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
16819         * sysdeps/i386/bits/atomic.h: Here.
16821 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
16823         * sysdeps/i386/i486/Versions: Removed.
16825 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
16827         [BZ #2898]
16828         * misc/mktemp.c: Add mkdtemp to the link_warning message.
16829         Based on patch by Aurelien Jarno.
16831 2015-08-26  Stan Shebs  <stanshebs@google.com>
16833         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
16834         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16836 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16838         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
16839         * sysdeps/powerpc/dl-procinfo.c:
16840         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
16841         feature so it shows when LD_SHOW_AUXV=1.
16843 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16845         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16846         (__arch_compare_and_exchange_val_32_acq): Remove and use common
16847         definition.  ISA 2.07B no longer requires full sync.
16849 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
16851         [BZ #18863]
16852         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
16853         (si_call_addr): Define.
16854         (si_syscall): Define.
16855         (si_arch): Define.
16857 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
16859         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
16860         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
16861         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
16862         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16863         (__memset_zero_constant_len_parameter): New.
16864         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
16865         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
16866         (__memset_zero_constant_len_parameter): Don't define if
16867         __memset_chk or USE_AS_BZERO are defined.
16869         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
16870         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
16871         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
16873         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
16874         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
16875         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
16876         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
16877         comments.
16878         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
16879         -mno-mmx for $(all-rtld-routines).
16880         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
16881         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
16882         i386.
16884 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16886         * sysdeps/generic/unwind.h
16887         (_Unwind_Word): Use __mode__(__unwind_word__)
16888         instead of __mode__(__word__).
16889         (_Unwind_Sword): Likewise.
16891         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16892         (MAX_NEEDED_INPUT): New define.
16893         (MAX_NEEDED_OUTPUT): New define.
16895         * NEWS: New item for IBM z13 string optimizations.
16897         * sysdeps/s390/multiarch/memrchr-c.c: New File.
16898         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
16899         * sysdeps/s390/multiarch/memrchr.c: Likewise.
16900         * sysdeps/s390/multiarch/Makefile
16901         (sysdep_routines): Add memrchr functions.
16902         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16903         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
16905         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
16906         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
16907         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
16908         * sysdeps/s390/multiarch/Makefile
16909         (sysdep_routines): Add wmemcmp functions.
16910         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16911         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
16912         * benchtests/bench-wmemcmp.c: New File.
16913         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
16915         * sysdeps/s390/multiarch/wmemset-c.c: New File.
16916         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
16917         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16918         * sysdeps/s390/multiarch/Makefile
16919         (sysdep_routines): Add wmemset functions.
16920         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16921         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
16922         * wcsmbs/wmemset.c: Use WMEMSET if defined.
16923         * string/test-memset.c: Add wmemset support.
16924         * wcsmbs/test-wmemset.c: New File.
16925         * wcsmbs/Makefile (strop-tests): Add wmemset.
16926         * benchtests/bench-memset.c: Add wmemset support.
16927         * benchtests/bench-wmemset.c: New File.
16928         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
16930         * sysdeps/s390/multiarch/memccpy-c.c: New File.
16931         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
16932         * sysdeps/s390/multiarch/memccpy.c: Likewise.
16933         * sysdeps/s390/multiarch/Makefile
16934         (sysdep_routines): Add memccpy functions.
16935         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16936         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
16937         * string/memccpy.c: Use MEMCCPY if defined.
16939         * sysdeps/s390/multiarch/memchr-vx.S: New File.
16940         * sysdeps/s390/multiarch/memchr.c: Likewise.
16941         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
16942         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
16943         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16944         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
16945         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
16946         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16947         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
16948         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
16949         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
16950         and rawmemchr functions.
16951         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
16952         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
16953         and wmemchr.
16954         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
16955         * string/test-memchr.c: Add wmemchr support.
16956         * wcsmbs/test-wmemchr.c: New File.
16957         * wcsmbs/Makefile (strop-tests): Add wmemchr.
16958         * benchtests/bench-memchr.c: Add wmemchr support.
16959         * benchtests/bench-wmemchr.c: New File.
16960         * benchtests/Makefile (wcsmbs-bench): wmemchr.
16962         * sysdeps/s390/multiarch/strcspn-c.c: New File.
16963         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
16964         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16965         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
16966         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
16967         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
16968         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
16969         wcscspn functions.
16970         * sysdeps/s390/multiarch/ifunc-impl-list.c
16971         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
16972         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
16973         * string/test-strcspn.c: Add wcscspn support.
16974         * wcsmbs/test-wcscspn.c: New File.
16975         * wcsmbs/Makefile (strop-tests): Add wcscspn.
16976         * benchtests/bench-strcspn.c: Add wcscspn support.
16977         * benchtests/bench-wcscspn.c: New File.
16978         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
16980         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
16981         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
16982         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16983         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
16984         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
16985         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16986         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
16987         wcspbrk functions.
16988         * sysdeps/s390/multiarch/ifunc-impl-list.c
16989         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
16990         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
16991         * string/test-strpbrk.c: Add wcspbrk support.
16992         * wcsmbs/test-wcspbrk.c: New File.
16993         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
16994         * benchtests/bench-strpbrk.c: Add wcspbrk support.
16995         * benchtests/bench-wcspbrk.c: New File.
16996         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
16998         * sysdeps/s390/multiarch/strspn-c.c: New File.
16999         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17000         * sysdeps/s390/multiarch/strspn.c: Likewise.
17001         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
17002         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
17003         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
17004         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
17005         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
17006         wcsspn functions.
17007         * sysdeps/s390/multiarch/ifunc-impl-list.c
17008         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17009         * string/test-strspn.c: Add wcsspn support.
17010         * wcsmbs/test-wcsspn.c: New File.
17011         * wcsmbs/Makefile (strop-tests): Add wcsspn.
17012         * benchtests/bench-strspn.c: Add wcsspn support.
17013         * benchtests/bench-wcsspn.c: New File.
17014         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17016         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17017         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17018         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17019         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17020         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17021         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17022         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17023         wcsrchr functions.
17024         * sysdeps/s390/multiarch/ifunc-impl-list.c
17025         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17026         * benchtests/bench-wcsrchr.c: New File.
17027         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17029         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17030         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17031         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17032         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17033         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17034         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17035         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17036         wcschrnul functions.
17037         * sysdeps/s390/multiarch/ifunc-impl-list.c
17038         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17039         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17040         * string/test-strchr.c: Add wcschrnul support.
17041         * wcsmbs/test-wcschrnul.c: New File.
17042         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17043         * benchtests/bench-strchr.c: Add wcschrnul support.
17044         * benchtests/bench-wcschrnul.c: New File.
17045         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17047         * sysdeps/s390/multiarch/strchr-c.c: New File.
17048         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17049         * sysdeps/s390/multiarch/strchr.c: Likewise.
17050         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17051         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17052         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17053         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17054         wcschr functions.
17055         * sysdeps/s390/multiarch/ifunc-impl-list.c
17056         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17057         * string/strchr.c (STRCHR): Define and use macro.
17058         * benchtests/bench-wcschr.c: New File.
17059         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17061         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17062         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17063         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17064         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17065         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17066         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17067         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17068         wcsncmp functions.
17069         * sysdeps/s390/multiarch/ifunc-impl-list.c
17070         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17071         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17072         * benchtests/bench-strncmp.c: Add wcsncmp support.
17073         * benchtests/bench-wcsncmp.c: New File.
17074         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17076         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17077         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17078         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17079         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17080         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17081         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17082         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17083         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17084         wcscmp functions.
17085         * sysdeps/s390/multiarch/ifunc-impl-list.c
17086         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17087         * string/strcmp.c (STRCMP): Define and use macro.
17088         * benchtests/bench-wcscmp.c: New File.
17089         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17090         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17091         instead of _HAVE_STRING_ARCH_memchr.
17093         * sysdeps/s390/multiarch/strncat-c.c: New File.
17094         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17095         * sysdeps/s390/multiarch/strncat.c: Likewise.
17096         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17097         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17098         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17099         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17100         wcsncat functions.
17101         * sysdeps/s390/multiarch/ifunc-impl-list.c
17102         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17103         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17104         * string/test-strncat.c: Add wcsncat support.
17105         * wcsmbs/test-wcsncat.c: New File.
17106         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17107         * benchtests/bench-strncat.c: Add wcsncat support.
17108         * benchtests/bench-wcsncat.c: New File.
17109         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17111         * sysdeps/s390/multiarch/strcat-c.c: New File.
17112         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17113         * sysdeps/s390/multiarch/strcat.c: Likewise.
17114         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17115         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17116         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17117         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17118         wcscat functions.
17119         * sysdeps/s390/multiarch/ifunc-impl-list.c
17120         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17121         * string/strcat.c (STRCAT): Define and use macro.
17122         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17123         * string/test-strcat.c: Add wcscat support.
17124         * wcsmbs/test-wcscat.c: New File.
17125         * wcsmbs/Makefile (strop-tests): Add wcscat.
17126         * benchtests/bench-strcat.c: Add wcscat support.
17127         * benchtests/bench-wcscat.c: New File.
17128         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17130         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17131         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17132         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17133         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17134         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17135         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17136         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17137         wcpncpy functions.
17138         * sysdeps/s390/multiarch/ifunc-impl-list.c
17139         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17140         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17141         * string/test-stpncpy.c: Add wcpncpy support.
17142         * wcsmbs/test-wcpncpy.c: New File.
17143         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17144         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17145         * benchtests/bench-wcpncpy.c: New File.
17146         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17148         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17149         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17150         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17151         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17152         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17153         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17154         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17155         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17156         wcsncpy functions.
17157         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17158         * sysdeps/s390/multiarch/ifunc-impl-list.c
17159         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17160         * string/test-strncpy.c: Add wcsncpy support.
17161         * wcsmbs/test-wcsncpy.c: New File.
17162         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17163         * benchtests/bench-strncpy.c: Add wcsncpy support.
17164         * benchtests/bench-wcsncpy.c: New File.
17165         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17167         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17168         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17169         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17170         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17171         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17172         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17173         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17174         wcpcpy functions.
17175         * string/stpcpy.c: Use STPCPY if defined.
17176         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17177         * sysdeps/s390/multiarch/ifunc-impl-list.c
17178         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17179         * string/test-stpcpy.c: Add wcpcpy support.
17180         * wcsmbs/test-wcpcpy.c: New File.
17181         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17182         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17183         * benchtests/bench-wcpcpy.c: New File.
17184         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17186         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17187         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17188         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17189         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17190         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17191         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17192         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17193         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17194         wcscpy functions.
17195         * sysdeps/s390/multiarch/ifunc-impl-list.c
17196         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17197         * benchtests/bench-wcscpy.c: New File.
17198         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17200         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17201         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17202         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17203         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17204         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17205         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17206         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17207         wcsnlen functions.
17208         * sysdeps/s390/multiarch/ifunc-impl-list.c
17209         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17210         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17211         * string/test-strnlen.c: Add wcsnlen support.
17212         * wcsmbs/test-wcsnlen.c: New File.
17213         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17214         * benchtests/bench-strnlen.c: Add wcsnlen support.
17215         * benchtests/bench-wcsnlen.c: New File.
17216         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17218         * sysdeps/s390/multiarch/Makefile: New File.
17219         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17220         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17221         * sysdeps/s390/multiarch/strlen.c: Likewise.
17222         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17223         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17224         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17225         * string/strlen.c (STRLEN): Define and use macro.
17226         * sysdeps/s390/multiarch/ifunc-impl-list.c
17227         (IFUNC_VX_IMPL): New macro function.
17228         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17229         * benchtests/Makefile (wcsmbs-bench): New variable.
17230         (string-bench-all): Added wcsmbs-bench.
17231         * benchtests/bench-wcslen.c: New File.
17233         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17234         s390_vx_libc_ifunc2): New macro function.
17236         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17237         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17238         assembler support.
17239         * sysdeps/s390/configure: Regenerated.
17241         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17242         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17244         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17245         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17246         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17248         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17249         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17250         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17251         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17252         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17253         (memcmp, bcmp): Use __memcmp_default as alias source.
17254         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17255         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17256         Rename to __memcmp_default.
17257         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17258         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17259         (memcpy): Use __memcpy_default as alias source.
17260         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17261         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17262         Rename to __memcpy_default.
17263         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17264         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17265         (memset): Use __memset_default as alias source.
17266         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17267         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17268         Rename to __memset_default.
17269         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17270         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17271         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17272         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17273         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17274         (memcmp, bcmp): Use __memcmp_default as alias source.
17275         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17276         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17277         Rename to __memcmp_default.
17278         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17279         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17280         (memcpy): Use __memcpy_default as alias source.
17281         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17282         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17283         Rename to __memcpy_default.
17284         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17285         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17286         (memset): Use __memset_default as alias source.
17287         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17288         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17289         Rename to __memset_default.
17290         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17291         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17293         [BZ #18610]
17294         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17295         __ieee_instruction_pointer to __unused.
17296         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17297         __ieee_instruction_pointer.
17298         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17299         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17300         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17301         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17302         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17303         Mark dxc-field as reserved.
17305 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17307         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17308         if the weak reference is not null.
17310 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17312         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17314         [BZ #11214]
17315         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17317 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17319         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17320         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17321         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17322         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17323         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17324         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17325         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17326         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17327         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17328         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17329         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17330         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17331         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17332         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17333         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17334         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17335         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17336         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17338 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17340         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17341         register other than r0 for tabort, it has special meaning.
17342         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17343         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17344         transaction before starting syscall.
17346 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17348         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17350 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17352         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17354         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17355         * sysdeps/x86_64/rtld-memset.S: Likewise.
17356         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17357         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17358         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17359         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17361         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17363 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17365         * debug/strcpy_chk.c: Improve performance.
17366         * debug/stpcpy_chk.c: Likewise.
17367         * sysdeps/x86_64/strcpy_chk.S: Remove.
17368         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17370         [BZ #18240]
17371         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17373 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17375         [BZ #15128]
17376         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17377         ifuncmain8.
17378         (modules-names): Add ifuncmod8.
17379         ($(objpfx)ifuncmain8): New rule.
17380         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17381         <cpuid.h>.
17382         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17383         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17384         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17385         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17386         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17387         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17388         * sysdeps/x86_64/ifuncmain8.c: New file.
17389         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17390         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17391         Removed.
17392         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17393         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17394         Change rtld_savespace_sse to __glibc_unused2.
17395         (RTLD_CHECK_FOREIGN_CALL): Removed.
17396         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17397         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17398         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17400 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17402         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17404 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17406         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17407         Unconditionally set __fpcr to avoid uninialized warning.
17408         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17410 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17412         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17413         is corrupt.
17415         * malloc/arena.c (arena_get2): Drop unused argument.
17416         (arena_lock): Adjust.
17417         (arena_get_retry): Likewise.
17419 2015-08-24  Andreas Schwab  <schwab@suse.de>
17421         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17422         Don't define.
17423         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17424         (__ASSUME_IPC64): Don't undef.
17425         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17426         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17427         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17428         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17429         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17430         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17431         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17432         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17433         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17434         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17435         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17436         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17437         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17438         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17439         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17440         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17441         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17442         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17443         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17444         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17445         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17447 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17449         * manual/Makefile (install): Only build manual when perl is available.
17451 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17453         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17454         '#undef memcpy' by '#undef memchr'.
17456 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17458         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17459         memchr not point to the internal __GI_memchr implementation.
17461 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17463         * timezone/Makefile (CFLAGS-zdump.c): Remove
17464         -Wno-strict-prototypes.
17465         (CFLAGS-zic.c): Likewise.
17466         (CFLAGS-ialloc.c): Likewise.
17467         (CFLAGS-scheck.c): Likewise.
17469         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17470         -Wno-error=undef.
17472 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17474         * i386/i686/multiarch/strcasestr-c.c: Removed.
17475         * x86_64/multiarch/strcasestr.c: Likewise.
17476         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17477         Remove strcasestr.
17479 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17481         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17483         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17484         variables for high and low parts before possibly modifying them.
17486 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17488         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17489         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17490         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17491         of "multiarch/init-arch.h".
17492         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17493         * sysdeps/x86/init-arch.h: This.
17495 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17497         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17498         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17500 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17502         [BZ #17787]
17503         * manual/macros.texi: Add twoexp macro.
17504         * manual/filesys.texi: Fix exponents.
17505         * manual/llio.texi: Likewise.
17506         * manual/stdio.texi: Likewise.
17508 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17510         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17511         incorrect use.
17513 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17515         [BZ #18370]
17516         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17517         whose real or imaginary part has small absolute value.
17518         * math/s_csqrtf.c (__csqrtf): Likewise.
17519         * math/s_csqrtl.c (__csqrtl): Likewise.
17520         * math/auto-libm-test-in: Add more tests of csqrt.
17521         * math/auto-libm-test-out: Regenerated.
17522         * sysdeps/i386/fpu/libm-test-ulps: Update.
17524 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17526         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17527         __ppc_set_ppr_very_low): New functions.
17528         * manual/platform.texi: Add documentation about
17529         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17531 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
17533         * string/stpncpy.c (stpncpy): Improve performance using
17534         __strnlen/memcpy/memset.
17536 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17538         [BZ #18796]
17539         * scripts/test-installation.pl: Don't add -lmvec to build options if
17540         libmvec wasn't built.
17542 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
17544         [BZ #14341]
17545         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
17546         case when there is a gap between DT_REL and DT_JMPREL sections.
17547         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
17548         (LDFLAGS-tst-split-dynreloc): New.
17549         (tst-split-dynreloc-ENV): Likewise.
17550         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
17551         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
17553 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17555         [BZ #18822]
17556         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
17557         attribute_hidden.
17558         (__xstat64_conv): Likewise.
17559         (__xstat32_conv): Likewise.
17561 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17563         [BZ #18822]
17564         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
17565         Don't load %ebx when calling __setcontext.  Call __setcontext
17566         with HIDDEN_JUMPTARGET.
17567         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
17568         libc_hidden_def.
17570 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17572         * sysdeps/i386/i686/Makefile
17573         [$(subdir) == string] (sysdep_routines): Moved to ...
17574         * sysdeps/i386/Makefile: Here.
17575         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
17576         * sysdeps/i386/cacheinfo.c: Here.
17577         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
17578         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
17579         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
17580         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
17582 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17584         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
17585         __i586__ is defined.
17586         (HAS_I686): Defined to 1 if __i686__ is defined.
17588 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17590         * elf/Makefile [$(have-z-execstack) = yes]
17591         (CPPFLAGS-tst-execstack.c): New variable.
17593         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
17594         conditional to [defined UTMPX || _HAVE_UT_TYPE].
17595         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
17596         UTMPX || _HAVE_UT_TV].
17597         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
17598         UTMPX || _HAVE_UT_TV - 0].
17600 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
17602         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
17603         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
17604         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
17606 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17608         * sysdeps/powerpc/dl-procinfo.c:
17609         (_dl_powerpc_cap_flags): Added missing strings for some
17610         hwcap features.
17611         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
17613 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
17615         Port the 0x7efe...feff pattern to GCC 6.
17616         See Steve Ellcey's bug report in:
17617         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
17618         * string/memrchr.c (MEMRCHR):
17619         * string/rawmemchr.c (RAWMEMCHR):
17620         * string/strchr.c (strchr):
17621         * string/strchrnul.c (STRCHRNUL):
17622         Rewrite code to avoid issues with signed shift overflow.
17624 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
17626         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
17627         whether cpuid is available only if HAS_CPUID is 0.
17628         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
17629         (HAS_I586): Likewise.
17630         (HAS_I686): Likewise.
17632 2015-08-18  Zack Weinberg  <zackw@panix.com>
17634         * misc/Versions (libc): Add GLIBC_2.23.
17636 2015-08-18  Alan Modra  <amodra@gmail.com>
17638         [BZ #18421]
17639         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
17640         .Lp__global.
17641         (_start): Load %dp via .Lp__global.
17642         [!SHARED]: Use .section .rodata.
17644 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17646         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
17647         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
17649 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17651         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
17652         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
17654 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17656         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
17657         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
17659 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17661         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
17662         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
17664 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17666         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
17667         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
17669 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17671         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
17672         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
17674 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17676         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
17678 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17680         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
17681         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
17682         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17683         (__ASSUME_LWS_CAS): Delete.
17685 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
17687         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
17688         * sysdeps/hppa/configure: Regenerated.
17689         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
17690         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
17691         * sysdeps/hppa/nptl/tls.h: Likewise.
17693 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
17695         [BZ #18823]
17696         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
17697         for scaling up small arguments.
17698         * math/s_csqrtf.c (__csqrtf): Likewise.
17699         * math/s_csqrtl.c (__csqrtl): Likewise.
17700         * math/auto-libm-test-in: Add more tests of csqrt.
17701         * math/auto-libm-test-out: Regenerated.
17703 2015-08-17  Andreas Schwab  <schwab@suse.de>
17705         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
17706         version set GLIBC_2.19.
17708 2015-08-16  Zack Weinberg  <zackw@panix.com>
17710         [BZ #18681]
17711         * misc/regexp.h: This interface is no longer supported.
17712         Remove all contents, leaving only an #error directive.
17713         * misc/regexp.c (loc1, loc2, locs, step, advance):
17714         Demote to compatibility symbols.
17716 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
17718         [BZ #18084]
17719         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
17720         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
17721         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17722         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
17723         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
17724         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
17725         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
17726         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
17727         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17729 2015-08-15  Zack Weinberg  <zackw@panix.com>
17731         [BZ #18795]
17732         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
17733         buffer length is known to be too large, not if it's known to be
17734         small enough.
17735         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
17736         overflow at runtime, involving a length parameter, twice: once
17737         with a compile-time constant length parameter, once without.
17739 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
17741         [BZ #18824]
17742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
17743         scaling x * y up instead of down.
17744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17745         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17746         * math/auto-libm-test-in: Add more tests of fma.
17747         * math/auto-libm-test-out: Regenerated.
17749 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
17751         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17753 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17755         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
17756         unnecessary movq.
17757         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
17758         Likewise.
17760 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
17762         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17763         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
17764         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
17765         and tgamma.
17766         * math/auto-libm-test-out: Regenerated.
17767         * sysdeps/i386/fpu/libm-test-ulps: Update.
17768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17770         [BZ #16520]
17771         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
17772         (__tanh): Force underflow exception for arguments with small
17773         absolute value.
17774         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
17775         (__tanhf): Force underflow exception for arguments with small
17776         absolute value.
17777         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
17778         (__tanhl): Force underflow exception for arguments with small
17779         absolute value.
17780         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
17781         (__tanhl): Force underflow exception for arguments with small
17782         absolute value.
17783         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
17784         (__tanhl): Force underflow exception for arguments with small
17785         absolute value.
17786         * math/auto-libm-test-in: Add more tests of tanh.
17787         * math/auto-libm-test-out: Regenerated.
17788         * sysdeps/i386/fpu/libm-test-ulps: Update.
17790 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17792         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
17793         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
17795 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17797         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
17798         <cpuid.h>.
17800 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17802         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
17803         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
17805 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17807         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
17808         Remove $(objpfx)init-arch.o.
17809         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
17810         init-arch.
17811         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
17812         (INIT_ARCH_EXT): Defined as empty.
17813         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
17814         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
17815         __init_cpu_features call.  Replace HAS_XXX with
17816         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17817         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
17818         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
17819         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
17820         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
17821         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
17822         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
17823         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
17824         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
17825         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
17826         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
17827         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
17828         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
17829         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
17830         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
17831         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
17832         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
17833         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
17834         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
17835         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
17836         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
17837         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
17838         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
17839         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
17840         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
17841         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
17842         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
17843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
17844         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
17845         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
17846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
17847         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
17848         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
17849         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
17850         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
17851         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
17853 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17855         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
17856         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17857         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17858         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
17859         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
17860         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
17861         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
17862         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
17863         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
17864         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
17865         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
17866         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
17867         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17868         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
17869         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
17870         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
17871         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
17872         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
17873         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
17874         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
17875         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
17876         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
17877         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
17878         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
17879         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
17880         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
17881         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17882         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
17883         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
17884         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17885         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
17886         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
17887         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
17888         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17889         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
17890         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
17891         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
17892         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
17893         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
17894         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
17895         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
17896         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
17897         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
17899 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17901         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
17902         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17903         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17904         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17905         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17906         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
17907         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17908         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
17909         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
17910         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17911         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17912         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
17913         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
17914         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
17915         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
17916         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
17917         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
17918         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
17919         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
17920         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
17921         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
17922         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
17923         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
17924         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17925         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17926         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
17927         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
17928         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
17929         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
17930         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
17931         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17932         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17933         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17934         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17935         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17936         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
17937         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
17938         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17939         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
17940         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
17941         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17942         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
17943         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
17945 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
17947         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
17948         (dl_platform_init): Call init_cpu_features.
17949         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
17950         * sysdeps/i386/i686/cacheinfo.c
17951         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
17952         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
17953         * sysdeps/i386/i686/multiarch/Versions: Removed.
17954         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
17955         Removed.
17956         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
17957         * sysdeps/unix/sysv/linux/x86/Makefile
17958         (libpthread-sysdep_routines): Remove init-arch.
17959         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
17960         <sysdeps/x86_64/dl-procinfo.c> instead of
17961         sysdeps/generic/dl-procinfo.c>.
17962         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
17963         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
17964         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
17965         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
17966         [$(subdir) == elf] (tests-static): Add
17967         tst-get-cpu-features-static.
17968         * sysdeps/x86/Versions: New file.
17969         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
17970         * sysdeps/x86/cpu-features.c: Likewise.
17971         * sysdeps/x86/cpu-features.h: Likewise.
17972         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
17973         * sysdeps/x86/libc-start.c: Likewise.
17974         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
17975         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
17976         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
17977         * sysdeps/x86_64/dl-procinfo.c: Likewise.
17978         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
17979         Assume USE_MULTIARCH is defined and don't check it.
17980         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
17981         (is_amd): Likewise.
17982         (max_cpuid): Likewise.
17983         (intel_check_word): Likewise.
17984         (__cache_sysconf): Don't call __init_cpu_features.
17985         (__x86_preferred_memory_instruction): Removed.
17986         (init_cacheinfo): Don't call __init_cpu_features. Replace
17987         __cpu_features with GLRO(dl_x86_cpu_features).
17988         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
17989         (dl_platform_init): Call init_cpu_features.
17990         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
17991         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
17992         * sysdeps/x86_64/multiarch/Versions: Removed.
17993         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
17994         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
17995         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
17996         Removed.
17997         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
17999 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18001         [BZ #18820]
18002         * libio/Makefile (test-fmemopen-mem): New test.
18003         * libio/test-fmemopen.c (do_bz18820): New test.
18004         * libio/fmemopen.c (__fmemopen): Fix memory leak.
18005         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
18007 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18009         [BZ #16734]
18010         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18011         (FREE_BUF): Delete.
18012         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18013         * libio/genops.c (_IO_setb): Use malloc and free directly.
18014         (_IO_default_doallocate, _IO_default_finish): Likewise.
18015         ( _IO_unbuffer_all): Likewise.
18016         ( libc_freeres_fn): Likewise.
18017         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18018         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18019         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18020         (_IO_wdefault_doallocate): Likewise.
18022 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18024         [BZ #18086]
18025         * sysdeps/posix/nice.c (nice): Restore old errno.
18026         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18028 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18032 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18034         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18035         __bcopy and add a weak_alias to bcopy.
18036         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18037         for static build.
18039         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18040         cleanup macro usage.
18041         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18042         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18043         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18044         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18045         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18046         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18047         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18048         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18049         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18050         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18051         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18052         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18053         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18054         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18055         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18056         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18057         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18058         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18059         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18061         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18062         libc_hidden_def.
18063         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18065         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18066         (sysdep_routines): Add strstr-ppc64.
18067         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18069 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18071         [BZ #18778]
18072         * elf/Makefile (tests): Add Add tst-nodelete2.
18073         (modules-names): Add tst-nodelete2mod.
18074         (tst-nodelete2mod.so-no-z-defs): New.
18075         ($(objpfx)tst-nodelete2): Likewise.
18076         ($(objpfx)tst-nodelete2.out): Likewise.
18077         (LDFLAGS-tst-nodelete2): Likewise.
18078         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18079         out of loop through all loaded libraries.
18080         * elf/tst-nodelete2.c: New file.
18081         * elf/tst-nodelete2mod.c: Likewise.
18082         * elf/tst-znodelete-zlib.cc: Delete.
18084 2015-08-11  Andreas Schwab  <schwab@suse.de>
18086         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18087         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18088         (__openat64_nocancel): Likewise.
18090 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18092         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18093         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18094         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18095         * math/auto-libm-test-out: Regenerated.
18096         * sysdeps/i386/fpu/libm-test-ulps: Update.
18097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18099 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18101         [BZ #18790]
18102         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18103         threshold for returning +/- 1.
18104         * math/auto-libm-test-in: Add more tests of tanh.
18105         * math/auto-libm-test-out: Regenerated.
18106         * sysdeps/i386/fpu/libm-test-ulps: Update.
18108 2015-08-10  Andreas Schwab  <schwab@suse.de>
18110         [BZ #18781]
18111         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18112         MORE_OFLAGS to oflag.
18113         * io/test-lfs.c (do_test): Test openat64.
18115 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18117         [BZ #18789]
18118         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18119         smaller threshold for returning the argument.
18120         * math/auto-libm-test-in: Add more tests of sinh.
18121         * math/auto-libm-test-out: Regenerated.
18122         * sysdeps/i386/fpu/libm-test-ulps: Update.
18124 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18126         [BZ #18674]
18127         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18128         break.
18130 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18132         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18133         (generated): Don't add $(addprefix z.,$(tzfiles)).
18135 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18137         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18138         * scripts/sysd-rules.awk: Likewise.
18140 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18142         * iconvdata/tst-tables.sh: Change echo -n to printf.
18143         * nss/db-Makefile: Likewise.
18144         * posix/tst-getconf.sh: Likewise.
18145         * stdio-common/tst-unbputc.sh: Likewise.
18147 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18149         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18150         MADV_*_PAGES defines behind this feature check.
18152 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18154         [BZ #18480]
18155         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18156         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18157         Define.
18158         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18159         LOAD_REGS_5, LOAD_REGS_6): Update.
18160         (INTERNAL_SYSCALL): Update using new LOAD defines.
18161         (INTERNAL_SYSCALL_NCS): Likewise.
18162         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18164 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18166         [BZ #16734]
18167         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18169 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18171         [BZ #17905]
18172         * catgets/Makefile (tst-catgets-mem): New test.
18173         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18174         * catgets/open_catalog.c (__open_catalog): Likewise.
18175         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18177 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18179         [BZ #18787]
18180         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18181         clobber registers.
18182         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18183         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18184         Cast return to __typeof (oldval).
18186 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18188         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18189         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18190         and delete sys/syscall.h include.
18192 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18194         [BZ #16517]
18195         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18196         (tan): Force underflow exception for arguments with small absolute
18197         value.
18198         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18199         (__kernel_tanf): Force underflow exception for arguments with
18200         small absolute value.
18201         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18202         (__kernel_tanl): Force underflow exception for arguments with
18203         small absolute value.
18204         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18205         (__kernel_tanl): Force underflow exception for arguments with
18206         small absolute value.
18207         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18208         (__kernel_tanl): Force underflow exception for arguments with
18209         small absolute value.
18210         * math/auto-libm-test-in: Add more tests of tan.
18211         * math/auto-libm-test-out: Regenerated.
18213 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18215         Fix sysdeps/i386/fpu/s_scalbn.S build
18217         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18219 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18221         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18223 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18225         Fix gcrt0.o compilation
18227         When static-start-installed-name is different from
18228         start-installed-name, we must not use the shared objects.
18230         * csu/Makefile
18231         (extra-objs): Add gmon-start.o when building shared library and
18232         $(static-start-installed-name) is different from
18233         $(start-installed-name).
18234         $(objpfx)g$(static-start-installed-name): When building shared
18235         library and $(static-start-installed-name) is different from
18236         $(static-start-installed-name), revert to non-shared rule,
18237         i.e. using $(objpfx)% and gmon-start.o.
18239 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18241         [BZ #16519]
18242         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18243         (__ieee754_sinh): Force underflow exception for arguments with
18244         small absolute value.
18245         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18246         (__ieee754_sinhf): Force underflow exception for arguments with
18247         small absolute value.
18248         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18249         (__ieee754_sinhl): Force underflow exception for arguments with
18250         small absolute value.
18251         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18252         (__ieee754_sinhl): Force underflow exception for arguments with
18253         small absolute value.
18254         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18255         (__ieee754_sinhl): Force underflow exception for arguments with
18256         small absolute value.
18257         * math/auto-libm-test-in: Add more tests of sinh.
18258         * math/auto-libm-test-out: Regenerated.
18259         * sysdeps/i386/fpu/libm-test-ulps: Update.
18261 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18263         * libio/oldfileops.c: Include unistd.h.
18265 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18267         * stdlib/isomac.c: Include ctype.h.
18269 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18271         * dirent/tst-seekdir.c (main): Converted to ...
18272         (do_test): ... this.
18273         (TEST_FUNCTION): New macro.
18274         Include test-skeleton.c.
18275         * elf/tst-dlmodcount.c (main): Converted to ...
18276         (do_test): ... this.
18277         (TEST_FUNCTION): New macro.
18278         Include test-skeleton.c.
18279         * elf/tst-order-main.c (main): Converted to ...
18280         (do_test): ... this.
18281         (TEST_FUNCTION): New macro.
18282         Include test-skeleton.c.
18283         * elf/tst-pie2.c (main): Converted to ...
18284         (do_test): ... this.
18285         (TEST_FUNCTION): New macro.
18286         Include test-skeleton.c.
18287         * inet/tst-ether_aton.c (main): Converted to ...
18288         (do_test): ... this.
18289         (TEST_FUNCTION): New macro.
18290         Include test-skeleton.c.
18291         * misc/tst-mntent.c (main): Converted to ...
18292         (do_test): ... this.
18293         (TEST_FUNCTION): New macro.
18294         Include test-skeleton.c.
18295         * misc/tst-tsearch.c (main): Converted to ...
18296         (do_test): ... this.
18297         (TEST_FUNCTION): New macro.
18298         Include test-skeleton.c.
18299         * posix/tst-regexloc.c (main): Converted to ...
18300         (do_test): ... this.
18301         (TEST_FUNCTION): New macro.
18302         Include test-skeleton.c.
18303         * resolv/tst-aton.c (main): Converted to ...
18304         (do_test): ... this.
18305         (TEST_FUNCTION): New macro.
18306         Include test-skeleton.c.
18307         * stdio-common/test-fwrite.c (main): Converted to ...
18308         (do_test): ... this.
18309         (TEST_FUNCTION): New macro.
18310         Include test-skeleton.c.
18311         * stdio-common/tst-ferror.c (main): Converted to ...
18312         (do_test): ... this.
18313         (TEST_FUNCTION): New macro.
18314         Include test-skeleton.c.
18315         * stdio-common/tst-printf.c (main): Converted to ...
18316         (do_test): ... this.
18317         (TEST_FUNCTION): New macro.
18318         Include test-skeleton.c.
18319         * stdio-common/tst-printfsz.c (main): Converted to ...
18320         (do_test): ... this.
18321         (TEST_FUNCTION): New macro.
18322         Include test-skeleton.c.
18323         * stdlib/tst-strtod.c (main): Converted to ...
18324         (do_test): ... this.
18325         (TEST_FUNCTION): New macro.
18326         Include test-skeleton.c.
18327         * string/tst-strlen.c (main): Converted to ...
18328         (do_test): ... this.
18329         (TEST_FUNCTION): New macro.
18330         Include test-skeleton.c.
18331         * string/tst-svc.c (main): Converted to ...
18332         (do_test): ... this.
18333         (TEST_FUNCTION): New macro.
18334         Include test-skeleton.c.
18335         * time/tst-strptime.c (main): Converted to ...
18336         (do_test): ... this.
18337         (TEST_FUNCTION): New macro.
18338         Include test-skeleton.c.
18339         * timezone/tst-timezone.c (main): Converted to ...
18340         (do_test): ... this.
18341         (TEST_FUNCTION): New macro.
18342         Include test-skeleton.c.
18344 2015-08-05  Zack Weinberg  <zackw@panix.com>
18346         * misc/regexp.h: Update comments.
18348 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18350         [BZ #18635]
18351         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18352         before return label.
18354 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18356         [BZ #18661]
18357         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18358         when calling __errno_location.
18359         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18360         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18362 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18364         [BZ #18661]
18365         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18366         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18367         __gettimeofday.
18369 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18371         [BZ #18661]
18372         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18373         (__start_context): Don't use pop to restore %rdi so that stack
18374         is aligned to 16 bytes when calling __setcontext.
18376 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18378         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18379         only for libc.
18380         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18382 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18384         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18385         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18386         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18388 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18390         * string/memccpy.c (memccpy):
18391         Improve performance by using memchr/memcpy/__mempcpy.
18393 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18395         * string/strncpy.c (strncpy):
18396         Improve performance by using __strnlen/memcpy.
18398 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18400         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18401         Optimize to avoid an unnecessary FPCR read.
18403 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18405         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18406         Optimize to reduce FPCR/FPSR accesses.
18408 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18410         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18411         dead->data[category] != NULL.
18413 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18415         [BZ #18647]
18416         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18417         and |x| close to 1, use absolute value of x when computing log.
18418         * math/auto-libm-test-in: Add more tests of pow.
18419         * math/auto-libm-test-out: Regenerated.
18421 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18423         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18424         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18425         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18427 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18429         [BZ #18525]
18430         * locales/km_KH: Remove timezone definition.
18431         * locales/lo_LA: Likewise.
18432         * locales/my_MM: Likewise.
18433         * locales/nan_TW@latin: Likewise.
18434         * locales/th_TH: Likewise.
18435         * locales/uk_UA: Likewise.
18437 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18439         [BZ #18265]
18440         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18441         (wcsncat): Likewise.
18442         (wcscmp): Likewise.
18443         (wcsncmp): Likewise.
18445 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18447         * test-skeleton.c (usage): New function.
18448         (main): Call usage when opt is '?'.
18450 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18452         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18453         before first use.
18455 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18457         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18458         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18459         in there too.
18461 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18463         * version.h (RELEASE): Set to "development".
18464         (VERSION): Set to "2.22.90"
18466         * version.h (RELEASE): Set to "stable".
18467         (VERSION): Set to "2.22"
18468         * include/features.h (__GLIBC_MINOR__): Set to 22.
18470 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18472         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18473         Restructure macro to avoid "value computed is not used" warning.
18474         (atomic_compare_and_exchange_val_acq): Likewise.
18476 2015-08-04  Andreas Schwab  <schwab@suse.de>
18478         [BZ #18635]
18479         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18480         ret.
18481         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18483 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18485         * po/pl.po: Updated translation.
18486         * po/uk.po: Likewise.
18487         * po/fi.po: Likewise.
18488         * po/ko.po: Likewise.
18489         * po/ru.po: Likewise.
18490         * po/vi.po: Likewise.
18492 2015-07-31  Zack Weinberg  <zackw@panix.com>
18494         [BZ #18681]
18495         * regexp.h: Add unconditional #warning stating that this header
18496         will be removed soon.  Revise banner comment to match.
18497         (compile): Consistently use ERROR instead of RETURN to report
18498         errors (partial fix for bz#18681).
18499         * regexp.c: Don't include regexp.h. Remove some unnecessary
18500         declarations.
18502 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18504         * po/libc.pot: Regenerated.
18506 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18508         [BZ #18740]
18509         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18510         float-vlen4-arch-ext-cflags): Removed.
18511         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18512         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18514 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18516         [BZ #14113]
18517         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18518         aligned to __aligned__.
18519         (pthread_cond_t, pthread_rwlock_t): Likewise.
18521 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18523         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18525 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18527         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18528         (struct sigaction): Change sa_flags from a long to an int, and add
18529         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18531 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18533         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
18534         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
18535         sysdeps/generic/sysdep.h include.
18536         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
18537         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
18538         sysdeps/hppa/sysdep.h.
18539         (ENTRY, PSEUDO): Undefine before defining.
18541 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18543         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
18544         from scratch to use INTERNAL_SYSCALL.
18546 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
18548         [BZ #18078]
18549         * scripts/check-localplt.awk: Support alternate relocations.
18550         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
18551         sections.
18552         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
18553         malloc entries with + REL R_386_GLOB_DAT.
18554         * sysdeps/x86_64/localplt.data: New file.
18556 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
18558         [BZ #18731]
18559         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
18560         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18561         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18563 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18565         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
18567 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18569         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
18570         directly in terms of __sync_fetch_and_add and delete (int) cast.
18572 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18574         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
18575         the -D_ASM_IA64_CURRENT_H flag.
18577 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
18579         [BZ #18641]
18580         * pwd/pwd.h (putpwent): Delete __nonnull markings.
18582 2015-07-27  Andreas Schwab  <schwab@suse.de>
18584         * conform/conformtest.pl (checknamespace): Filter out string
18585         literals while tokenizing.
18587 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18589         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18590         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
18591         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18593 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
18595         * nptl/tst-join7mod.c: Add #include <string.h>.
18597 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18599         * sysdeps/nios2/libm-test-ulps: Update.
18601 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
18603         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
18604         Fix order of arguments to the rt_sigprocmask syscall.
18605         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
18606         Likewise.
18608 2015-07-24  Roland McGrath  <roland@hack.frob.com>
18610         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
18612 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18614         [BZ #18457]
18615         * nptl/Makefile (tests): New test case tst-join7.
18616         (modules-names): New test case module tst-join7mod.
18617         * nptl/tst-join7.c: New file.
18618         * nptl/tst-join7mod.c: New file.
18619         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
18620         all translation units in libc.so, libpthread.so and rtld.
18622 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18626 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18628         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
18629         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18630         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18631         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18632         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18633         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18634         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18635         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18636         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18637         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18638         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18639         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18640         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
18641         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
18642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
18643         implementation.
18645 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18647         [BZ #17711]
18648         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18649         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
18650         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18651         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
18652         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
18653         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
18655 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18657         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
18658         instead of just saying load lock in the comments.
18660 2015-07-23  Roland McGrath  <roland@hack.frob.com>
18662         * sysdeps/unix/Subdirs: Moved ...
18663         * sysdeps/posix/Subdirs: ... here.
18664         * login/pty.h (struct termios, struct winsize): Add forward decls.
18665         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
18666         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
18667         * sysdeps/arm/nacl/libc.abilist: Updated.
18668         * sysdeps/nacl/libutil.abilist: New file.
18670         * bits/signum.h: Update comments to mention 1003.1-2013 too.
18671         (SIGWINCH): New macro.
18673         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
18674         * sysdeps/arm/nacl/libc.abilist: Add it.
18676 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18678         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
18680 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
18682         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18683         Swap __glibc_reserved0 and sa_flags order.
18685 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18687         [BZ #18657]
18688         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
18689         are pending TLS destructor calls.
18690         * include/link.h (struct link_map): Add concurrency note for
18691         L_TLS_DTOR_COUNT.
18692         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18693         Don't touch the link map flag.  Atomically increment
18694         l_tls_dtor_count.
18695         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
18696         Avoid taking the load lock and don't touch the link map flag.
18697         * stdlib/tst-tls-atexit-nodelete.c: New test case.
18698         * stdlib/Makefile (tests): Use it.
18699         * stdlib/tst-tls-atexit.c (do_test): dlopen
18700         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
18701         to allow tst-tls-atexit-nodelete test case to use it.
18703 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18705         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
18706         to bits/types.h.
18707         (msgqnum_t): New typedef.
18708         (msglen_t): Likewise.
18709         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
18710         and msg_qbytes type to msglen_t.
18712 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18714         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
18715         pad0 to __glibc_reserved0.
18716         (struct stat64): Likewise.
18718 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18720         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
18721         Change sa_flags from a long to an int and add __glibc_reserved0 before
18722         it for padding.
18724 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
18726         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
18727         anonymous by deleting "siginfo" name.
18729 2015-07-21  Roland McGrath  <roland@hack.frob.com>
18731         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
18732         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
18733         rather than __nacl_irt_filename.
18734         * sysdeps/nacl/xstat.c (__xstat): Likewise.
18736         * NEWS: New item for arm-nacl port.
18737         * sysdeps/arm/nacl/libc.abilist: New file.
18738         * sysdeps/nacl/ld.abilist: New file.
18739         * sysdeps/nacl/libBrokenLocale.abilist: New file.
18740         * sysdeps/nacl/libanl.abilist: New file.
18741         * sysdeps/nacl/libcrypt.abilist: New file.
18742         * sysdeps/nacl/libdl.abilist: New file.
18743         * sysdeps/nacl/libm.abilist: New file.
18744         * sysdeps/nacl/libpthread.abilist: New file.
18745         * sysdeps/nacl/libresolv.abilist: New file.
18746         * sysdeps/nacl/librt.abilist: New file.
18748 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
18750         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
18751         __startcontext to initialize the new context.
18752         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
18753         up CFI directive to forbid further backtracing.
18755 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
18757         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
18758         reference.
18759         * charmaps/ANSI_X3.4-1968: Likewise.
18760         * charmaps/BS_4730: Likewise.
18761         * charmaps/BS_VIEWDATA: Likewise.
18762         * charmaps/CP1250: Likewise.
18763         * charmaps/CP1251: Likewise.
18764         * charmaps/CP1252: Likewise.
18765         * charmaps/CP1253: Likewise.
18766         * charmaps/CP1254: Likewise.
18767         * charmaps/CP1255: Likewise.
18768         * charmaps/CP1256: Likewise.
18769         * charmaps/CSN_369103: Likewise.
18770         * charmaps/EBCDIC-DK-NO: Likewise.
18771         * charmaps/GB_1988-80: Likewise.
18772         * charmaps/GREEK-CCITT: Likewise.
18773         * charmaps/GREEK7: Likewise.
18774         * charmaps/INIS-8: Likewise.
18775         * charmaps/ISIRI-3342: Likewise.
18776         * charmaps/ISO_2033-1983: Likewise.
18777         * charmaps/ISO_5427-EXT: Likewise.
18778         * locales/POSIX: Likewise.
18779         * locales/ar_SA: Likewise.
18780         * locales/be_BY: Likewise.
18781         * locales/be_BY@latin: Likewise.
18782         * locales/ca_ES: Likewise.
18783         * locales/cs_CZ: Likewise.
18784         * locales/da_DK: Likewise.
18785         * locales/de_BE: Likewise.
18786         * locales/de_CH: Likewise.
18787         * locales/de_LU: Likewise.
18788         * locales/en_AU: Likewise.
18789         * locales/en_BW: Likewise.
18790         * locales/en_CA: Likewise.
18791         * locales/en_DK: Likewise.
18792         * locales/en_GB: Likewise.
18793         * locales/en_IE: Likewise.
18794         * locales/en_NZ: Likewise.
18795         * locales/en_ZA: Likewise.
18796         * locales/en_ZW: Likewise.
18797         * locales/es_AR: Likewise.
18798         * locales/es_BO: Likewise.
18799         * locales/es_CL: Likewise.
18800         * locales/es_CO: Likewise.
18801         * locales/es_DO: Likewise.
18802         * locales/es_EC: Likewise.
18803         * locales/es_ES: Likewise.
18804         * locales/es_HN: Likewise.
18805         * locales/es_MX: Likewise.
18806         * locales/es_PA: Likewise.
18807         * locales/es_PE: Likewise.
18808         * locales/es_PY: Likewise.
18809         * locales/es_SV: Likewise.
18810         * locales/es_US: Likewise.
18811         * locales/es_UY: Likewise.
18812         * locales/es_VE: Likewise.
18813         * locales/et_EE: Likewise.
18814         * locales/fa_IR: Likewise.
18815         * locales/fo_FO: Likewise.
18816         * locales/fr_CA: Likewise.
18817         * locales/fr_CH: Likewise.
18818         * locales/gv_GB: Likewise.
18819         * locales/he_IL: Likewise.
18820         * locales/hr_HR: Likewise.
18821         * locales/id_ID: Likewise.
18822         * locales/is_IS: Likewise.
18823         * locales/it_CH: Likewise.
18824         * locales/iw_IL: Likewise.
18825         * locales/kl_GL: Likewise.
18826         * locales/ko_KR: Likewise.
18827         * locales/kw_GB: Likewise.
18828         * locales/lg_UG: Likewise.
18829         * locales/lt_LT: Likewise.
18830         * locales/lv_LV: Likewise.
18831         * locales/mi_NZ: Likewise.
18832         * locales/nhn_MX: Likewise.
18833         * locales/nl_BE: Likewise.
18834         * locales/pl_PL: Likewise.
18835         * locales/sk_SK: Likewise.
18836         * locales/sl_SI: Likewise.
18837         * locales/sv_FI: Likewise.
18838         * locales/tl_PH: Likewise.
18839         * locales/tr_TR: Likewise.
18840         * locales/vi_VN: Likewise.
18842 2015-07-21  Khem Raj  <raj.khem@gmail.com>
18844         [BZ #17475]
18845         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
18846         of tu_IN and bh_IN.
18848 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
18850         [BZ #18694]
18851         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
18852         bits/wordsize.h.
18853         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
18855 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18857         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
18858         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
18859         (spawn_thread): New function.
18860         (load): Rename to reg_dtor_and_close.  Move dlopen to...
18861         (do_test): ... here.  Use IS_LOADED to test for its
18862         availability.
18864 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
18866         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18868 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
18870         [BZ #18696]
18871         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
18872         si_addr_bnd.
18873         (si_lower): New.
18874         (si_upper): Likewise.
18876 2015-07-16  David S. Miller  <davem@davemloft.net>
18878         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
18880 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18882         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
18883         buffer.
18884         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
18885         fail output information.
18887 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18889         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
18890         and strstr-ppc64..
18891         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18892         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
18893         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
18894         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
18895         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
18897 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18899         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18900         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18901         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
18902         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18904 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
18906         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18907         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
18908         rtld_hidden_proto.
18909         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
18911 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18913         * tst-nodelete-opened.c (do_test): Add comment to clarify how
18914         the test can fail.
18916         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
18918         [BZ #18676]
18919         * elf/tst-nodelete-opened.c: New test case.
18920         * elf/tst-nodelete-opened-lib.c: New test case module.
18921         * elf/Makefile (tests, modules-names): Use them.
18922         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
18923         early.
18925 2015-07-15  David S. Miller  <davem@davemloft.net>
18927         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
18928         futex-intenal.h
18929         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
18930         * sysdeps/sparc/sparc64/Makefile: Likewise.
18931         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
18932         Remove space from macro define.
18933         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
18935 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
18937         [BZ #17475]
18938         * locale/iso-639.def: Update Bhili and Tulu language codes as
18939         per iso639-3.
18941 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
18943         * elf/tst-leaks1.c (main): Converted to ...
18944         (do_test): ... this.
18945         (TEST_FUNCTION): New macro.
18946         Include test-skeleton.c.
18947         * localedata/tst-langinfo.c (main): Converted to ...
18948         (do_test): ... this.
18949         (TEST_FUNCTION): New macro.
18950         Include test-skeleton.c.
18951         * math/test-fpucw.c (main): Converted to ...
18952         (do_test): ... this.
18953         (TEST_FUNCTION): New macro.
18954         Include test-skeleton.c.
18955         * math/test-tgmath.c (main): Converted to ...
18956         (do_test): ... this.
18957         (TEST_FUNCTION): New macro.
18958         Include test-skeleton.c.
18959         * math/test-tgmath2.c (main): Converted to ...
18960         (do_test): ... this.
18961         (TEST_FUNCTION): New macro.
18962         Include test-skeleton.c.
18963         * setjmp/tst-setjmp.c (main): Converted to ...
18964         (do_test): ... this.
18965         (TEST_FUNCTION): New macro.
18966         Include test-skeleton.c.
18967         * stdio-common/tst-sscanf.c (main): Converted to ...
18968         (do_test): ... this.
18969         (TEST_FUNCTION): New macro.
18970         Include test-skeleton.c.
18971         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
18972         (do_test): ... this.
18973         (TEST_FUNCTION): New macro.
18974         Include test-skeleton.c.
18976         * elf/tst-audit9.c (main): Converted to ...
18977         (do_test): ... this.
18978         (TEST_FUNCTION): New macro.
18979         Include test-skeleton.c.
18981 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
18983         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
18985 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18987         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
18988         New variable.
18990 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
18992         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18994 2015-07-14  Roland McGrath  <roland@hack.frob.com>
18996         * sysdeps/generic/dl-fileid.h: New file.
18997         * sysdeps/posix/dl-fileid.h: New file.
18998         * sysdeps/nacl/dl-fileid.h: New file.
18999         * include/link.h: Include <dl-fileid.h>.
19000         (struct link_map): Replace l_dev and l_ino with l_file_id.
19001         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
19002         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
19003         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
19005 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19007         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19009 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19011         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19012         Add iff $CXX is set.
19013         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19014         Likewise.
19015         (tst-nodelete-zmodiff): Likewise.
19016         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19018 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19020         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19022 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19024         * sysdeps/aarch64/fpu/math_private.h
19025         (define math_opt_barrier): Add AArch64 version.
19026         (math_force_eval): Likewise.
19028 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19030         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19032 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19034         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19035         %ld with %jd and cast to intmax_t.
19036         (do_test_length_zero): Likewise.
19038 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19040         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19042 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19044         * sysdeps/tile/libm-test-ulps: Regenerated.
19046         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19047         Comment out the whole function, not just its body.
19049 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19051         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19052         locks.
19054         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19056 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19058         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19059         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19061 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19063         * sysdeps/nptl/futex-internal.h: New file.
19064         * sysdeps/nacl/futex-internal.h: New file.
19065         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19066         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19067         error checking.
19068         (setxid_unmark_thread): Likewise.
19069         (__nptl_setxid): Likewise.
19070         (__wait_lookup_done): Likewise.
19071         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19072         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19073         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19074         * nptl/pthread_once.c (clear_once_control): Likewise.
19075         (__pthread_once_slow): Likewise.
19076         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19077         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19078         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19079         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19080         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19081         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19082         Likewise.
19083         (__pthread_rwlock_rdlock): Likewise.
19084         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19085         Likewise.
19086         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19087         Likewise.
19088         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19089         Likewise.
19090         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19091         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19092         Likewise.
19093         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19094         __ASSUME_PRIVATE_FUTEX check.
19095         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19096         Check that shared futexes are supported.
19097         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19098         wrappers with error checking.
19099         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19100         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19101         * nptl/pthread_barrierattr_setpshared.c
19102         (pthread_barrierattr_setpshared): Check that shared futexes are
19103         supported.
19104         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19105         Likewise.
19106         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19107         Likewise.
19108         * nptl/sem_init.c (futex_private_if_supported): Remove.
19109         (__new_sem_init): Adapt and check that shared futexes are supported.
19110         * nptl/sem_open.c (sem_open): Likewise.
19111         * nptl/sem_post.c (futex_wake): Remove.
19112         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19113         (do_futex_wait): Use futex wrappers with error checking.
19114         * nptl/sem_wait.c: Include lowlevellock.h.
19115         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19116         Use futex_supports_pshared.
19117         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19118         Use futex wrappers with error checking.
19119         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19120         Likewise.
19121         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19122         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19123         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19124         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19125         (futex_wake): Likewise.
19126         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19127         (do_futex_wait): Use futex wrappers with error checking.
19128         (__new_sem_wait_slow): Update EINTR handling.
19129         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19131 2015-07-09  Martin Sebor  <msebor@redhat.com>
19133         [BZ #18435]
19134         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19135         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19136         * nptl/Makefile (test-xfail-tst-once5): Define.
19138 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19140         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19141         * elf/dl-minimal.c: For readability, reorder some definitions and
19142         introduce more page breaks.  Include <stdio.h>.
19143         (__libc_fatal): New function.
19145         * include/unistd.h: Add rtld_hidden_proto for _exit.
19146         * posix/_exit.c: Add rtld_hidden_def.
19147         * sysdeps/mach/hurd/_exit.c: Likewise.
19148         * sysdeps/nacl/_exit.c: Likewise.
19149         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19150         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19152 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19154         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19155         bndmov encoding with zero displacement.
19157 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19158             H.J. Lu  <hongjiu.lu@intel.com>
19160         [BZ #18134]
19161         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19162         * sysdeps/i386/configure: Regenerated.
19163         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19164         (_dl_runtime_profile): Save and restore Intel MPX return bound
19165         registers when calling _dl_call_pltexit.  Add
19166         PRESERVE_BND_REGS_PREFIX before return.
19167         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19168         (LRV_BND1_OFFSET): Likewise.
19169         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19170         lrv_bnd1.
19171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19172         typo in bndmov encoding.
19173         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19174         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19175         branch instructions to preserve bounds.
19177 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19180         [GLIBC_2.22]: Add fmemopen.
19182 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19184         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19185         returns an error, also try to use host port from __mach_host_self for
19186         the __vm_wire call.
19187         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19189 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19191         [BZ #18400]
19192         [BZ #18648]
19193         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19194         Fix pr_uid and pr_gid members.
19195         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19196         definition to elf_greg_t.
19198 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19200         [BZ #18383]
19201         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19202         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19203         * sysdeps/arm/configure: Regenerated.
19204         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19205         (test-xfail-tst-tlsalign-static): Variable removed.
19207         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19208         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19209         rather than explicit 'ln -s'.
19211         * resolv/rpc/netdb.h: New file.
19212         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19214 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19216         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19217         length buffers.
19218         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19219         test-skeleton.c.
19221         [BZ #6544]
19222         [BZ #11216]
19223         [BZ #12836]
19224         [BZ #13151]
19225         [BZ #13152]
19226         [BZ #14292]
19227         * include/stdio.h (fmemopen): Remove hidden prototype.
19228         (__fmemopen): Add new hidden prototype.
19229         * libio/Makefile: Add oldfmemopen object.
19230         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19231         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19232         compliance.
19233         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19234         symbol compatibility.
19235         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19236         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19237         fmemopen.
19238         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19239         on append and read mode.
19240         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19241         fmemopen.
19242         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19243         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19244         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19245         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19246         Likewise.
19247         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19248         [GLIBC_2.22]: Likewise.
19249         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19250         Likewise.
19251         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19252         Likewise.
19253         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19254         [GLIBC_2.22]: Likewise.
19255         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19256         [GLIBC_2.22]: Likewise.
19257         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19258         [GLIBC_2.22]: Likewise.
19259         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19260         [GLIBC_2.22]: Likewise.
19261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19262         [GLIBC_2.22]: Likewise.
19263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19264         [GLIBC_2.22]: Likewise.
19265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19266         [GLIBC_2.22]: Likewise.
19267         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19268         Likewise.
19269         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19270         Likewise.
19271         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19272         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19273         [GLIBC_2.22]: Likewise.
19274         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19275         [GLIBC_2.22]: Likewise.
19276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19277         [GLIBC_2.22]: Likewise.
19278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19279         [GLIBC_2.22]: Likewise.
19280         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19281         Likewise.
19282         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19283         Likewise.
19284         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19285         Likewise.
19286         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19287         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19289 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19291         [BZ #18643]
19292         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19293         IPV6_PATHMTU, and IPV6_DONTFRAG.
19295 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19297         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19298         and _IO_UNBUFFERED.
19299         * libio/oldfileops.c: Likewise.
19300         * libio/wfileops.c: Likewise.
19302 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19304         * nscd/selinux.c: Delete selinux/flask.h include.
19306 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19308         [BZ #18641]
19309         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19310         (putpwent): Likewise.
19311         (getpwnam): Likewise.
19312         (getpwent_r): Likewise.
19313         (getpwuid_r): Likewise.
19314         (getpwnam_r): Likewise.
19315         (fgetpwent_r): Likewise.
19317 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19319         [BZ #18557]
19320         * inet/rcmd.c (__validuser2_sa): Check user first to
19321         short-circuit host check.
19323 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19324             Mikhail Ilin  <m.ilin@samsung.com>
19326         [BZ #17833]
19327         * elf/Makefile (tests): Add tst-nodelete.
19328         (modules-names): Add tst-nodelete-uniquemod.
19329         (tst-nodelete-uniquemod.so-no-z-defs): New.
19330         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19331         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19332         ($(objpfx)tst-nodelete): Likewise.
19333         ($(objpfx)tst-nodelete.out): Likewise.
19334         (LDFLAGS-tst-nodelete): Likewise.
19335         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19336         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19337         implement forced object deletion.
19338         (_dl_close): Pass false to _dl_close_worker.
19339         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19340         * elf/tst-nodelete.cc: New file.
19341         * elf/tst-nodeletelib.cc: Likewise.
19342         * elf/tst-znodeletelib.cc: Likewise.
19343         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19345 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19347         [BZ #18508]
19348         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19349         Depend on $(libdl).
19350         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19351         is not called infinitely times.
19352         (backtrace_helper): New function.
19353         (trace_arg): New struct.
19354         (st1): Enlarge stack size.
19355         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19356         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19357         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19358         Likewise.
19360 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19362         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19364 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19366         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19367         Include sys/types.h instead of bits/types.h.
19368         Remove inclusion of bits/wordsize.h.
19370 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19372         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19373         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19374         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19375         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19376         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19377         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19379 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19381         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19382         link-defines.sym.
19383         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19384         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19385         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19386         and LR_SIZE.
19387         * sysdeps/i386/link-defines.sym: New file.
19389 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19391         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19392         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19393         ($(objpfx)tst-audit3): New rule.
19394         ($(objpfx)tst-audit3.out): Likewise.
19395         * sysdeps/i386/tst-audit3.c: New file.
19396         * sysdeps/i386/tst-audit3.h: Likewise.
19397         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19398         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19400 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19402         [BZ #18633]
19403         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19404         pointer in C code.
19405         (__strcat_c): Likewise.
19406         (__strcat_g): Likewise.
19408 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19410         [BZ #18592]
19411         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19413 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19415         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19416         New function.  (__ieee754_sqrtf): New function.
19417         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19418         New function.
19419         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19420         New function.
19422 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19424         * sysdeps/ieee754/support.c: Remove unused file.
19426 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19428         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19429         registers instead of d ones so the layout is kernel abi compatible.
19430         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19431         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19432         Likewise.
19434 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19436         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19438 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19440         [BZ #18619]
19441         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19442         and return argument in case of subnormal argument.
19444 2015-07-01  Martin Sebor  <msebor@redhat.com>
19446         [BZ #18435]
19447         * nptl/Makefile: Add tst-once5.cc.
19448         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19449         Remove macro redefinitions.
19450         * nptl/tst-once5.cc: New test.
19452 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19454         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19456         * sysdeps/arm/libm-test-ulps: Regenerated.
19458         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19459         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19461 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19463         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19464         lll_lock_wait_private and lll_futex_wake probes.
19466         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19467         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19468         Likewise.
19469         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19470         atomic_spin_nop.
19471         * sysdeps/x86_64/bits/atomic.h: Likewise.
19472         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19473         to atomic_spin_nop and move ...
19474         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19475         ... here and ...
19476         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19477         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19478         atomic_spin_nop instead of BUSY_WAIT_NOP.
19479         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19480         Likewise.
19481         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19482         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19483         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19484         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19485         instead of atomic_delay.
19487 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19489         [BZ #18613]
19490         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19491         X_ADJ not X when adjusting exponent.
19492         (__ieee754_gamma_r): Do intermediate computations in
19493         round-to-nearest then adjust overflowing and underflowing results
19494         as needed.
19495         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19496         of X_ADJ not X when adjusting exponent.
19497         (__ieee754_gammaf_r): Do intermediate computations in
19498         round-to-nearest then adjust overflowing and underflowing results
19499         as needed.
19500         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19501         log of X_ADJ not X when adjusting exponent.
19502         (__ieee754_gammal_r): Do intermediate computations in
19503         round-to-nearest then adjust overflowing and underflowing results
19504         as needed.  Use 1.0L not 1.0f as numerator of division.
19505         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19506         log of X_ADJ not X when adjusting exponent.
19507         (__ieee754_gammal_r): Do intermediate computations in
19508         round-to-nearest then adjust overflowing and underflowing results
19509         as needed.  Use 1.0L not 1.0f as numerator of division.
19510         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19511         of X_ADJ not X when adjusting exponent.
19512         (__ieee754_gammal_r): Do intermediate computations in
19513         round-to-nearest then adjust overflowing and underflowing results
19514         as needed.  Use 1.0L not 1.0f as numerator of division.
19515         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19516         to auto-libm-test-in.
19517         (tgamma_test): Use ALL_RM_TEST.
19518         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19519         tests of tgamma with spurious-overflow.
19520         * math/auto-libm-test-out: Regenerated.
19521         * math/gen-libm-have-vector-test.sh: Do not check for START.
19522         * sysdeps/i386/fpu/libm-test-ulps: Update.
19523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19525         [BZ #18612]
19526         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19527         arguments, just return 0.5 times the argument, with underflow
19528         forced as needed.
19529         * math/auto-libm-test-in: Add more tests of j1.
19530         * math/auto-libm-test-out: Regenerated.
19532         [BZ #16559]
19533         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
19534         (__ieee754_j1): Force underflow exception for small results.
19535         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19536         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
19537         (__ieee754_j1f): Force underflow exception for small results.
19538         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19539         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19540         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19541         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
19542         (__ieee754_j1l): Force underflow exception for small results.
19543         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19544         * math/auto-libm-test-in: Add more tests of j1 and jn.
19545         * math/auto-libm-test-out: Regenerated.
19547         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
19548         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
19549         (PF_MPLS): Likewise.
19550         (AF_IB): Likewise.
19551         (AF_MPLS): Likewise.
19552         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
19553         value and macro.
19554         (MS_RMT_MASK): Include MS_LAZYTIME.
19556 2015-06-26  Mel Gorman  <mgorman@suse.de>
19558         [BZ #18502]
19559         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
19560         already minimal.
19562 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
19564         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
19565         (DT_MIPS_NUM): Update.
19566         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
19567         DT_MIPS_RLD_MAP_REL.
19569 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
19571         [BZ #16559]
19572         [BZ #18602]
19573         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
19574         round-to-nearest internally then recompute results that
19575         underflowed to zero in the original rounding mode.
19576         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19577         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19578         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19579         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19580         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
19581         * sysdeps/i386/fpu/libm-test-ulps: Update.
19582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19584 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19586         * NEWS: Fixed description of link with vector math library.
19588 2015-06-25  Andreas Schwab  <schwab@suse.de>
19590         [BZ #18549]
19591         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
19592         * libio/test-fmemopen.c (do_test): Add test for it.
19594 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
19596         [BZ #17841]
19597         * Makeconfig (no-pie-ldflag): New.
19598         (+link): Set to $(+link-pie) if default to PIE.
19599         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
19600         * config.make.in (build-pie-default): New.
19601         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
19602         is default.  AC_SUBST.
19603         * configure: Regenerated.
19604         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
19606 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19608         * nptl/descr.h (struct pthread): Change type of field setxid_futex
19609         to 'unsigned int'.
19611         * resolv/gai_misc.h (struct waitlist): Change type of field
19612         counterp to 'volatile unsigned int *'.
19613         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
19614         FUTEXADDR and OLDVAL.
19615         * resolv/getaddrinfo_a.c (getaddrinfo_a):
19616         Give local variable TOTAL type 'volatile unsigned int'.
19617         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19618         * resolv/gai_suspend.c (gai_suspend):
19619         Give local variable CNTR type 'unsigned int'.
19621         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
19622         counterp to 'volatile unsigned int *'.
19623         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
19624         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
19625         (aio_suspend): Give local variable CNTR type 'unsigned int'.
19626         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
19627         Give local variable TOTAL type 'volatile unsigned int'.
19628         (struct async_waitlist): Change type of field counter to 'unsigned int'.
19630 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19632         [BZ #18383]
19633         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
19634         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
19635         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
19636         comment for i386/x86-64.
19637         (test-xfail-tst-tlsalign-extern-static): Removed.
19639 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19641         * math/test-double.h: New file.
19642         * math/test-float.h: Likewise.
19643         * math/test-ldouble.h: Likewise.
19644         * math/test-math-inline.h: Likewise.
19645         * math/test-math-no-inline.h: Likewise.
19646         * math/test-math-scalar.h: Likewise.
19647         * math/test-math-vector.h: Likewise.
19648         * math/test-vec-loop.h: Remove file.  Contents moved into
19649         test-math-vector.h.
19650         * math/libm-test.inc (MATHCONST): Do not document macro.
19651         * math/test-double.c: Include test-double.h, test-math-no-inline.h
19652         and test-math-scalar.h.
19653         (FUNC): Remove macro.
19654         (FUNC_TEST): Likewise.
19655         (FLOAT): Likewise.
19656         (MATHCONST): Likewise.
19657         (PRINTF_EXPR): Likewise.
19658         (PRINTF_XEXPR): Likewise.
19659         (PRINTF_NEXPR): Likewise.
19660         (TEST_DOUBLE): Likewise.
19661         (TEST_MATHVEC): Likewise.
19662         (__NO_MATH_INLINES): Likewise.
19663         * math/test-float.c: Include test-float.h, test-math-no-inline.h
19664         and test-math-scalar.h.
19665         (FUNC): Remove macro.
19666         (FUNC_TEST): Likewise.
19667         (FLOAT): Likewise.
19668         (MATHCONST): Likewise.
19669         (PRINTF_EXPR): Likewise.
19670         (PRINTF_XEXPR): Likewise.
19671         (PRINTF_NEXPR): Likewise.
19672         (TEST_FLOAT): Likewise.
19673         (TEST_MATHVEC): Likewise.
19674         (__NO_MATH_INLINES): Likewise.
19675         * math/test-idouble.c: Include test-double.h, test-math-inline.h
19676         and test-math-scalar.h.
19677         (FUNC): Remove macro.
19678         (FUNC_TEST): Likewise.
19679         (FLOAT): Likewise.
19680         (MATHCONST): Likewise.
19681         (PRINTF_EXPR): Likewise.
19682         (PRINTF_XEXPR): Likewise.
19683         (PRINTF_NEXPR): Likewise.
19684         (TEST_DOUBLE): Likewise.
19685         (TEST_MATHVEC): Likewise.
19686         (TEST_INLINE): Likewise.
19687         (__NO_MATH_INLINES): Likewise.
19688         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
19689         test-math-scalar.h.
19690         (FUNC): Remove macro.
19691         (FUNC_TEST): Likewise.
19692         (FLOAT): Likewise.
19693         (MATHCONST): Likewise.
19694         (PRINTF_EXPR): Likewise.
19695         (PRINTF_XEXPR): Likewise.
19696         (PRINTF_NEXPR): Likewise.
19697         (TEST_FLOAT): Likewise.
19698         (TEST_MATHVEC): Likewise.
19699         (TEST_INLINE): Likewise.
19700         (__NO_MATH_INLINES): Likewise.
19701         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
19702         and test-math-scalar.h.
19703         (FUNC): Remove macro.
19704         (FUNC_TEST): Likewise.
19705         (FLOAT): Likewise.
19706         (MATHCONST): Likewise.
19707         (PRINTF_EXPR): Likewise.
19708         (PRINTF_XEXPR): Likewise.
19709         (PRINTF_NEXPR): Likewise.
19710         (TEST_LDOUBLE): Likewise.
19711         (TEST_MATHVEC): Likewise.
19712         (TEST_INLINE): Likewise.
19713         (__NO_MATH_INLINES): Likewise.
19714         * math/test-ldouble.c: Include test-ldouble.h,
19715         test-math-no-inline.h and test-math-scalar.h.
19716         (FUNC): Remove macro.
19717         (FUNC_TEST): Likewise.
19718         (FLOAT): Likewise.
19719         (MATHCONST): Likewise.
19720         (PRINTF_EXPR): Likewise.
19721         (PRINTF_XEXPR): Likewise.
19722         (PRINTF_NEXPR): Likewise.
19723         (TEST_LDOUBLE): Likewise.
19724         (TEST_MATHVEC): Likewise.
19725         (__NO_MATH_INLINES): Likewise.
19726         * math/test-double-vlen2.h: Include test-double.h,
19727         test-math-no-inline.h and test-math-vector.h.
19728         (FLOAT): Remove macro.
19729         (FUNC): Likewise.
19730         (MATHCONST): Likewise.
19731         (PRINTF_EXPR): Likewise.
19732         (PRINTF_XEXPR): Likewise.
19733         (PRINTF_NEXPR): Likewise.
19734         (TEST_DOUBLE): Likewise.
19735         (TEST_MATHVEC): Likewise.
19736         (__NO_MATH_INLINES): Likewise.
19737         (CNCT): Likewise.
19738         (CONCAT): Likewise.
19739         (WRAPPER_NAME): Likewise.
19740         (WRAPPER_DECL): Likewise.
19741         (WRAPPER_DECL_ff): Likewise.
19742         (WRAPPER_DECL_fFF): Likewise.
19743         (VECTOR_WRAPPER): Likewise.
19744         (VECTOR_WRAPPER_ff): Likewise.
19745         (VECTOR_WRAPPER_fFF): Likewise.
19746         (VEC_LEN): New macro.
19747         * math/test-double-vlen4.h: Include test-double.h,
19748         test-math-no-inline.h and test-math-vector.h.
19749         (FLOAT): Remove macro.
19750         (FUNC): Likewise.
19751         (MATHCONST): Likewise.
19752         (PRINTF_EXPR): Likewise.
19753         (PRINTF_XEXPR): Likewise.
19754         (PRINTF_NEXPR): Likewise.
19755         (TEST_DOUBLE): Likewise.
19756         (TEST_MATHVEC): Likewise.
19757         (__NO_MATH_INLINES): Likewise.
19758         (CNCT): Likewise.
19759         (CONCAT): Likewise.
19760         (WRAPPER_NAME): Likewise.
19761         (WRAPPER_DECL): Likewise.
19762         (WRAPPER_DECL_ff): Likewise.
19763         (WRAPPER_DECL_fFF): Likewise.
19764         (VECTOR_WRAPPER): Likewise.
19765         (VECTOR_WRAPPER_ff): Likewise.
19766         (VECTOR_WRAPPER_fFF): Likewise.
19767         (VEC_LEN): New macro.
19768         * math/test-double-vlen8.h: Include test-double.h,
19769         test-math-no-inline.h and test-math-vector.h.
19770         (FLOAT): Remove macro.
19771         (FUNC): Likewise.
19772         (MATHCONST): Likewise.
19773         (PRINTF_EXPR): Likewise.
19774         (PRINTF_XEXPR): Likewise.
19775         (PRINTF_NEXPR): Likewise.
19776         (TEST_DOUBLE): Likewise.
19777         (TEST_MATHVEC): Likewise.
19778         (__NO_MATH_INLINES): Likewise.
19779         (CNCT): Likewise.
19780         (CONCAT): Likewise.
19781         (WRAPPER_NAME): Likewise.
19782         (WRAPPER_DECL): Likewise.
19783         (WRAPPER_DECL_ff): Likewise.
19784         (WRAPPER_DECL_fFF): Likewise.
19785         (VECTOR_WRAPPER): Likewise.
19786         (VECTOR_WRAPPER_ff): Likewise.
19787         (VECTOR_WRAPPER_fFF): Likewise.
19788         (VEC_LEN): New macro.
19789         * math/test-float-vlen4.h: Include test-float.h,
19790         test-math-no-inline.h and test-math-vector.h.
19791         (FLOAT): Remove macro.
19792         (FUNC): Likewise.
19793         (MATHCONST): Likewise.
19794         (PRINTF_EXPR): Likewise.
19795         (PRINTF_XEXPR): Likewise.
19796         (PRINTF_NEXPR): Likewise.
19797         (TEST_FLOAT): Likewise.
19798         (TEST_MATHVEC): Likewise.
19799         (__NO_MATH_INLINES): Likewise.
19800         (CNCT): Likewise.
19801         (CONCAT): Likewise.
19802         (WRAPPER_NAME): Likewise.
19803         (WRAPPER_DECL): Likewise.
19804         (WRAPPER_DECL_ff): Likewise.
19805         (WRAPPER_DECL_fFF): Likewise.
19806         (VECTOR_WRAPPER): Likewise.
19807         (VECTOR_WRAPPER_ff): Likewise.
19808         (VECTOR_WRAPPER_fFF): Likewise.
19809         (VEC_LEN): New macro.
19810         * math/test-float-vlen8.h: Include test-float.h,
19811         test-math-no-inline.h and test-math-vector.h.
19812         (FLOAT): Remove macro.
19813         (FUNC): Likewise.
19814         (MATHCONST): Likewise.
19815         (PRINTF_EXPR): Likewise.
19816         (PRINTF_XEXPR): Likewise.
19817         (PRINTF_NEXPR): Likewise.
19818         (TEST_FLOAT): Likewise.
19819         (TEST_MATHVEC): Likewise.
19820         (__NO_MATH_INLINES): Likewise.
19821         (CNCT): Likewise.
19822         (CONCAT): Likewise.
19823         (WRAPPER_NAME): Likewise.
19824         (WRAPPER_DECL): Likewise.
19825         (WRAPPER_DECL_ff): Likewise.
19826         (WRAPPER_DECL_fFF): Likewise.
19827         (VECTOR_WRAPPER): Likewise.
19828         (VECTOR_WRAPPER_ff): Likewise.
19829         (VECTOR_WRAPPER_fFF): Likewise.
19830         (VEC_LEN): New macro.
19831         * math/test-float-vlen16.h: Include test-float.h,
19832         test-math-no-inline.h and test-math-vector.h.
19833         (FLOAT): Remove macro.
19834         (FUNC): Likewise.
19835         (MATHCONST): Likewise.
19836         (PRINTF_EXPR): Likewise.
19837         (PRINTF_XEXPR): Likewise.
19838         (PRINTF_NEXPR): Likewise.
19839         (TEST_FLOAT): Likewise.
19840         (TEST_MATHVEC): Likewise.
19841         (__NO_MATH_INLINES): Likewise.
19842         (CNCT): Likewise.
19843         (CONCAT): Likewise.
19844         (WRAPPER_NAME): Likewise.
19845         (WRAPPER_DECL): Likewise.
19846         (WRAPPER_DECL_ff): Likewise.
19847         (WRAPPER_DECL_fFF): Likewise.
19848         (VECTOR_WRAPPER): Likewise.
19849         (VECTOR_WRAPPER_ff): Likewise.
19850         (VECTOR_WRAPPER_fFF): Likewise.
19851         (VEC_LEN): New macro.
19852         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
19853         test-vec-loop.h.
19854         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19855         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19856         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19857         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19858         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19859         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19860         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19862 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19864         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
19865         (__getlogin_r): ... this.
19867 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19869         [BZ #18594]
19870         * math/s_ccosh.c (__ccosh): Compare with least normal value
19871         instead of comparing class with FP_SUBNORMAL.
19872         * math/s_ccoshf.c (__ccoshf): Likewise.
19873         * math/s_ccoshl.c (__ccoshl): Likewise.
19874         * math/s_cexp.c (__cexp): Likewise.
19875         * math/s_cexpf.c (__cexpf): Likewise.
19876         * math/s_cexpl.c (__cexpl): Likewise.
19877         * math/s_csin.c (__csin): Likewise.
19878         * math/s_csinf.c (__csinf): Likewise.
19879         * math/s_csinh.c (__csinh): Likewise.
19880         * math/s_csinhf.c (__csinhf): Likewise.
19881         * math/s_csinhl.c (__csinhl): Likewise.
19882         * math/s_csinl.c (__csinl): Likewise.
19883         * math/s_ctan.c (__ctan): Likewise.
19884         * math/s_ctanf.c (__ctanf): Likewise.
19885         * math/s_ctanh.c (__ctanh): Likewise.
19886         * math/s_ctanhf.c (__ctanhf): Likewise.
19887         * math/s_ctanhl.c (__ctanhl): Likewise.
19888         * math/s_ctanl.c (__ctanl): Likewise.
19889         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
19890         csin, csinh, ctan and ctanh.
19891         * math/auto-libm-test-out: Regenerated.
19892         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
19893         * sysdeps/i386/fpu/libm-test-ulps: Update.
19894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19896 2015-06-24  Roland McGrath  <roland@hack.frob.com>
19898         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
19899         return value is wrong, print the expected value too.
19901 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
19903         [BZ #18585]
19904         * elf/readlib.c (is_gdb_python_file): New.
19905         (process_file): Don't issue errors on filenames with -gdb.py
19906         suffix.
19908 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
19910         * math/auto-libm-test-in: Add more tests of csin and csinh.
19911         * math/auto-libm-test-out: Regenerated.
19912         * math/libm-test.inc (csin_test_data): Remove tests moved to
19913         auto-libm-test-in.
19914         (csinh_test_data): Likewise.
19916         [BZ #18593]
19917         * math/s_csin.c (__csin): Negate before rather than after possibly
19918         overflowing multiplication.
19919         * math/s_csinf.c (__csinf): Likewise.
19920         * math/s_csinh.c (__csinh): Likewise.
19921         * math/s_csinhf.c (__csinhf): Likewise.
19922         * math/s_csinhl.c (__csinhl): Likewise.
19923         * math/s_csinl.c (__csinl): Likewise.
19924         * math/auto-libm-test-in: Add some tests of csin and csinh.
19925         * math/auto-libm-test-out: Regenerated.
19926         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
19927         (csinh_test_data): Likewise.
19928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19930         [BZ #18586]
19931         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
19932         underflow exception for small results.
19934 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19936         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
19937         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
19938         variable and included header.
19939         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
19940         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
19941         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
19942         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
19943         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
19944         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19945         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19946         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
19947         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
19948         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
19949         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
19950         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
19951         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
19952         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
19953         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
19954         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
19956 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
19958         [BZ #16526]
19959         [BZ #16538]
19960         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
19961         (__sin): Force underflow exception for arguments with small
19962         absolute value.
19963         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
19964         (__kernel_sinf): Force underflow exception for arguments with
19965         small absolute value.
19966         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
19967         (__kernel_sincosl): Force underflow exception for arguments with
19968         small absolute value.
19969         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
19970         (__kernel_sinl): Force underflow exception for arguments with
19971         small absolute value.
19972         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
19973         (__kernel_sincosl): Force underflow exception for arguments with
19974         small absolute value.
19975         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
19976         (__kernel_sinl): Force underflow exception for arguments with
19977         small absolute value.
19978         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
19979         (__kernel_sinl): Force underflow exception for arguments with
19980         small absolute value.
19981         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
19982         (__kernel_sinf): Force underflow exception for arguments with
19983         small absolute value.
19984         * math/auto-libm-test-in: Add more tests of sin and sincos.
19985         * math/auto-libm-test-out: Regenerated.
19987         [BZ #18245]
19988         [BZ #18583]
19989         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
19990         (__kernel_standard_l): Use feholdexcept and fesetenv around
19991         conversion to double instead of special-casing overflow and
19992         underflow.
19993         * math/libm-test.inc (fmod_test_data): Add more tests.
19994         (remainder_test_data): Likewise.
19995         (sqrt_test_data): Likewise.
19997 2015-06-23  Torvald Riegel  <triegel@redhat.com>
19999         [BZ #17403]
20000         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20001         atomic_read_barrier, atomic_write_barrier): Define.
20002         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
20003         atomic_read_barrier, atomic_write_barrier): Define.
20005 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20007         * math/Makefile [$(PERL) != no]
20008         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20009         dependency on libm-test.stmp below the inclusion of Rules.
20011 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
20013         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20014         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20015         and included header.
20016         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20017         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20018         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20019         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20020         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20021         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20022         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20023         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20024         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20025         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20026         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20027         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20028         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20029         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20030         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20031         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20032         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20033         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20034         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20036 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20038         [BZ #18371]
20039         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20040         intermediate but not final result might underflow.
20041         * math/s_csqrtf.c (__csqrtf): Likewise.
20042         * math/s_csqrtl.c (__csqrtl): Likewise.
20043         * math/auto-libm-test-in: Add more tests of csqrt.
20044         * math/auto-libm-test-out: Regenerated.
20045         * sysdeps/i386/fpu/libm-test-ulps: Update.
20047         [BZ #18219]
20048         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20049         threshold on absolute value of exponent for which scaling is used.
20050         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20051         * math/auto-libm-test-in: Add more tests of exp2.
20052         * math/auto-libm-test-out: Regenerated.
20054 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20056         [BZ #17977]
20057         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20058         when initializing interface list, based on the bug analysis
20059         and the patch proposed by Eric Newton.
20060         * resolv/tst-res_hconf_reorder.c: New test.
20061         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20062         tst-res_hconf_reorder.
20063         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20064         and $(shared-thread-library).
20065         (tst-res_hconf_reorder-ENV): New variable.
20067         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20068         in comment.
20070 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20072         [BZ #16353]
20073         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20074         (__expm1): Force underflow exception for arguments with small
20075         absolute value.
20076         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20077         (__expm1f): Force underflow exception for arguments with small
20078         absolute value.
20079         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20080         (__expm1): Force underflow exception for arguments with small
20081         absolute value.
20082         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20083         (__expm1f): Force underflow exception for arguments with small
20084         absolute value.
20085         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20086         Check for small arguments before calling __expm1.
20087         * math/auto-libm-test-in: Do not mark underflow exceptions as
20088         possibly missing for bug 16353.
20089         * math/auto-libm-test-out: Regenerated.
20091 2015-06-22  Andreas Schwab  <schwab@suse.de>
20093         [BZ #18513]
20094         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20095         PTR queries.
20097 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20099         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20101         * string/strcoll_l.c: Remove unused struct element idxnow.
20103 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20105         [BZ #18569]
20106         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20107         underflow and return argument in case of subnormal argument.
20108         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20109         Likewise.
20110         * math/auto-libm-test-in: Add more tests of expm1.
20111         * math/auto-libm-test-out: Regenerated.
20113         [BZ #16361]
20114         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20115         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20116         tiny results.
20117         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20118         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20119         tiny results.
20120         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20121         mark underflow exceptions as possibly missing for bug 16361.
20122         * math/auto-libm-test-out: Regenerated.
20124 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20126         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20127         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20128         Remove variable.
20129         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20130         (test-xfail-XOPEN2K8/utmpx.h/conform).
20132         * conform/conformtest.pl ($xerrors): New variable.
20133         (note_error): New function.
20134         (compiletest): New argument $xfail.  Use not_error.
20135         (runtest): Likewise.
20136         (top level): Handle xfail- lines.  Update calls to compiletest and
20137         runtest.  Handle xfail- and optional- in headers listed with
20138         allow-header.
20139         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20140         (O_EXEC): Likewise.
20141         (O_SEARCH): Likewise.
20142         * conform/data/stropts.h-data (ioctl): Likewise.
20143         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20144         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20145         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20146         (msghdr.msg_controllen): Likewise.
20147         (cmsghdr.cmsg_len): Likewise.
20148         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20149         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20150         variable.
20151         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20152         (test-xfail-XPG4/stropts.h/conform): Likewise.
20153         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20154         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20155         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20156         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20157         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20158         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20159         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20160         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20161         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20162         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20163         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20164         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20165         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20166         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20167         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20168         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20169         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20170         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20171         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20173 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20175         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20176         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20177         definitions for proper unfolding of __MATHDECL_VEC.
20179 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20181         * benchtests/bench-strcoll.c:
20182         Include string.h.
20183         (main): Remove unused variable res.
20185 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20187         * timezone/Makefile (%/UTC %/Universal):
20188         Generate test-result files for UTC and Universal.
20190 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20192         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20194 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20196         [BZ #16350]
20197         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20198         for arguments with small absolute value.
20199         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20200         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20201         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20202         (__asinh): Force underflow exception for arguments with small
20203         absolute value.
20204         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20205         (__asinhf): Force underflow exception for arguments with small
20206         absolute value.
20207         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20208         (__asinhl): Force underflow exception for arguments with small
20209         absolute value.
20210         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20211         (__asinhl): Force underflow exception for arguments with small
20212         absolute value.
20213         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20214         (__asinhl): Force underflow exception for arguments with small
20215         absolute value.
20216         * math/auto-libm-test-in: Do not mark underflow exceptions as
20217         possibly missing for bug 16350.
20218         * math/auto-libm-test-out: Regenerated.
20220         * include/bits/ipc.h: Remove file.
20221         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20222         variable.
20223         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20224         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20225         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20226         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20227         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20228         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20229         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20230         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20231         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20233         * math/auto-libm-test-in: Remove spurious underflow allowance for
20234         tests of cexp.
20235         * math/auto-libm-test-out: Regenerated.
20237         [BZ #18558]
20238         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20239         unconditional definition.
20240         (MCAST_BLOCK_SOURCE): Likewise.
20241         (MCAST_UNBLOCK_SOURCE): Likewise.
20242         (MCAST_LEAVE_GROUP): Likewise.
20243         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20244         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20245         (MCAST_MSFILTER): Likewise.
20246         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20247         Remove variable.
20248         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20249         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20250         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20251         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20252         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20254 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20256         * NEWS: Mention addition of x86_64 vector sincosf.
20257         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20258         * math/test-float-vlen4.h: Likewise.
20259         * math/test-float-vlen8.h: Likewise.
20260         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20261         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20262         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20263         * sysdeps/x86_64/fpu/Versions: New versions added.
20264         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20265         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20266         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20267         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20268         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20269         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20270         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20271         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20272         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20273         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20274         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20275         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20276         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20277         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20278         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20279         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20280         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20281         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20282         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20283         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20284         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20285         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20286         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20287         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20289         * NEWS: Mention addition of x86_64 vector sincos.
20290         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20291         * math/math.h (__MATHDECL_VEC): New macro.
20292         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20293         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20294         declaration under condition.
20295         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20296         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20297         TEST_VEC_LOOP change.
20298         * math/test-double-vlen4.h: Likewise.
20299         * math/test-double-vlen8.h: Likewise.
20300         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20301         * math/test-float-vlen4.h: Likewise.
20302         * math/test-float-vlen8.h: Likewise.
20303         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20304         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20305         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20306         * sysdeps/x86_64/fpu/Versions: New versions added.
20307         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20308         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20309         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20310         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20311         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20312         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20313         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20314         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20315         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20316         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20317         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20318         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20319         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20320         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20321         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20322         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20323         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20324         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20325         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20326         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20327         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20328         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20329         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20330         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20332         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20333         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20334         redirections for powf.
20335         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20336         * sysdeps/x86_64/fpu/Versions: New versions added.
20337         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20338         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20339         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20340         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20341         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20342         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20343         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20344         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20345         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20347         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20348         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20349         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20350         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20351         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20352         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20353         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20354         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20355         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20356         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20357         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20358         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20359         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20360         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20361         * math/test-float-vlen16.h: Fixed 2 argument macro.
20362         * math/test-float-vlen4.h: Likewise.
20363         * math/test-float-vlen8.h: Likewise.
20364         * NEWS: Mention addition of x86_64 vector powf.
20366 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20368         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20369         and redefine.
20370         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20371         and redefine.
20372         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20373         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20374         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20376         [BZ #18553]
20377         * resource/getpriority.c (getpriority): Rename to __getpriority
20378         and define as weak alias of __getpriority.
20379         * resource/setpriority.c (setpriority): Rename to __setpriority
20380         and define as weak alias of __setpriority.
20381         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20382         __getpriority and define as weak alias of __getpriority.
20383         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20384         __setpriority and define as weak alias of __setpriority.
20385         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20386         strong name.
20387         (setpriority): Use __setpriority as strong name.
20388         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20389         __getpriority and define as weak alias of __getpriority.
20390         * include/sys/resource.h (__getpriority): Declare.  Use
20391         libc_hidden_proto.
20392         (__setpriority): Likewise.
20393         (getpriority): Don't use libc_hidden_proto.
20394         (setpriority): Likewise.
20395         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20396         getpriority.  Call __setpriority instead of setpriority.
20397         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20398         Remove variable.
20400         [BZ #18547]
20401         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20402         as weak alias of __getttynam.  Use prototype function definition.
20403         Call __setttyent, __getttyent and __endttyent instead of
20404         setttyent, getttyent and endttyent.
20405         (getttyent): Rename to __getttyent and define as weak alias of
20406         __getttyent.  Call __setttyent instead of setttyent.  Call
20407         __fgets_unlocked instead of fgets_unlocked.
20408         (setttyent): Rename to __setttyent and define as weak alias of
20409         __setttyent.
20410         (endttyent): Rename to __endttyent and define as weak alias of
20411         __endttyent.
20412         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20413         (__setttyent): Likewise.
20414         (__endttyent): Likewise.
20415         (getttyent): Don't use libc_hidden_proto.
20416         (setttyent): Likewise.
20417         (endttyent): Likewise.
20418         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20419         __endttyent instead of setttyent, getttyent and endttyent.
20420         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20421         Remove variable.
20423         [BZ #18546]
20424         * socket/recv.c (__recv): Use libc_hidden_def.
20425         * socket/socket.c (__socket): Likewise.
20426         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20427         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20428         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20429         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20430         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20431         libc_hidden_def.
20432         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20433         libc_hidden_weak.
20434         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20435         Use libc_hidden_proto.
20436         (__recv): Likewise.
20437         * socket/Versions (libc): Export __recv and __socket at version
20438         GLIBC_PRIVATE.
20439         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20440         instead of recv.
20441         (init_mq_netlink): Call __socket instead of socket.
20442         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20443         Remove variable.
20445         [BZ #18545]
20446         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20447         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20448         hidden_weak.
20449         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20450         define as alias of __mq_timedsend.  Use hidden_weak.
20451         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20452         __mq_timedsend as strong name.
20453         (mq_timedreceive): Use __mq_timedreceive as strong name.
20454         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20455         (__mq_timedreceive): Likewise.
20456         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20457         __mq_timedreceive instead of mq_timedreceive.
20458         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20459         instead of mq_timedsend.
20460         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20461         Remove variable.
20463         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20464         hidden_def and hidden_weak instead of libc_hidden_def and
20465         libc_hidden_weak.
20466         (top level): Refer to hidden_def in comment.
20467         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20468         macro.  Use it instead of libc_hidden_def.
20469         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20470         specify __GI_* name explicitly.
20471         (mq_timedreceive): Likewise.
20472         (mq_setattr): Likewise.
20474         [BZ #18544]
20475         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20476         __pthread_barrier_init and define as weak alias of
20477         __pthread_barrier_init.
20478         * sysdeps/sparc/nptl/pthread_barrier_init.c
20479         (pthread_barrier_init): Likewise.
20480         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20481         __pthread_barrier_wait and define as weak alias of
20482         __pthread_barrier_wait.
20483         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20484         (pthread_barrier_wait): Likewise.
20485         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20486         (pthread_barrier_wait): Likewise.
20487         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20488         (pthread_barrier_wait): Likewise.
20489         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20490         (pthread_barrier_wait): Likewise.
20491         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20492         __pthread_barrier_wait at version GLIBC_PRIVATE.
20493         * include/pthread.h (__pthread_barrier_init): Declare.
20494         (__pthread_barrier_wait): Likewise.
20495         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20496         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20497         (helper_thread): Likewise.
20498         (init_mq_netlink): Call __pthread_barrier_init instead of
20499         pthread_barrier_init.
20501         [BZ #18542]
20502         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20503         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20504         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20505         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20506         vswscanf.
20507         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20508         Remove variable.
20510         [BZ #18540]
20511         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20512         strong alias of _IO_fflush.  Use libc_hidden_def.
20513         * libio/iofflush_u.c (fflush_unlocked): Rename to
20514         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20515         Use libc_hidden_weak.
20516         * include/stdio.h (__fflush_unlocked): Declare.  Use
20517         libc_hidden_proto.
20518         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20519         fflush_unlocked.
20520         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20521         Remove variable.
20523         [BZ #18539]
20524         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20525         define as weak alias of __addseverity.
20526         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20527         Remove variable.
20528         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20529         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20530         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20532         [BZ #18536]
20533         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
20534         (__tfind): Likewise.
20535         (__tdelete): Likewise.
20536         (__twalk): Likewise.
20537         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
20538         __twalk to GLIBC_PRIVATE.
20539         * include/search.h (__tsearch): Use libc_hidden_proto.
20540         (__tfind): Likewise.
20541         (__tdelete): Likewise.
20542         (__twalk): Likewise.
20543         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
20544         Call __tdelete instead of tdelete.
20545         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
20546         tfind.  Call __tsearch instead of tsearch.
20547         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
20548         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
20549         Remove variable.
20550         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
20552         [BZ #18534]
20553         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
20554         (dprintf): Define as a weak alias of __dprintf, not a strong
20555         alias.
20556         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
20557         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
20558         dprintf.
20559         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
20560         Remove variable.
20561         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
20562         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
20564         [BZ #18533]
20565         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
20566         not a strong alias.
20567         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
20568         Remove variable.
20570         [BZ #18532]
20571         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
20572         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
20573         (in6addr_loopback): Rename to __in6addr_loopback and define as
20574         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
20575         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
20576         libc_hidden_proto.
20577         (__in6addr_any): Likewise.
20578         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
20579         in6addr_any.
20580         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
20581         variable.
20582         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
20584 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
20586         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
20587         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
20588         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20589         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20590         redirections for pow.
20591         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20592         * sysdeps/x86_64/fpu/Versions: New versions added.
20593         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20594         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20595         build of SSE, AVX2 and AVX512 IFUNC versions.
20596         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
20597         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
20598         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
20599         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
20600         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
20601         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
20602         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
20603         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
20604         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
20605         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
20606         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
20607         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
20608         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
20609         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
20610         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20611         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20612         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20613         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20614         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20615         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20616         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20617         * NEWS: Mention addition of x86_64 vector pow.
20619         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20620         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20621         redirections for expf.
20622         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20623         * sysdeps/x86_64/fpu/Versions: New versions added.
20624         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20625         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20626         build of SSE, AVX2 and AVX512 IFUNC versions.
20627         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
20628         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
20629         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
20630         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
20631         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
20632         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
20633         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
20634         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
20635         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
20636         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
20637         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
20638         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
20639         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
20640         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20641         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20642         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20643         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20644         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20645         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20646         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20647         * NEWS: Mention addition of x86_64 vector expf.
20649         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
20650         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
20651         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20652         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20653         redirections for exp.
20654         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20655         * sysdeps/x86_64/fpu/Versions: New versions added.
20656         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20657         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20658         build of SSE, AVX2 and AVX512 IFUNC versions.
20659         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
20660         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
20661         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
20662         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
20663         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
20664         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
20665         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
20666         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
20667         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
20668         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
20669         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
20670         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
20671         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
20672         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20673         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20674         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20675         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20676         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20677         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20678         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20679         * NEWS: Mention addition of x86_64 vector exp.
20681         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20682         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20683         redirections for logf.
20684         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20685         * sysdeps/x86_64/fpu/Versions: New versions added.
20686         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20687         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20688         build of SSE, AVX2 and AVX512 IFUNC versions.
20689         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
20690         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
20691         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
20692         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
20693         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
20694         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
20695         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
20696         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
20697         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
20698         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
20699         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
20700         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
20701         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
20702         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20703         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20704         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20705         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20706         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20707         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20708         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20709         * NEWS: Mention addition of x86_64 vector logf.
20711         * bits/libm-simd-decl-stubs.h: Added stubs for log.
20712         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
20713         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20714         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20715         redirections for log.
20716         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20717         * sysdeps/x86_64/fpu/Versions: New versions added.
20718         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20719         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20720         build of SSE, AVX2 and AVX512 IFUNC versions.
20721         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
20722         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
20723         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
20724         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
20725         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
20726         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
20727         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
20728         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
20729         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
20730         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
20731         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
20732         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
20733         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
20734         test.
20735         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20736         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20737         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20738         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20739         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20740         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20741         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20742         * NEWS: Mention addition of x86_64 vector log.
20744 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20746         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
20747         cfi_adjust_cfa_offset argument.
20748         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
20749         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
20751         [BZ #18034]
20752         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
20753         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
20754         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
20755         ordering using ldar.
20756         (_dl_tlsdesc_dynamic): Likewise.
20757         (_dl_tlsdesc_return_lazy): Likewise.
20758         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
20759         relaxed atomics instead of volatile and synchronize with release store.
20760         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
20761         volatile.
20762         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20764 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
20766         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20767         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
20768         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20769         * sysdeps/x86_64/fpu/Versions: New versions added.
20770         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20771         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
20772         build of SSE, AVX2 and AVX512 IFUNC versions.
20773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
20774         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
20775         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
20776         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
20777         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
20778         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
20779         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
20780         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
20781         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
20782         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
20783         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
20784         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
20785         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
20786         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20787         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20788         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20789         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20790         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20791         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20792         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20793         * NEWS: Mention addition of x86_64 vector sinf.
20795 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
20797         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
20798         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
20799         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
20800         Remove variable.
20801         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
20802         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
20804 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20806         [BZ #18530]
20807         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
20808         strong alias of _IO_fputs.  Use libc_hidden_def.
20809         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
20810         and define as weak alias of __fputs_unlocked.  Use
20811         libc_hidden_weak.
20812         * include/stdio.h (__fputs_unlocked): Declare.  Use
20813         libc_hidden_proto.
20814         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
20815         fputs_unlocked.
20817         [BZ #18529]
20818         * resolv/netdb.h [__USE_POSIX]: Change condition to
20819         [__USE_XOPEN2K].
20820         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
20821         not expect.
20822         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
20823         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
20824         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
20825         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
20826         [XPG4 || UNIX98] (AI_ALL): Likewise.
20827         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
20828         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
20829         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
20830         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
20831         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
20832         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
20833         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
20834         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
20835         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
20836         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
20837         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
20838         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
20839         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
20840         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
20841         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
20842         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20843         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
20844         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
20845         [XPG4 || UNIX98] (gai_strerror): Likewise.
20846         [XPG4 || UNIX98] (getaddrinfo): Likewise.
20847         [XPG4 || UNIX98] (getnameinfo): Likewise.
20849         [BZ #18528]
20850         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
20851         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
20852         __USE_XOPEN2K8].
20853         (getgrent): Likewise.
20854         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
20855         expect.
20856         [XPG3 || POSIX2008] (endgrent): Likewise.
20857         [XPG3] (setgrent): Likewise.
20858         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
20859         variable.
20860         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
20862         [BZ #18527]
20863         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
20864         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
20865         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
20866         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
20867         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
20868         * include/unistd.h (__getlogin_r): Declare.  Use
20869         libc_hidden_proto.
20870         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
20871         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
20872         variable.
20873         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
20874         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
20875         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
20877 2015-06-12  Martin Sebor  <msebor@redhat.com>
20879         [BZ #18512]
20880         * Makerules (check-install-supported): New target.
20881         (install): Add check-install-supported as a dependency.
20882         * manual/install.texi (Installing the C Library): Document
20883         that overriding prefix and exec_prefix is not supported.
20884         Mention DESTDIR.
20885         * INSTALL: Regenerate from the above.
20887 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
20889         [BZ #18519]
20890         * posix/Versions (libc): Export __libc_pread at version
20891         GLIBC_PRIVATE.
20892         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
20893         instead of pread.
20894         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
20895         variable.
20897         [BZ #18522]
20898         * misc/efgcvt_r.c
20899         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
20900         (cvt_symbol): Use weak_alias instead of strong_alias.
20901         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
20902         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
20903         Remove variable.
20904         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
20905         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
20907         [BZ #18520]
20908         * inet/herrno.c (h_errno): Rename to __h_errno.
20909         (__libc_h_errno): Define as alias of __h_errno not h_errno.
20910         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
20911         to __h_errno instead of h_errno.
20912         * nptl/herrno.c (h_errno): Rename to __h_errno.
20913         (__h_errno_location): Refer to __h_errno not h_errno.
20914         * resolv/Versions (h_errno): Rename to __h_errno.
20915         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
20916         Remove variable.
20917         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
20919 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
20921         * configure.ac: More strict check for AVX512 assembler support.
20922         * configure: Regenerated.
20924         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
20925         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
20926         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
20927         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
20928         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20929         * sysdeps/x86_64/fpu/Versions: New versions added.
20930         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20931         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20932         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20933         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
20934         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
20935         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
20936         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
20937         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
20938         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
20939         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
20940         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
20941         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
20942         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
20943         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
20944         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
20945         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
20946         test.
20947         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20948         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20949         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20950         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20951         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20952         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20953         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20954         * NEWS: Mention addition of x86_64 vector sin.
20956 2015-06-11  Florian Weimer  <fweimer@redhat.com>
20958         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
20959         comment.
20961 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20963         [BZ #18479]
20964         * nptl/pt-interp.c: New file.
20965         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
20966         Add pt-interp.
20967         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
20968         $(common-objpfx)runtime-linker.h.
20970 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
20972         * Makeconfig (+interp): Remove unused variable.
20973         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
20974         only.  Depend on $(common-objpfx)runtime-linker.h instead of
20975         $(elf-objpfx)runtime-linker.h.
20976         ($(elf-objpfx)runtime-linker.h): Rename to
20977         $(common-objpfx)runtime-linker.h and move ...
20978         * Makerules [$(build-shared) = yes]: ... here.
20979         * elf/interp.c: Include <runtime-linker.h> instead of
20980         <elf/runtime-linker.h>.
20982 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20984         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
20985         (__gettimeofday_syscall): Remove vsyscall fallback.
20986         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
20987         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
20988         Add syscall fallback function.
20989         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
20990         if vDSO is not present.
20991         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
20992         fallback function.
20993         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
20994         present.
20995         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
20996         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
20998 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
21000         [BZ #18497]
21001         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
21002         of wcscmp.
21003         (wcscmp): Define as weak alias of WCSCMP.
21004         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
21005         wcscoll.
21006         (USE_HIDDEN_DEF): Define.
21007         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
21008         __wcscoll.  Don't use libc_hidden_weak.
21009         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21010         wcscmp.
21011         * sysdeps/i386/i686/multiarch/wcscmp-c.c
21012         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21013         __GI_wcscmp.
21014         (weak_alias): Undefine and redefine.
21015         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21016         __wcscmp and define as weak alias of __wcscmp.
21017         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21018         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21019         (__wcscoll): Likewise.
21020         (wcscmp): Don't use libc_hidden_proto.
21021         (wcscoll): Likewise.
21022         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21023         wcscoll.
21024         * posix/regexec.c (check_node_accept_bytes): Likewise.
21025         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21026         variable.
21027         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21028         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21030         [BZ #18507]
21031         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21032         __fstatvfs and define as weak alias of __fstatvfs.  Use
21033         libc_hidden_weak.
21034         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21035         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21036         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21037         Define as alias of __fstatvfs, not fstatvfs.
21038         (fstatvfs64): Likewise.
21039         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21040         Define as alias of __statvfs, not statvfs.
21041         (statvfs64): Likewise.
21042         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21043         Remove variable.
21045 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21048         (HAVE_GETCPU_VSYSCALL): Define.
21049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21050         (HAVE_GETCPU_VSYSCALL): Likewise.
21051         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21052         * sysdeps/unix/sysv/linux/sched_getcpu.c
21053         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21054         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21055         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21056         prototype.
21057         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21058         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21059         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21060         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21061         Define.
21062         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21063         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21064         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21065         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21067 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21069         * sysdeps/x86_64/fpu/Makefile: New file.
21070         * sysdeps/x86_64/fpu/Versions: New file.
21071         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21072         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21073         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21074         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21075         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21076         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21077         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21078         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21079         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21080         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21081         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21082         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21083         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21084         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21085         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21086         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21087         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21088         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21089         * sysdeps/x86_64/configure: Regenerated.
21090         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21091         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21092         * manual/install.texi (Configuring and compiling): Document
21093         --disable-mathvec.
21094         * INSTALL: Regenerated.
21095         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21097         * math/Makefile: Added rules for vector tests.
21098         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21099         declaration under condition.
21100         * math/test-double-vlen2.h: New file.
21101         * math/test-double-vlen4.h: New file.
21102         * math/test-double-vlen8.h: New file.
21103         * math/test-vec-loop.h: Added initialization macro.
21104         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21105         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21106         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21107         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21108         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21109         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21110         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21111         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21112         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21113         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21114         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21116         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21117         * sysdeps/x86_64/fpu/Versions: New versions added.
21118         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21119         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21120         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21121         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21122         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21123         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21124         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21125         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21126         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21127         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21128         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21129         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21130         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21131         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21132         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21133         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21134         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21135         * NEWS: Mention addition of x86_64 vector cosf.
21137         * math/Makefile: Added CFLAGS for new tests.
21138         * math/test-float-vlen16.h: New file.
21139         * math/test-float-vlen4.h: New file.
21140         * math/test-float-vlen8.h: New file.
21141         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21142         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21143         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21144         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21145         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21146         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21147         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21148         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21149         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21150         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21151         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21153 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21155         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21156         * locale/programs/ld-ctype.c: Likewise.
21158 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21160         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21161         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21162         bit_ZMM16_31_state): New macro.
21163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21164         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21166 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21168         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21170 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21172         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21174 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21176         [BZ #18498]
21177         * libio/memstream.c (open_memstream): Rename to __open_memstream
21178         and define as weak alias of __open_memstream.
21179         * include/stdio.h (__open_memstream): Declare.  Use
21180         libc_hidden_proto.
21181         (open_memstream): Don't use libc_hidden_proto.
21182         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21183         open_memstream.
21184         * posix/getopt.c (_getopt_internal_r): Likewise.
21185         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21186         variable.
21187         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21188         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21189         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21191         [BZ #18496]
21192         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21193         instead of wcrtomb.
21195         [BZ #18483]
21196         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21197         [__USE_XOPEN2K8].  Remove redundant #endif.
21198         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21199         Remove redundant #if.
21200         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21201         Remove variable.
21202         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21203         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21205         [BZ #18495]
21206         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21207         (__iswlower): Likewise.
21208         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21209         (__iswlower): Likewise.
21210         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21211         instead of towlower.
21212         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21213         instead of iswlower.  Call __towupper instead of towupper.
21214         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21215         instead of iswalnum.
21217 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21219         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21220         errors to stderr.
21222 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21224         [BZ #15661]
21225         [BZ #17322]
21226         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21227         Check for overflow properly.  Check for O_APPEND.  Ignore large
21228         file system block sizes.  Add comments about problems.
21229         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21230         * manual/filesys.texi (Storage Allocation): New node.
21232 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21234         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21235         cancellable syscalls.
21236         (SYS_ify): Add guard to no redefine it.
21237         (INLINE_SYSCALL): Likewise.
21238         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21239         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21240         SYSCALL_CANCEL instead.
21241         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21242         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21243         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21244         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21245         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21246         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21247         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21248         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21249         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21250         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21251         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21252         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21253         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21254         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21255         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21256         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21257         Likewise.
21258         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21259         (__libc_pread64): Likewise.
21260         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21261         (__libc_preadv): Likewise.
21262         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21263         (__libc_readv64): Likewise.
21264         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21265         (__libc_pwrite): Likewise.
21266         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21267         (__libc_pwrite64): Likewise.
21268         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21269         (__libc_pwritev): Likewise.
21270         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21271         (__libc_pwritev64): Likewise.
21272         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21273         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21274         (sync_file_range): Likewise.
21275         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21276         Likewise.
21277         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21278         Likewise.
21279         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21280         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21281         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21282         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21283         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21284         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21285         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21286         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21288         Likewise.
21289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21290         (__libc_read64): Likewise.
21291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21292         Likewise.
21293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21294         Likewise.
21295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21296         Likewise.
21297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21298         Likewise.
21299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21300         (__libc_pread64): Likewise.
21301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21302         Likewise.
21303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21304         (__libc_pwrite64): Likewise.
21305         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21306         (sync_file_range): Likewise.
21307         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21308         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21309         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21310         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21311         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21312         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21313         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21314         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21315         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21316         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21317         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21318         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21319         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21320         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21321         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21322         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21323         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21324         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21325         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21326         Likewise.
21327         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21328         Likewise.
21329         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21330         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21331         Likewise.
21332         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21333         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21334         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21335         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21336         Likewise.
21337         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21338         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21339         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21340         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21341         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21343 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21345         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21346         Include dl-vdso.
21347         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21348         Use VDSO routines for gettimeofday, clock_gettime if
21349         available.
21350         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21351         Declare VDSO symbols.
21352         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21353         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21354         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21355         * sysdeps/unix/sysv/linux/arm/Versions: Add
21356         __vdso_clock_gettime.
21358 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21360         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21361         be an inline implementation regardless of library is built within.
21362         (open_not_cancel_2): Likewise.
21363         (__read_nocancel): Likewise.
21364         (__write_nocancel): Likewise.
21365         (openat_not_cancel): Likewise.
21366         (openat_not_cancel_3): Likewise.
21367         (openat64_not_cancel): Likewise.
21368         (openat64_not_cancel_3): Likewise.
21369         (__close_nocancel): Likewise.
21370         (pause_not_cancel): Likewise.
21371         (nanosleep_not_cancel): Likewise.
21372         (sigsuspend_not_cancel): Likewise.
21374 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21376         [BZ #14958]
21377         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21378         wake-up.
21379         (__pthread_rwlock_rdlock_slow): Likewise.
21380         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21381         Likewise.
21382         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21383         Likewise.
21384         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21385         * nptl/tst-rwlock16.c: New file.
21386         * nptl/Makefile (tests): Add new test.
21388 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21390         [BZ #18324]
21391         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21392         missing wake-up of readers.
21393         * nptl/tst-rwlock15.c: New file.
21394         * nptl/Makefile (tests): Add new test.
21396 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21398         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21399         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21400         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21401         and __nacl_supply_interface_rtld.
21402         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21403         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21404         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21405         Add __nacl_supply_interface_rtld.
21406         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21408 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21410         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21411         isfinite.
21412         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21413         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21415 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21417         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21418         __signbit* with standard C99 macros.
21419         * math/e_exp10l.c: Likewise.
21420         * math/e_exp2l.c: Likewise.
21421         * math/e_scalb.c: Likewise.
21422         * math/e_scalbf.c: Likewise.
21423         * math/e_scalbl.c: Likewise.
21424         * math/s_ldexp.c: Likewise.
21425         * math/s_ldexpf.c: Likewise.
21426         * math/s_ldexpl.c: Likewise.
21427         * math/w_atan2.c: Likewise.
21428         * math/w_atan2f.c: Likewise.
21429         * math/w_atan2l.c: Likewise.
21430         * math/w_cosh.c: Likewise.
21431         * math/w_coshf.c: Likewise.
21432         * math/w_coshl.c: Likewise.
21433         * math/w_exp10.c: Likewise.
21434         * math/w_exp10f.c: Likewise.
21435         * math/w_exp10l.c: Likewise.
21436         * math/w_exp2.c: Likewise.
21437         * math/w_exp2f.c: Likewise.
21438         * math/w_exp2l.c: Likewise.
21439         * math/w_fmod.c: Likewise.
21440         * math/w_fmodf.c: Likewise.
21441         * math/w_fmodl.c: Likewise.
21442         * math/w_hypot.c: Likewise.
21443         * math/w_hypotf.c: Likewise.
21444         * math/w_hypotl.c: Likewise.
21445         * math/w_jnl.c: Likewise.
21446         * math/w_lgamma.c: Likewise.
21447         * math/w_lgamma_r.c: Likewise.
21448         * math/w_lgammaf.c: Likewise.
21449         * math/w_lgammaf_r.c: Likewise.
21450         * math/w_lgammal.c: Likewise.
21451         * math/w_lgammal_r.c: Likewise.
21452         * math/w_pow.c: Likewise.
21453         * math/w_powf.c: Likewise.
21454         * math/w_powl.c: Likewise.
21455         * math/w_remainder.c: Likewise.
21456         * math/w_remainderf.c: Likewise.
21457         * math/w_remainderl.c: Likewise.
21458         * math/w_scalb.c: Likewise.
21459         * math/w_scalbf.c: Likewise.
21460         * math/w_scalbl.c: Likewise.
21461         * math/w_scalbln.c: Likewise.
21462         * math/w_scalblnf.c: Likewise.
21463         * math/w_scalblnl.c: Likewise.
21464         * math/w_sinh.c: Likewise.
21465         * math/w_sinhf.c: Likewise.
21466         * math/w_sinhl.c: Likewise.
21467         * math/w_tgamma.c: Likewise.
21468         * math/w_tgammaf.c: Likewise.
21469         * math/w_tgammal.c: Likewise.
21470         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21471         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21472         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21473         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21474         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21475         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21476         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21477         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21478         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21479         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21480         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21481         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21482         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21483         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21484         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21485         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21486         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21487         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21488         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21489         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21490         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21491         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21492         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21493         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21494         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21495         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21496         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21497         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21498         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21499         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21500         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21501         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21502         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21503         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21504         * stdio-common/printf_fp.c: Likewise.
21505         * stdio-common/printf_fphex.c: Likewise.
21506         * stdio-common/printf_size.c: Likewise.
21508 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21510         [BZ #18470]
21511         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21512         strnlen.
21513         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21514         Remove variable.
21515         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21516         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21517         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21518         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21519         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21520         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21521         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21522         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21523         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21524         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21526         [BZ #18468]
21527         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21528         weak alias of __wmemchr.  Use libc_hidden_weak.
21529         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21530         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21531         instead of wmemchr.
21533 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21535         [BZ #18383]
21536         * elf/tst-tlsalign-extern.c: New file.
21537         * elf/tst-tlsalign-extern-static.c: New file.
21538         * elf/tst-tlsalign-vars.c: New file.
21539         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
21540         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
21541         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
21542         ($(objpfx)tst-tlsalign-extern-static): Likewise.
21543         (test-xfail-tst-tlsalign-extern-static): New variable.
21545 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
21547         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
21548         Use variable name _sc_err instead of err.
21549         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
21550         instead of ret.
21551         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
21552         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
21553         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
21554         (INLINE_SYSCALL): Likewise.
21556         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
21557         * include/string.h (__strnlen): Use libc_hidden_proto.
21558         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
21559         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
21560         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
21561         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
21562         (libc_hidden_def): Undefine and redefine.
21563         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
21564         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
21565         __GI_strnlen.
21566         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
21567         libc_hidden_def.
21568         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
21570         [BZ #18469]
21571         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
21572         weak alias of __towlower.  Use libc_hidden_weak.
21573         (towupper): Rename to __towupper and define as weak alias of
21574         __towupper.  Use libc_hidden_weak.
21575         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
21576         (__towupper): Likewise.
21577         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
21578         __towlower instead of towlower.
21580 2015-06-02  Roland McGrath  <roland@hack.frob.com>
21582         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
21583         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
21585 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21587         * sysdeps/aarch64/libm-test-ulps: Update.
21589 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21591         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
21592         Define.
21593         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21594         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
21595         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21596         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21597         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
21598         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
21599         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
21601 2015-06-01  Martin Sebor  <msebor@redhat.com>
21603         [BZ #18116]
21604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
21605         (__setcontext): Use extended four-operand version of mtsf whenever
21606         possible.
21607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
21608         (__novec_swapcontext): Likewise.
21610 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21612         * benchtests/scripts/compare_bench.py: New file.
21613         * benchtests/scripts/import_bench.py (mean): New function.
21614         (split_list): Likewise.
21615         (do_for_all_timings): Likewise.
21616         (compress_timings): Likewise.
21618         * benchtests/scripts/import_bench.py: New file.
21619         * benchtests/scripts/validate_benchout.py: Import import_bench
21620         instead of jsonschema.
21621         (validate_bench): Remove function.
21622         (main): Use import_bench.
21624 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
21626         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
21627         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
21629 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21631         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21633 2015-05-28  Roland McGrath  <roland@hack.frob.com>
21635         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
21636         set THREAD_SELF->tid to a magic value and futex-wake it.
21637         Pass its address to the thread_exit system call.
21638         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
21639         bit is clear.
21640         * sysdeps/nacl/lowlevellock.h: New file.
21641         * sysdeps/nacl/lll_timedwait_tid.c: New file.
21643         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
21644         Add TIMEOUT to current time, don't subtract it.
21646 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
21648         [BZ #2981]
21649         [BZ #18422]
21650         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
21651         ($(objpfx)tst-audit2.out): Also depend on
21652         $(objpfx)tst-auditmod9b.so.
21653         * elf/tst-audit2.c: Include <dlfcn.h>.
21654         (calloc_called): New.
21655         (calloc): Allow to be called more than once.
21656         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
21658 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
21660         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
21661         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
21663 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
21665         * stdlib/monetary.h: Fix comment.
21667 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
21669         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
21670         Avoid using variables in #defines that might cause shadowing.
21671         (INTERNAL_VSYSCALL_CALL): Likewise.
21673 2015-05-26  Roland McGrath  <roland@hack.frob.com>
21675         * sysdeps/nacl/lll_timedlock_wait.c: New file.
21677         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
21678         * nptl/lll_timedlock_wait.c: ... to this new file.
21679         * nptl/Makefile (libpthread-routines): Add it.
21680         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
21681         * nptl/lll_timedwait_tid.c: ... to this new file.
21682         * nptl/Makefile (libpthread-routines): Add it.
21683         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
21684         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
21685         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
21686         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
21687         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
21688         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
21689         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
21690         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
21691         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
21692         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
21694 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21696         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
21697         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21698         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21699         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
21700         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
21701         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
21702         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21703         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
21704         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21705         * sysdeps/unix/sysv/linux/tile/sysdep.h
21706         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
21707         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
21708         using vDSO syscall macro.
21710 2015-05-26  Andriy Rysin  <arysin@gmail.com>
21712         [BZ #17293]
21713         * uk_UA: Fix sorting order for Ukrainian locale
21715 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
21717         * stdlib/monetary.h: Fix comment.
21719 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21721         [BZ #18234]
21722         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
21723         st_mtim and st_ctim members.
21724         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
21725         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
21726         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
21727         (struct stat64): Likewise.
21728         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
21729         (struct stat64): Likewise.
21730         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
21731         (struct stat64): Likewise.
21733 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21735         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
21736         Define and include sysdep-vdso.h.
21737         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
21738         Likewise.
21739         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
21740         Likewise.
21741         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
21742         Define with VDSO_SYMBOL and use PTR_MANGLE.
21743         (__vdso_clock_gettime): Likewise.
21744         (__vdso_clock_getres): Likewise.
21745         (_libc_vdso_platform_setup): Likewise.
21746         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
21747         Likewise.
21748         (_libc_vdso_platform_setup): Likewise.
21749         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
21750         Likewise.
21751         (__vdso_clock_gettime): Likewise.
21752         (__vdso_clock_getres): Likewise.
21753         (__vdso_get_tbfreq): Likewise.
21754         (__vdso_getcpu): Likewise.
21755         (__vdso_time): Likewise.
21756         (__vdso_sigtramp_rt64): Likewise.
21757         (__vdso_signtramp32): Likewise.
21758         (__vdso_sigtramp_rt32): Likewise.
21759         (_libc_vdso_platform_setup): Likewise.
21760         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
21761         Likewise.
21762         (__vdso_clock_gettime): Likewise.
21763         (__vdso_clock_getres): Likewise.
21764         (_libc_vdso_platform_setup): Likewise.
21765         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
21766         Likewise.
21767         (__vdso_clock_gettime): Likewise.
21768         (_libc_vdso_platform_setup): Likewise.
21769         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
21770         Likewise.
21771         (__vdso_getcpu): Likewise.
21772         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
21773         Use VDSO_SYMBOL macro to define.
21774         (__vdso_clock_gettime): Likewise.
21775         (__vdso_clock_getres): Likewise.
21776         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
21777         Likewise.
21778         (__vdso_clock_gettime): Likewise.
21779         (__vdso_clock_getres): Likewise.
21780         (__vdso_get_tbfreq): Likewise.
21781         (__vdso_getcpu): Likewise.
21782         (__vdso_time): Likewise.
21783         (__vdso_sigtramp_rt64): Likewise.
21784         (__vdso_signtramp32): Likewise.
21785         (__vdso_sigtramp_rt32): Likewise.
21786         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
21787         Likewise.
21788         (__vdso_clock_gettime): Likewise.
21789         (__vdso_clock_getres): Likewise.
21790         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
21791         Likewise.
21792         (__vdso_clock_gettime): Likewise.
21793         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
21794         Likewise.
21795         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
21796         macro.
21797         (INTERNAL_VSYSCALL): Likewise.
21798         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
21799         Remove macro.
21800         (INTERNAL_VSYSCALL): Likewise.
21801         (INTERNAL_VSYSCALL_NCS): Likewise.
21802         (INTERNAL_VSYSCALL_CALL): New macro.
21803         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21804         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
21805         Likewise.
21806         (INTERNAL_VSYSCALL): Likewise.
21807         (INTERNAL_VSYSCALL_NCS): Likewise.
21808         (INTERNAL_VSYSCALL_CALL): New macro.
21809         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
21810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21811         (INLINE_VSYSCALL): Remove macro.
21812         (INTERNAL_VSYSCALL): Remove macro.
21813         (INTERNAL_VSYSCALL_NCS): Remove macro.
21814         (INTERNAL_VSYSCALL_CALL): New macro.
21815         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
21816         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
21817         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21818         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
21819         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
21820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21821         (INLINE_VSYSCALL): Remove macro.
21822         (INTERNAL_VSYSCALL): Likewise.
21823         (INTERNAL_VSYSCALL_NCS): Likewise.
21824         (INTERNAL_VSYSCALL_CALL): New macro.
21825         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
21826         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
21827         PTR_DEMANGLE on vDSO pointer.
21828         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
21829         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
21830         macro.
21831         (INTERNAL_SYSCALL): Likewise.
21832         (INTERNAL_VSYSCALL_NCS): Remove macro.
21833         (INTERNAL_VSYSCALL_CALL): New macro.
21834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
21835         Remove macro.
21836         (INTERNAL_VSYSCALL): Likewise.
21837         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
21838         sysdep-vdso.h instead of libc-vdso.h.
21839         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
21840         definition.
21841         (INLINE_VSYSCALL): Likewise.
21842         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
21843         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
21844         definition.
21845         (INLINE_VSYSCALL): Likewise.
21846         (INTERNAL_VSYSCALL): Likewise.
21847         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21848         * sysdeps/unix/sysv/linux/timespec_get.c
21849         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21850         (timespec_get): Use ANSI prototype.
21851         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
21852         and definition for Linux.
21854 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21856         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
21857         * include/libc-symbols.h: libmvec_hidden_* macro series added.
21859 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21861         [BZ #2981]
21862         [BZ #18410]
21863         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
21864         for missing DT_PLTRELSZ.
21866 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21868         Remove obsolete aliases that broke 'locale -a'
21869         [BZ #18412]
21870         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
21871         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
21872         breaking some applications that use 'locale -a' output.
21873         Change the encoding of this file from Latin-1 to ASCII to avoid
21874         other potential problems with people grepping this file.
21876 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21878         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
21879         -fasynchronous-unwind-tables.
21880         (CFLAGS-sendto.c): Likewise.
21881         (CFLAGS-sendmsg.c): Likewise.
21882         (CFLAGS-connect.c): Likewise.
21883         (CFLAGS-recvmsg.c): Likewise.
21884         (CFLAGS-recvfrom.c): Likewise.
21885         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
21886         (SOCKETCALL): New macro: non-cancellable socketcall.
21887         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
21888         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
21889         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
21890         * sysdeps/unix/sysv/linux/accept.c: New file.
21891         * sysdeps/unix/sysv/linux/bind.c: Likewise.
21892         * sysdeps/unix/sysv/linux/connect.c: Likewise.
21893         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
21894         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
21895         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
21896         * sysdeps/unix/sysv/linux/listen.c: Likewise.
21897         * sysdeps/unix/sysv/linux/recv.c: Likewise.
21898         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
21899         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
21900         * sysdeps/unix/sysv/linux/send.c: Likewise.
21901         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
21902         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
21903         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
21904         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
21905         * sysdeps/unix/sysv/linux/socket.c: Likewise.
21906         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
21907         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
21908         prototype.
21909         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
21910         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21911         instead of __internal_xxx function.
21912         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
21913         prototype.
21914         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
21915         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21916         instead of __internal_xxx function.
21917         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
21918         prototype.
21919         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
21920         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
21921         instead of __internal_xxx function.
21922         * sysdeps/unix/sysv/linux/accept.S: Remove file.
21923         * sysdeps/unix/sysv/linux/bind.S: Likewise.
21924         * sysdeps/unix/sysv/linux/connect.S: Likewise.
21925         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
21926         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
21927         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
21928         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
21929         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
21930         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
21931         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
21932         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
21933         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
21934         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
21935         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
21936         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
21937         * sysdeps/unix/sysv/linux/listen.S: Likewise.
21938         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
21939         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
21940         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
21941         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
21942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
21943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
21944         * sysdeps/unix/sysv/linux/recv.S: Likewise.
21945         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
21946         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
21947         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
21948         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21949         * sysdeps/unix/sysv/linux/send.S: Likewise.
21950         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
21951         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
21952         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
21953         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
21954         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
21955         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
21956         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
21957         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
21958         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
21959         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
21960         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
21961         socketcall is implemented in GLIBC.
21963 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21965         * soft-fp/fmadf4.c: Include <libc-internal.h>.
21966         (__fma): Ignore uninitialized warnings around packing.
21967         * soft-fp/fmasf4.c: Include <libc-internal.h>.
21968         (__fmaf): Ignore uninitialized warnings around packing.
21969         * soft-fp/fmatf4.c: Include <libc-internal.h>.
21970         (__fmal): Ignore uninitialized warnings around packing.
21972         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
21973         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21974         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
21975         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21977         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
21978         switch statement into default case.
21979         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
21981         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
21982         a conditional in forcing "inexact".
21983         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21984         Likewise.
21986 2015-05-22  Roland McGrath  <roland@hack.frob.com>
21988         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
21989         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
21990         for each INTERNAL_SYSCALL use.
21992 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
21994         [BZ #438]
21995         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
21996         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
21997         variable.
21999         [BZ #18444]
22000         * string/basename.c (basename): Rename to __basename and define as
22001         weak alias of __basename.  Use libc_hidden_weak.
22002         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
22003         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
22004         __basename instead of basename.
22005         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
22006         Remove variable.
22007         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22009 2015-05-18  Florian Weimer  <fweimer@redhat.com>
22011         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22012         (_IO_JUMPS_FILE_plus): New.
22013         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22014         _IO_CAST_FIELD_ACCESS.
22015         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22016         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22017         * libio/freopen.c (freopen): Likewise.
22018         * libio/freopen64.c (freopen64): Likewise.
22019         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22020         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22021         * libio/iofwide.c (_IO_fwide): Likewise.
22022         * libio/memstream.c (open_memstream): Likewise.
22023         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22024         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22025         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22027 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22029         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22030         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22031         NADJ.
22032         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22033         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22034         NADJ.
22035         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22036         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22037         NADJ.
22039         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22040         (p == 4) case.
22042         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22043         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22044         Remove variable.
22045         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22046         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22047         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22049 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22051         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22052         Adjust jump table label generation macros.
22054 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22056         * stdio-common/vfprintf.c (vfprintf): Move local variables
22057         args_malloced, specs, specs_malloced, and the code after
22058         do_positional to the printf_positional function.
22059         (printf_positional): New function.
22061 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22063         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22064         function.
22065         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22066         STEP4_TABLE, process_arg): Move macro definitions
22067         out of the vfprintf function.  (Cosmetic change only.)
22069 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22071         * benchtests/Makefile (stdio-common-bench): Define.
22072         (benchset): Add stdio-common-bench.
22073         * sprintf-inputs: New file.
22074         * sprintf-source.c: New file.
22076 2015-05-21  Andreas Schwab  <schwab@suse.de>
22078         [BZ #13028]
22079         [BZ #17053]
22080         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22081         of struct __res_state.
22082         * resolv/res_send.c (__libc_res_nsend): Likewise.
22083         (get_nsaddr): New function.
22084         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22085         statp directly.
22087 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22089         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22090         -D_POSIX_C_SOURCE=199506L.
22092         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22094         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22095         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22096         Do not mention otherwise.
22097         [POSIX] (_XOPEN_VERSION): Do not expect.
22098         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22099         [POSIX] (_POSIX2_C_BIND): Likewise.
22100         [POSIX] (_POSIX2_VERSION): Likewise.
22101         [POSIX] (_XOPEN_XPG2): Likewise.
22102         [POSIX] (_XOPEN_XPG3): Likewise.
22103         [POSIX] (_XOPEN_XPG4): Likewise.
22104         [POSIX] (_XOPEN_UNIX): Likewise.
22105         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22106         [POSIX] (_POSIX_BARRIERS): Likewise.
22107         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22108         [POSIX] (_POSIX_CPUTIME): Likewise.
22109         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22110         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22111         [POSIX] (_POSIX_SHELL): Likewise.
22112         [POSIX] (_POSIX_SPAWN): Likewise.
22113         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22114         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22115         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22116         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22117         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22118         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22119         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22120         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22121         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22122         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22123         [POSIX] (_POSIX2_PBS): Likewise.
22124         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22125         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22126         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22127         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22128         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22129         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22130         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22131         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22132         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22133         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22134         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22135         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22136         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22137         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22138         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22139         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22140         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22141         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22142         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22143         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22144         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22145         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22146         [POSIX] (_SC_2_C_BIND): Likewise.
22147         [POSIX] (_SC_2_C_VERSION): Likewise.
22148         [POSIX] (_SC_2_PBS): Likewise.
22149         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22150         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22151         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22152         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22153         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22154         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22155         [POSIX] (_SC_BARRIERS): Likewise.
22156         [POSIX] (_SC_BASE): Likewise.
22157         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22158         [POSIX] (_SC_DEVICE_IO): Likewise.
22159         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22160         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22161         [POSIX] (_SC_FD_MGMT): Likewise.
22162         [POSIX] (_SC_FIFO): Likewise.
22163         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22164         [POSIX] (_SC_FILE_LOCKING): Likewise.
22165         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22166         [POSIX] (_SC_IOV_MAX): Likewise.
22167         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22168         [POSIX] (_SC_NETWORKING): Likewise.
22169         [POSIX] (_SC_PAGE_SIZE): Likewise.
22170         [POSIX] (_SC_PASS_MAX): Likewise.
22171         [POSIX] (_SC_PIPE): Likewise.
22172         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22173         [POSIX] (_SC_REGEXP): Likewise.
22174         [POSIX] (_SC_SHELL): Likewise.
22175         [POSIX] (_SC_SIGNALS): Likewise.
22176         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22177         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22178         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22179         [POSIX] (_SC_USER_GROUPS): Likewise.
22180         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22181         [POSIX] (_SC_STREAMS): Likewise.
22182         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22183         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22184         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22185         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22186         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22187         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22188         [POSIX] (_PC_FILESIZEBITS): Likewise.
22189         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22190         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22191         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22192         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22193         [POSIX] (uid_t): Likewise.
22194         [POSIX] (gid_t): Likewise.
22195         [POSIX] (off_t): Likewise.
22196         [POSIX] (pid_t): Likewise.
22197         [POSIX] (cuserid): Allow.
22198         (_SC_2_CHAR_TERM): Require constant.
22199         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22200         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22201         variable.
22203 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22205         * sysdeps/nacl/pthread-pids.h: New file.
22206         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22207         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22209         * nptl/pthread-pids.h: New file.
22210         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22211         * nptl/nptl-init.c: Include <pthread-pids.h>.
22212         (__pthread_initialize_minimal_internal):
22213         Call __pthread_initialize_pids instead of set_tid_address syscall.
22215         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22216         * sysdeps/posix/usleep.c: ... here.
22218 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22220         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22221         call_pselect6 object.
22222         [$(subdir) = io]: Remove call_sync_file_range object.
22223         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22224         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22225         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22226         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22228 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22230         * math/s_cproj.c: Add include "math_private.h".
22231         * math/s_cprojf.c: Likewise.
22232         * math/s_cprojl.c: Likewise.
22234 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22236         [BZ #18244]
22237         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22238         high mantissa bit when testing whether P is a NaN.
22239         * math/libm-test.inc (remainder_test_data): Add more tests.
22240         (remquo_test_data): Likewise.
22242         [BZ #18049]
22243         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22244         below -32, return the argument, with underflow if subnormal.
22245         * math/auto-libm-test-in: Add more tests of atanh.
22246         * math/auto-libm-test-out: Regenerated.
22248 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22250         [BZ #18434]
22251         * nptl/tst-sem15.c: New file.
22252         * nptl/Makefile (tests): Add it.
22253         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22254         s/<</>>/ to fix typo in EOVERFLOW check.
22255         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22257 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22259         * manual/strings.texi (envz_remove): Fix typo in safety
22260         annotations.
22262 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22263             Steve Ellcey  <sellcey@imgtec.com>
22265         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22266         in order to avoid strict alias warnings.
22267         (iruserok_af): Ditto for ra.
22269 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22271         [BZ #17581]
22272         * malloc/hooks.c
22273         (magicbyte): Convert to a function and avoid returning 0x01.
22274         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22275         (mem2chunk_check): Fix unsigned comparisons to zero.
22276         Hoist defs of sz and magic.
22278 2015-05-19  Richard Henderson  <rth@redhat.com>
22280         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22282         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22284 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22286         [BZ #16159]
22287         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22288         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22289         (reused_arena): Find a non-corrupt arena.
22290         (heap_trim): Pass arena to unlink.
22291         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22292         malloc_printerr.
22293         (top_check): Likewise.
22294         (free_check): Likewise.
22295         (realloc_check): Likewise.
22296         * malloc/malloc.c (malloc_printerr): Add arena argument.
22297         (unlink): Likewise.
22298         (munmap_chunk): Adjust.
22299         (ARENA_CORRUPTION_BIT): New macro.
22300         (arena_is_corrupt): Likewise.
22301         (set_arena_corrupt): Likewise.
22302         (sysmalloc): Use mmap if there are no usable arenas.
22303         (_int_malloc): Likewise.
22304         (__libc_malloc): Don't fail if arena_get returns NULL.
22305         (_mid_memalign): Likewise.
22306         (__libc_calloc): Likewise.
22307         (__libc_realloc): Adjust for additional argument to
22308         malloc_printerr.
22309         (_int_free): Likewise.
22310         (malloc_consolidate): Likewise.
22311         (_int_realloc): Likewise.
22312         (_int_memalign): Don't touch corrupt arenas.
22313         * malloc/tst-malloc-backtrace.c: New test case.
22315         * Makefile (summarize-tests): Fix return value on success.
22317         * manual/string.texi (Envz Functions): Add envz_remove.
22319 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22321         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22322         (invalid_name): New function, broken out of ...
22323         (__opendirat): ... here.  Call it.
22324         (need_isdir_precheck): New function, broken out of ...
22325         (__opendirat): ... here.  Call it.
22326         Use __fxstatat64, not __xstatat64.
22327         (opendir_oflags): New function, broken out of ...
22328         (__opendirat): ... here.  Call it.
22329         (opendir_tail): New function, broken out of ...
22330         (__opendirat): ... here.  Call it.
22331         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22332         opendir_tail, rather than punting to __opendirat.
22333         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22335 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22337         * .gitignore: Ignore generated *.pyc.
22339 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22341         * include/stdio.h: Define __need_wint_t.
22342         * test-skeleton.c: Avoid `for' loop initial declaration.
22343         * nptl/tst-initializers1.c: Use test-skeleton.c.
22345 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22347         [BZ #18418]
22348         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22350 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22352         [BZ #16352]
22353         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22354         (__ieee754_atanh): Force underflow exception for results with
22355         small absolute value.
22356         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22357         (__ieee754_atanhf): Force underflow exception for results with
22358         small absolute value.
22359         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22360         (__ieee754_atanh): Force underflow exception for results with
22361         small absolute value.
22362         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22363         (__ieee754_atanhf): Force underflow exception for results with
22364         small absolute value.
22365         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22366         (__ieee754_atanhl): Force underflow exception for results with
22367         small absolute value.
22368         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22369         (__ieee754_atanhl): Force underflow exception for results with
22370         small absolute value.
22371         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22372         (__ieee754_atanhl): Force underflow exception for results with
22373         small absolute value.
22374         * math/auto-libm-test-in: Do not allow missing underflow
22375         exceptions from atanh.
22376         * math/auto-libm-test-out: Regenerated.
22378         [BZ #18221]
22379         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22380         2**-28 as threshold for returning x or +/- 1/x.
22381         * math/auto-libm-test-in: Add more tests of tan.
22382         * math/auto-libm-test-out: Regenerated.
22384         [BZ #18220]
22385         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22386         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22387         * math/auto-libm-test-in: Add another test of lgamma.
22388         * math/auto-libm-test-out: Regenerated.
22390 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22392         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22393         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22394         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22395         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22396         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22397         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22398         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22399         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22400         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22401         (log1): Use fabs.  (my_log2): Use fabs.
22402         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22403         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22404         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22405         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22406         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22407         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22408         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22409         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22410         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22411         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22412         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22414 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22416         [BZ #18217]
22417         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22418         as threshold for returning 1 - x.
22419         * math/auto-libm-test-in: Add more tests of erfc.
22420         * math/auto-libm-test-out: Regenerated.
22422 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22424         [BZ #18196]
22425         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22426         threshold for large arguments.
22427         * math/auto-libm-test-in: Add another test of atan.
22428         * math/auto-libm-test-out: Regenerated.
22430         [BZ #16339]
22431         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22432         (__log1p): Force underflow exception for results with small
22433         absolute value.
22434         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22435         (__log1pf): Force underflow exception for results with small
22436         absolute value.
22437         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22438         (__log1p): Force underflow exception for results with small
22439         absolute value.
22440         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22441         (__log1pf): Force underflow exception for results with small
22442         absolute value.
22443         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22444         (__log1pl): Force underflow exception for results with small
22445         absolute value.
22446         * math/auto-libm-test-in: Do not allow missing underflow
22447         exceptions from log1p.
22448         * math/auto-libm-test-out: Regenerated.
22450 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22451             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22453         [BZ #16704]
22454         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22456 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22458         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22459         (libmvec): New variable.
22460         * configure.ac: Added option for mathvec build.
22461         * configure: Regenerated.
22462         * mathvec/Depend: New file.
22463         * mathvec/Makefile: New file.
22464         * shlib-versions: Added libmvec.
22465         * math/Makefile: Added rule for libm.so installation.
22467         * bits/math-vector.h: New file.
22468         * bits/libm-simd-decl-stubs.h: New header.
22469         * math/Makefile (headers): Added new header
22470         libm-simd-decl-stubs.h.
22471         * math/math.h (__MATHCALL_VEC): New macro.
22473         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22474         for conditions in testing functions.
22475         * math/Makefile: Added call of libm-have-vector-test.sh.
22476         * math/libm-test.inc (HAVE_VECTOR): New macros.
22478         * math/libm-test.inc: START refactored.
22479         * math/test-double.c (TEST_MATHVEC): Add define.
22480         * math/test-float.c: Likewise.
22481         * math/test-idouble.c: Likewise.
22482         * math/test-ifloat.c: Likewise.
22483         * math/test-ildoubl.c: Likewise.
22484         * math/test-ldouble.c: Likewise.
22485         * sysdeps/generic/math-tests-arch.h
22486         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22487         architecture check.
22489         * math/test-double.c (FUNC_TEST): New macro.
22490         * math/test-float.c: Likewise.
22491         * math/test-idouble.c: Likewise.
22492         * math/test-ifloat.c: Likewise.
22493         * math/test-ildoubl.c: Likewise.
22494         * math/test-ldouble.c: Likewise.
22495         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22497 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22499         * sysdeps/nacl/fdopendir.c: New file.
22501         * dirent/scandir-tail.c: New file.
22502         * dirent/scandir64-tail.c: New file.
22503         * dirent/Makefile (routines): Add them.
22504         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22505         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22506         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22507         [!SCANDIR] (SCANDIR_TAIL): New macro.
22508         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22509         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22510         (SCANDIRAT): Macro removed.
22511         (SCANDIR_TAIL): New macro.
22512         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22513         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22514         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22515         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22516         (READDIR): Macro removed.
22517         (SCANDIR_TAIL): New macro.
22518         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22519         (SCANDIR_TAIL): New macro.
22521         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22522         * dirent/scandir-cancel.c: ... to this new file.
22523         * dirent/Makefile (routines): Add it.
22524         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22525         * sysdeps/unix/sysv/linux/i386/scandir64.c
22526         (SKIP_SCANDIR_CANCEL): Macro removed.
22527         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22529         * dirent/tst-scandir.c: New file.
22530         * dirent/tst-scandir64.c: New file.
22531         * dirent/Makefile (tests): Add them.
22533 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22535         [BZ #18409]
22536         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
22538 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22540         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
22541         list.
22543 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
22545         * benchtests/bench-strcoll.c: New benchmark.
22546         * benchtests/Makefile: Generate locales and run benchmark.
22547         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
22548         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22549         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
22550         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
22551         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
22552         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
22553         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
22554         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
22555         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
22556         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
22557         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
22558         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
22559         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
22560         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
22561         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
22562         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
22563         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
22564         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
22565         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
22566         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
22567         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
22568         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
22569         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
22570         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
22572 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
22574         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
22575         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22577 2015-05-12  Roland McGrath  <roland@hack.frob.com>
22579         * posix/uname-values.h: New file.
22580         * posix/uname.c: Include that instead of <config-name.h>.
22581         * sysdeps/nacl/uname-values.h: New file.
22582         * sysdeps/arm/nacl/uname-values.h: New file.
22584 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
22586         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
22587         splitting into fields.
22589 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
22591         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
22592         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
22593         * locale/localeinfo.h: Add enum collation_encoding_type.
22594         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
22595         * programs/ld-collate.c (collate_output): Add encoding type info.
22596         * string/strcoll_l.c (STRDIFF): New function.
22597         * (STRCOLL): Use STRDIFF to skip over equal prefix.
22598         * wcsmbs/wcscoll_l.c: Define STRDIFF.
22600 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
22602         [BZ #18397]
22603         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
22604         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
22605         <fpu_control.h> instead of <math/fpu_control.c>.
22606         * sysdeps/mips/mips32/fpu/Makefile: New file.
22608 2015-05-11  Andreas Schwab  <schwab@suse.de>
22610         [BZ #18007]
22611         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
22612         nss_endgrent.
22613         (_nss_compat_endgrent): Call nss_endgrent.
22614         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
22615         nss_endpwent.
22616         (_nss_compat_endpwent): Call nss_endpwent.
22617         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
22618         needent, call nss_setspent only if non-zero.
22619         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
22620         (internal_endspent): Don't call nss_endspent.
22621         (_nss_compat_endspent): Call nss_endspent.
22622         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
22623         Remove.  All uses removed.
22624         (internal_setent): Remove parameter stayopen, add parameter
22625         stream.  Use it instead of global variable.
22626         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
22627         (internal_endent, internal_getent): Add parameter stream.  Use it
22628         instead of global variable.
22629         (CONCAT(_nss_files_end,ENTNAME))
22630         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
22631         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
22632         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
22633         uses removed.
22634         (internal_setent, internal_endent): Add parameter stream.  Use it
22635         instead of global variable.
22636         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
22637         stream.
22638         (get_next_alias): Add parameter stream.
22639         (_nss_files_getaliasent_r): Pass global stream.
22640         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
22641         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
22642         (_nss_files_gethostbyname4_r): Pass local stream to
22643         internal_setent, internal_getent and internal_endent.  Remove
22644         locking.
22646 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22648         * tst-strfmon1.c (tests): Update expected currency symbol.
22650 2015-05-08  Roland McGrath  <roland@hack.frob.com>
22652         * sysdeps/nacl/gethostname.c: New file.
22654 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
22656         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
22657         and sinh.
22658         * math/auto-libm-test-out: Regenerated.
22659         * sysdeps/i386/fpu/libm-test-ulps: Update.
22660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22662 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
22664         [BZ #18125]
22665         * stdlib/tst-setcontext3.c: New file.
22666         * stdlib/tst-setcontext3.sh: New file.
22667         * stdlib/Makefile (tests): Add tst-setcontext3.
22668         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
22669         to verify test program created output file.
22670         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
22671         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
22672         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
22673         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
22675 2015-05-06  Roland McGrath  <roland@hack.frob.com>
22677         [BZ #18383]
22678         * elf/tst-tlsalign.c: New file.
22679         * elf/tst-tlsalign-static.c: New file.
22680         * elf/tst-tlsalign-lib.c: New file.
22681         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
22682         (tests-static): Add tst-tlsalign-static.
22683         (modules-names): Add tst-tlsalign-lib.
22684         (test-xfail-tst-tlsalign): New variable.
22685         (test-xfail-tst-tlsalign-static): New variable.
22687         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
22688         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
22690 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
22692         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
22693         csqrt, erfc, sin and sincos.
22694         * math/auto-libm-test-out: Regenerated.
22695         * sysdeps/i386/fpu/libm-test-ulps: Update.
22696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22698 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22700         * sysdeps/aarch64/libm-test-ulps: Update.
22702 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
22704         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
22705         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
22706         * math/auto-libm-test-out: Regenerated.
22707         * sysdeps/i386/fpu/libm-test-ulps: Update.
22708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22710 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22712         [BZ #18265]
22713         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
22714         (wcsncpy): Likewise.
22716 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22718         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22719         Assume __ASSUME_FALLOCATE is always true.
22720         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22721         (__posix_fallocate64_l64): Likweise.
22722         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
22723         (posix_fallocate): Likewise.
22724         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
22725         (__posix_fallocate64_l64): Likewise.
22726         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22727         [!__ASSUME_FALLOCATE]: Add comment.
22729 2015-05-05  Florian Weimer  <fweimer@redhat.com>
22731         * sysdeps/unix/sysv/linux/i386/Makefile
22732         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
22733         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
22734         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
22735         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22736         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22737         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
22738         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
22740 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
22742         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
22743         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
22744         tgamma.
22745         * math/auto-libm-test-out: Regenerated.
22746         * sysdeps/i386/fpu/libm-test-ulps: Update.
22747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22749 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22751         * math/auto-libm-test-in: Add more tests of tgamma.
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 more tests of tanh.
22757         * math/auto-libm-test-out: Regenerated.
22758         * sysdeps/i386/fpu/libm-test-ulps: Update.
22759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22761         * math/auto-libm-test-in: Add more tests of tan.
22762         * math/auto-libm-test-out: Regenerated.
22763         * sysdeps/i386/fpu/libm-test-ulps: Update.
22764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22766         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
22767         * math/auto-libm-test-out: Regenerated.
22768         * sysdeps/i386/fpu/libm-test-ulps: Update.
22769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22771         * math/auto-libm-test-in: Add another test of pow.
22772         * math/auto-libm-test-out: Regenerated.
22773         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22775         * math/auto-libm-test-in: Add more tests of lgamma.
22776         * math/auto-libm-test-out: Regenerated.
22777         * sysdeps/i386/fpu/libm-test-ulps: Update.
22778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22780         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
22781         log1p.
22782         * math/auto-libm-test-out: Regenerated.
22783         * sysdeps/i386/fpu/libm-test-ulps: Update.
22784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22786 2015-05-01  Mark Wielaard  <mjw@redhat.com>
22788         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
22789         Elf64_Chdr structs and ELFCOMPRESS constants.
22791 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
22793         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
22794         expm1.
22795         * math/auto-libm-test-out: Regenerated.
22796         * sysdeps/i386/fpu/libm-test-ulps: Update.
22797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22799         * math/auto-libm-test-in: Add more tests of erf and erfc.
22800         * math/auto-libm-test-out: Regenerated.
22801         * sysdeps/i386/fpu/libm-test-ulps: Update.
22802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22804 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22806         * config.h.in (HAVE_AARCH64_BE): Add.
22808 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
22810         * math/auto-libm-test-in: Add more tests of csqrt.
22811         * math/auto-libm-test-out: Regenerated.
22812         * sysdeps/i386/fpu/libm-test-ulps: Update.
22813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22815         * math/auto-libm-test-in: Add more tests of cosh and sinh.
22816         * math/auto-libm-test-out: Regenerated.
22817         * sysdeps/i386/fpu/libm-test-ulps: Update.
22818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22820         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
22822 2015-04-29  Roland McGrath  <roland@hack.frob.com>
22824         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
22825         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
22827         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
22828         (euidaccess, eaccess): Define as weak aliases.
22830         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
22831         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
22832         but __suseconds_t is often 'long int' so some sources assume that
22833         type is being used (e.g. they use %ld to print tv_usec).
22835 2015-04-29  Florian Weimer  <fweimer@redhat.com>
22837         [BZ #18007]
22838         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
22839         (CVE-2014-8121)
22840         * nss/tst-nss-getpwent.c: New file.
22841         * nss/Makefile (tests): Add new test.
22843 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
22845         [BZ #18346]
22846         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
22847         exponents less than 48 as cases where high part of mantissa needs
22848         examining to determine whether argument is integral.
22849         * math/libm-test.inc (round_test_data): Add more tests.
22851 2015-04-28  Mark Wielaard  <mjw@redhat.com>
22853         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
22855 2015-04-27  David S. Miller  <davem@davemloft.net>
22857         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
22858         __tls_get_addr.
22859         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
22861 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
22863         [BZ#18333]
22864         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
22866 2015-04-27  Florian Weimer  <fweimer@redhat.com>
22868         [BZ#18333]
22869         * time/tzset.c (parse_tzname): Return error on memory allocation
22870         failure.
22871         * test-skeleton.c (struct temp_name_list): Change type of name
22872         member to non-const.
22873         (add_temp_file): Create a copy of the file name.
22874         (delete_temp_files): Deallocate memory.
22875         (create_temp_file): Add comment.
22877 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22879         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
22880         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
22882 2015-04-24  Roland McGrath  <roland@hack.frob.com>
22884         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
22885         * sysdeps/arm/configure: Regenerated.
22887 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22889         [BZ #17715]
22890         * time/tzfile.c (__tzfile_read): Check for large values of
22891         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
22892         * time/tzset.c (__tzstring_len): New function, based on the old
22893         __tzstring function.
22894         (__tzstring): Call __tzstring_len.
22895         (parse_tzname): New helper function extracted from
22896         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
22897         the input string.
22898         (parse_offset): New helper function extracted from
22899         __tzset_parse_tz.  Replace switch with fallthrough with
22900         initialization before sscanf.
22901         (parse_rule): Likewise.
22902         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
22903         new-style function definition.
22904         * timezone/Makefile (tests): Add tst-tzset.
22905         (tst-tzset.out): Dependencies on time zone files.
22906         (tst-tzset-ENV): Set TZDIR.
22907         (testdata/XT%): Copy crafted time zone files.
22908         * timezone/README: Mention crafted time zone files.
22909         * timezone/testdata/XT1, timezone/testdata/XT2,
22910         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
22911         files.
22912         * timezone/tst-tzset.c: New test.
22914 2015-04-24  Florian Weimer  <fweimer@redhat.com>
22916         * Makeconfig (+gccwarn): Remove -Winline.
22918 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22920         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
22922 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
22924         * NEWS: Mention sysconf() cache information support for s390.
22925         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
22927 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
22929         * math/k_casinh.c (__kernel_casinh): Use __copysign.
22930         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
22931         (__nearbyint): Likewise.
22932         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
22933         (copysignl): Likewise.
22935 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
22937         [BZ #18287]
22938         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
22939         based on padding.  (CVE-2015-1781)
22941 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22943         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
22944         libc-vdso.h.
22945         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
22946         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
22947         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
22948         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
22949         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
22950         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
22951         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
22952         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
22953         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22954         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
22955         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22956         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22957         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22958         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
22959         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
22960         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
22961         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
22962         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
22963         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
22964         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
22965         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
22966         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
22967         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
22969 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
22971         * stdlib/setenv.c (__add_to_environ):
22972         Dump core quickly if setenv (..., NULL, ...) is called.
22973         This time, do it the right way, and pacify GCC with a pragma.
22975 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22977         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
22978         IMAP->l_prev cannot be null, and #if out the code for the contrary
22979         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
22980         believe that NS (&_dl_ns[NSID]) could point outside the array.
22982         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
22983         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
22984         before using NSID as an index.
22986 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
22988         [BZ #17825]
22989         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
22990         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
22991         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22993 2015-04-17  Roland McGrath  <roland@hack.frob.com>
22995         Add preliminary port to Google Native Client on ARM.
22996         * abi-tags (.*-.*-nacl.*): New entry.
22997         * sysdeps/arm/nacl: New directory.
22998         * sysdeps/nacl: New directory.
23000 2015-04-16  David S. Miller  <davem@davemloft.net>
23002         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
23003         lowlevellock-futex.h
23005 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
23007         * sysdeps/tile/configure.ac: New file.
23008         * sysdeps/tile/configure: Regenerated.
23010 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23012         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
23013         conditionals for weak_alias and libc_hidden_weak.
23014         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23015         libc_hidden_weak and weak_alias.
23016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23017         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23018         and weak_alias for static one.
23020 2015-04-15  David S. Miller  <davem@davemloft.net>
23022         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23024 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23026         [BZ #18206]
23027         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23028           Use signed comparision instead of substraction to avoid
23029           overflow bug.
23030         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23031           Take the sign of ret.
23032         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23033           Do not expect precise return values. Only the sign matters.
23034         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23035         * wcsmbs/test-wcsncmp.c: New File.
23036         * string/test-strncmp.c: Add wcsncmp support.
23038 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23040         [BZ #6792]
23041         * math/w_log1p.c: New file.
23042         * math/w_log1pf.c: Likewise.
23043         * math/w_log1pl.c: Likewise.
23044         * math/Makefile (libm-calls): Add w_log1p.
23045         * math/s_log1pl.c (log1pl): Remove weak_alias.
23046         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23047         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23048         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23049         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23050         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23051         [NO_LONG_DOUBLE] (log1pl): Likewise.
23052         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23053         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23054         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23055         (log1p): Remove long_double_symbol.
23056         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23057         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23058         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23059         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23060         remove weak_alias for corresponding log1p function.
23061         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23062         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23063         * sysdeps/ia64/fpu/w_log1p.c: New file.
23064         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23065         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23066         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23068 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23070         [BZ #18247]
23071         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23072         decimal exponent by 1.
23073         * stdlib/tst-strtod-round-data: Add more tests.
23074         * stdlib/tst-strtod-round.c (tests): Regenerated.
23076 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23078         * math/auto-libm-test-in: Add more tests of clog and clog10.
23079         * math/auto-libm-test-out: Regenerated.
23080         * sysdeps/i386/fpu/libm-test-ulps: Update.
23081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23083 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23085         * Makeconfig (module-cppflags): Exclude all .v.i files.
23086         (skip-module-cppflags): Variable removed.
23088         * configure.ac (libc_config_ok): Initialize before reading
23089         preconfigure scripts, not after.
23090         * configure: Regenerated.
23092         * test-skeleton.c (TIMEOUT): Move #define to top level.
23093         (main): Grok environment variable TEST_DIRECT.  If set, print
23094         test expectation details into that file and then behave as if
23095         given --direct.
23097 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23099         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23100         warning on 32-bit.
23102 2015-04-08  David S. Miller  <davem@davemloft.net>
23104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23106 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23108         * math/auto-libm-test-in: Add more tests of atanh.
23109         * math/auto-libm-test-out: Regenerated.
23110         * sysdeps/i386/fpu/libm-test-ulps: Update.
23111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23113         * math/auto-libm-test-in: Add more tests of atan.
23114         * math/auto-libm-test-out: Regenerated.
23115         * sysdeps/i386/fpu/libm-test-ulps: Update.
23116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23118 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23120         * elf/pldd.c (main): Rewrite to use struct
23121         scratch_buffer instead of extend_alloca.
23122         * elf/pldd-xx.c (find_maps): Likewise.
23123         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23124         <alloca.h>.
23125         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23126         scratch_buffer instead of extend_alloca.
23127         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23128         grp/compat-initgroups.c.
23129         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23130         Rewrite to use struct scratch_buffer instead of extend_alloca.
23131         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23132         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23134 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23136         * math/auto-libm-test-in: Add more tests of cbrt.
23137         * math/auto-libm-test-out: Regenerated.
23138         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23140         * math/auto-libm-test-in: Add more tests of cabs.
23141         * math/auto-libm-test-out: Regenerated.
23142         * sysdeps/i386/fpu/libm-test-ulps: Update.
23143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23145         [BZ #18210]
23146         [BZ #18211]
23147         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23148         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23149         computations.
23150         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23151         clog10.
23152         * math/auto-libm-test-out: Regenerated.
23153         * sysdeps/i386/fpu/libm-test-ulps: Update.
23154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23156         [BZ #18197]
23157         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23158         (atan): Set FE_TONEAREST mode for internal computations.
23159         * math/auto-libm-test-in: Add more tests of atan.
23160         * math/auto-libm-test-out: Regenerated.
23162 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23164         [BZ #17930]
23165         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23167 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23169         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23171 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23173         * include/scratch_buffer.h: New file.
23174         * malloc/scratch_buffer_grow.c: Likewise.
23175         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23176         * malloc/scratch_buffer_set_array_size.c: Likewise.
23177         * malloc/tst-scratch_buffer.c: Likewise.
23178         * malloc/Makefile (routines): Add scratch_buffer_grow.
23179         (tests): Add test case.
23180         * malloc/Versions (GLIBC_PRIVATE): Export
23181         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23182         __libc_scratch_buffer_set_array_size.
23184 2015-04-06  Richard Henderson  <rth@redhat.com>
23186         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23187         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23189         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23190         unsigned int before printing.
23192 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23194         [BZ #17596]
23195         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23196         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23198 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23200         * include/libc-internal.h (libc_max_align_t): Define.
23202 2015-04-02  Andreas Schwab  <schwab@suse.de>
23204         [BZ #16850]
23205         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23207 2015-04-02  Mel Gorman  <mgorman@suse.de>
23209         [BZ #17195]
23210         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23211         as well as the main arena.
23213 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23215         [BZ #18185]
23216         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23217         sharing L2 cache to 2 for Silvermont/Knights Landing.
23219 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23221         [BZ #17711]
23222         * config.make.in (have-protected-data): New.
23223         * configure.ac: Check linker support for protected data symbol.
23224         * configure: Regenerated.
23225         * elf/Makefile (modules-names): Add tst-protected1moda and
23226         tst-protected1modb if $(have-protected-data) is yes.
23227         (tests): Add tst-protected1a and tst-protected1b if
23228         $(have-protected-data) is yes.
23229         ($(objpfx)tst-protected1a): New.
23230         ($(objpfx)tst-protected1b): Likewise.
23231         (tst-protected1modb.so-no-z-defs): Likewise.
23232         * elf/tst-protected1a.c: New file.
23233         * elf/tst-protected1b.c: Likewise.
23234         * elf/tst-protected1mod.h: Likewise.
23235         * elf/tst-protected1moda.c: Likewise.
23236         * elf/tst-protected1modb.c: Likewise.
23238 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23240         [BZ #17711]
23241         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23242         indicates it is called from do_lookup_x on relocation against
23243         protected data, skip the data definion in the executable from
23244         copy reloc.
23245         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23246         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23247         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23248         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23249         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23250         otherwise to 0.
23251         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23252         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23253         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23254         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23255         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23256         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23258 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23260         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23261         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23263 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23265         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23266         THREAD_SETMEM_NC.
23267         * sysdeps/x86_64/nptl/tls.h: Ditto.
23269 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23271         * dlfcn/tststatic.c (main): Converted to ...
23272         (do_test): ... this.
23273         (TEST_FUNCTION): New macro.
23274         Include test-skeleton.c.
23276 2015-03-26  Alan Modra  <amodra@gmail.com>
23278         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23279         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23280         zero for undefined weak.
23281         (elf_machine_plt_conflict): Similarly.
23283 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23285         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23286         atanh.
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         * math/auto-libm-test-in: Add another test of asin.
23292         * math/auto-libm-test-out: Regenerated.
23293         * sysdeps/i386/fpu/libm-test-ulps: Update.
23294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23297         Remove macro.
23298         (LLL_EBX_REG): Likewise.
23299         (LLL_ENTER_KERNEL): Likewise.
23301         * math/auto-libm-test-in: Add more tests of asin.
23302         * math/auto-libm-test-out: Regenerated.
23303         * sysdeps/i386/fpu/libm-test-ulps: Update.
23304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23306         [BZ #18138]
23307         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23308         libc_do_syscall_args): New structure.
23309         (INTERNAL_SYSCALL_MAIN_0): New macro.
23310         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23311         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23312         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23313         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23314         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23315         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23316         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23317         Replace conditional definitions by conditional definitions of ....
23318         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23319         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23320         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23321         (libpthread-sysdep_routines): Add libc-do-syscall.
23322         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23323         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23324         to __NR_futex not 240.
23326 2015-03-25  Alan Modra  <amodra@gmail.com>
23328         * NEWS: Advertise TLS optimization.
23329         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23330         (DT_PPC_NUM): Increment.
23331         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23332         (CHECK_STATIC_TLS): Use here.
23333         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23334         TLS descriptors.
23335         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23336         * sysdeps/powerpc/dl-tls.c: New file.
23337         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23338         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23339         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23340         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23345 2015-03-25  Alan Modra  <amodra@gmail.com>
23347         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23348         for overlapping .opd entries" to "support...".
23349         * sysdeps/powerpc/powerpc64/configure: Regenerate
23351 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23353         * math/auto-libm-test-in: Add more tests of acos.
23354         * math/auto-libm-test-out: Regenerated.
23355         * sysdeps/i386/fpu/libm-test-ulps: Update.
23356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23358         * math/auto-libm-test-in: Add more tests of expm1.
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-24  Joseph Myers  <joseph@codesourcery.com>
23365         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23366         * math/auto-libm-test-out: Regenerated.
23367         * sysdeps/i386/fpu/libm-test-ulps: Update.
23368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23370         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23373         * math/auto-libm-test-in: Add more tests of log2.
23374         * math/auto-libm-test-out: Regenerated.
23375         * sysdeps/i386/fpu/libm-test-ulps: Update.
23376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23378 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23380         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23381         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23382         _IO_IS_APPENDING bit in READ_WRITE instead.
23384 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23386         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23387         (__determine_cpumask_size): Replace extend_alloca with a
23388         variable-length array.  Do not treat res == 0 as an error.
23390 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23392         [BZ #18100]
23393         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23394         and integer overflow.
23395         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23396         (main): Add integer overflow tests.
23397         * manual/pattern.texi (Calling Wordexp): Document additional use
23398         for WRDE_SYNTAX.
23400 2015-03-23  Alan Modra  <amodra@gmail.com>
23402         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23403         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23404         and false branch of conditional.
23405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23406         Likewise.
23408 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23410         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23411         libc-modules.h
23412         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23413         unused declaration of _hurd_intr_rpc_msg_in_trap.
23414         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23415         defined instead of whether it is non-zero.
23416         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23417         input constraint instead of both input and output constraint.  Use ecx
23418         clobber instead of %ecx.
23419         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23420         mutex_unlock): Use a statement expression instead of an expression list.
23421         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23422         type to vm_size_t instead of vm_address_t.
23423         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23424         defined instead of whether it is non-zero.
23425         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23426         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23427         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23428         comparisons with mapaddr.
23429         * nscd/nscd-client.h: Include <time.h>.
23430         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23431         9th parameter to __vm_region instead of int.
23432         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23433         * scripts/check-local-headers.sh (exclude): Add device/,
23434         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23435         cthreads.h.
23437 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23439         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23440         to account for alignment padding.
23441         * sysdeps/arm/memmove.S: Likewise.
23443 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23445         * sysdeps/unix/sysv/linux/generic/README: New file.
23447 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23449         [BZ #18138]
23450         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23451         (futex_abstimed_wait)
23452         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23453         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23454         of lll_futex_timed_wait.
23456 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23458         [BZ #17542]
23459         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23461 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23463         [BZ #17090]
23464         [BZ #17620]
23465         [BZ #17621]
23466         [BZ #17628]
23467         * NEWS: Update.
23468         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23469         entries with Static TLS too.  Skip entries past the end of the
23470         allocated DTV, from Alan Modra.
23471         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23472         Static TLS DTV entry set up from...
23473         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23474         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23475         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23476         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23477         for Static TLS.
23478         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23479         that the slot we find is associated with the given map before
23480         using its generation count.
23481         * nptl_db/db_info.c: Include ldsodefs.h.
23482         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23483         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23484         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23485         (link_map::l_tls_offset): New struct field.
23486         (dtv_t::counter): Likewise.
23487         (rtld_global): New struct.
23488         (_rtld_global): New rtld variable.
23489         (dl_tls_dtv_slotinfo_list): New rtld global field.
23490         (dtv_slotinfo_list): New struct.
23491         (dtv_slotinfo): Likewise.
23492         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23493         (td_lookup): Rename to...
23494         (td_mod_lookup): ... this.  Use new mod parameter instead of
23495         LIBPTHREAD_SO.
23496         * nptl_db/td_thr_tlsbase.c: Include link.h.
23497         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23498         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23499         addresses even if the DTV is out of date or missing them.
23500         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23501         index zero-length arrays.
23502         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23503         (td_lookup): Make it a macro implemented in terms of...
23504         (td_mod_lookup): ... this declaration.
23505         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23506         (DB_MAIN_VARIABLE): Likewise.
23508 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23510         [BZ #18134]
23511         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23513 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23515         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23517 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23519         [BZ #18128]
23520         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23521         (atomic_add, atomic_increment_and_test)
23522         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23524 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23526         * stdlib/setenv.c (__add_to_environ):
23527         Dump core quickly if setenv (..., NULL, ...) is called.
23529 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23531         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23532         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
23533         all the necessary asm magic in one place.
23534         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
23535         using those.
23537 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
23539         [BZ #14906]
23540         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
23541         traced file mtime. Use consistent log message.
23542         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
23543         (register_traced_file): Call install_watches. Always set mtime.
23544         (invalidate_cache): Iterate over all trace files. Call install_watches.
23545         (inotify_check_files): Don't inline. Handle watching parent
23546         directories and configuration file movement in and out.
23547         (handle_inotify_events): New function.
23548         (main_loop_poll): Call handle_inotify_events.
23549         (main_loop_epoll): Likewise.
23550         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
23551         (struct traced_file): Use array of inotify fds. Add parent directory,
23552         and basename.
23553         (struct database_dyn): Remove unused file_mtime.
23554         (init_traced_file): New inline function.
23555         (define_traced_file): New macro.
23556         * nss/nss_db/db-init.c: Use define_traced_file.
23557         (_nss_db_init): Use init_traced_file.
23558         * nss/nss_files/files-init.c: Use define_traced_file.
23559         (_nss_files_init): Use init_traced_file.
23561 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
23563         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
23564         [_LIBC]: Do not include <stdlib.h>.
23565         [!_LIBC] (abort): Remove declaration.
23566         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
23567         _FP_STATIC_ASSERT instead of conditionally calling abort.
23568         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
23569         (_FP_EXTEND_CNAN): Likewise.
23570         (FP_TRUNC): Likewise.
23571         (__FP_CLZ): Likewise.
23572         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
23574 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
23576         * manual/string.texi (XPG basename): Fix prototype.
23578 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23580         [BZ #18080]
23581         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
23582         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23583         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
23584         (__setcontext): Likewise.
23585         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
23586         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
23587         Call rt_sigprocmask syscall one time to set new signal mask
23588         and retrieve the current signal mask instead of two calls.
23589         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
23590         (__swapcontext): Likewise.
23591         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
23592         * stdlib/tst-setcontext2.c: New file.
23594 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
23596         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23598 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
23600         [BZ #18093]
23601         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
23602         the wrong size.
23604 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23606         [BZ #18043]
23607         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
23609 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23611         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
23612         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
23613         Remove define.
23614         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
23615         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
23616         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
23617         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
23618         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
23619         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
23620         define.
23621         * nptl_db/td_symbol_list.c (td_lookup): Remove
23622         HAVE_ASM_GLOBAL_DOT_NAME code.
23623         * sysdeps/powerpc/powerpc64/configure.ac: Remove
23624         HAVE_ASM_GLOBAL_DOT_NAME check.
23625         * sysdeps/powerpc/powerpc64/configure: Regenerate.
23626         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
23627         (DOT_LABEL): Remove define.
23628         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
23629         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
23630         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
23631         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
23632         (__TLS_GET_ADDR): Likewise.
23633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
23634         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
23636 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
23638         [BZ #18111]
23639         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
23640         (_FPU_SETCW): Initialize cw from fpsr before storing.
23641         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
23642         (fesetexceptflag): Rewrite using fpu_control.h.
23643         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
23645 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
23647         [BZ #18110]
23648         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
23649         asms.
23650         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23652 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
23654         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
23655         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
23656         abort.
23657         (_FP_FMA): Likewise.
23658         (_FP_DIV): Likewise.
23660 2015-03-10  Roland McGrath  <roland@hack.frob.com>
23662         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
23663         with 0 in that case.
23664         * Makefile (summarize-tests): New canned sequence, factored out of
23665         commands for targets tests and xtests.  Display summary lines that
23666         don't start with PASS: or XFAIL: rather than ones that do start with
23667         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
23668         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
23669         do start with ERROR: or FAIL:.
23670         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
23671         (except for [$(build-shared) = yes]).
23672         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
23673         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
23674         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
23675         * nptl/Makefile: Revert 2015-03-04 changes.
23676         [$(CXX) empty] (tests-unsupported): New variable.
23677         * debug/Makefile: Likewise.
23679         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
23680         gnulib file.  Replace __attribute with __attribute__ throughout.
23682 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
23684         * sysdeps/hppa/fpu/libm-test-ulps: Update.
23686 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23688         [BZ #18104]
23689         * math/auto-libm-test-in: Add another test of pow.
23690         * math/auto-libm-test-out: Regenerated.
23692 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23694         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
23695         $(config-cflags-nofma).
23697 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
23699         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
23700         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
23701         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
23702         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
23703         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
23704         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
23705         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
23706         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
23707         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
23708         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
23709         Add comment on closing #endif.
23711 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23713         * posix/wordexp.c (CHAR_IN_SET): New macro.
23714         (parse_param): Use it.
23716 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23718         * sysdeps/powerpc/fpu/libm-test-ulps: update.
23720 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23722         [BZ #18043]
23723         * posix/wordexp.c (parse_param): Fix buffer overflow.
23724         * posix/wordexp-test.c (test_case): Add test case.
23726 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23728         [BZ #18042]
23729         * posix/wordexp.c (parse_backtick): Fix off-by-one.
23730         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
23732 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
23734         [BZ #18043]
23735         * posix/wordexp-test.c (test_case): Add test for BZ #18043
23736         (do_bz18043): Delete.
23737         (at_page_end): New.
23738         (testit): Refactor to have words at the edge of unreadable page.
23740 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23742         [BZ #16734]
23743         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
23744         Cleanup read-only streams as well.
23745         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
23747 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23749         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
23750         <bits/libc-lockP.h>
23752 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
23754         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
23755         on [__KERNEL__].
23756         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
23757         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
23758         * soft-fp/op-common.h (_FP_DECL): Likewise.
23760 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23762         * elf/ifuncdep2.c (global): Replace
23763         __attribute__((visibility("protected"))) with
23764         asm (".protected global").
23765         * elf/ifuncmod1.c (global): Likewise.
23766         * elf/ifuncmod5.c (global): Likewise.
23768 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
23770         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
23771         <asm/sfp-machine.h> instead of <sfp-machine.h>.
23773 2015-03-06  Roland McGrath  <roland@hack.frob.com>
23775         * manual/install.texi (Configuring and compiling):
23776         Document test-wrapper-env-only.
23777         * INSTALL: Regenerated.
23779 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23781         [BZ #18043]
23782         * posix/wordexp.c (parse_param): Fix buffer overflow.
23783         * posix/wordexp-test.c (do_bz18043): Add test case.
23785 2015-03-06  Vincent Bernat  <vincent@bernat.im>
23787         * time/tst-strptime2.c (do_test): Ensure failing tests are
23788         reported correctly.
23789         * time/tst-strptime3.c (do_test): Likewise.
23791 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
23793         Fix aio_error thread-safety.
23794         * sysdeps/pthread/aio_error.c: New file
23795         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
23796         synchronization.
23798 2015-03-06  Florian Weimer  <fweimer@redhat.com>
23800         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
23801         (group_number, vfprintf): Use it.
23802         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
23803         (JUMP, REF): Use it.
23804         (WORK_BUFFER_SIZE): New enum constant.
23805         (process_arg, vfprintf): Use it.
23807 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
23809         * manual/errno.texi (Error Messages): Complete example function
23810         by adding missing #define.
23811         (program_invocation_name): Add statement indicating GNU
23812         extension and reference which header file declares the variable.
23813         (program_invocation_short_name): Likewise.
23815 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
23817         * manual/errno.texi (Error Messages): Delete strerror ISO C89
23818         compatibility note.
23820 2015-03-05  Roland McGrath  <roland@hack.frob.com>
23822         * Makeconfig (test-wrapper-env-only): New variable.
23823         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
23824         then use that with $(test-wrapper-env-only) rather than using
23825         $(test-wrapper-env) $(run-program-env) $($*-ENV).
23827 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
23829         [BZ #18082]
23830         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
23831         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
23832         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
23833         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
23834         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
23835         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
23836         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
23837         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
23838         Likewise.
23839         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
23840         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
23841         Likewise.
23842         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
23843         Likewise.
23844         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
23845         Likewise.
23846         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
23847         Likewise.
23848         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
23849         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
23850         Likewise.
23851         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
23852         Likewise.
23853         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
23854         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
23856 2015-03-04  Roland McGrath  <roland@hack.frob.com>
23858         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
23859         (ETH_ALEN): New macro.
23860         (struct ether_addr): Use it for length of ether_addr_octet.
23862         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
23863         (setdb): Don't call __nss_configure_lookup for "rpc".
23864         (do_test): Don't call test_rpc.
23865         (output_rpcent, test_rpc): Functions moved ...
23866         * sunrpc/test-rpcent.c: ... to this new file.
23867         * sunrpc/Makefile (tests): Add it.
23869         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
23870         __xpg_sigpause.
23871         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
23872         * nptl/tst-signal6.c: Likewise.
23873         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
23874         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
23876         * configure.ac (libc_cv_cxx_link_ok): New check.
23877         Reset CXX to empty if it fails to link.
23878         * configure: Regenerated.
23879         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
23880         bug-atexit3-lib only if $(CXX) is nonempty.
23881         * nptl/Makefile (tests): Likewise for tst-cancel24.
23882         (tests, tests-static): Likewise for tst-cancel24-static.
23883         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
23884         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
23885         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
23886         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
23888 2015-03-04  Andreas Schwab  <schwab@suse.de>
23890         [BZ #17631]
23891         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
23892         for non-GCC compilers.
23893         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23894         Likewise.
23896 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23898         [BZ #17776]
23899         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
23900         integer before bitwise and assembly operations.
23901         (feclearexcept): Likewise.
23902         * math/test-fenvinline.c: New file.
23903         * math/Makefile: Add test-fenvinline test.
23905 2015-03-03  Alan Modra  <amodra@gmail.com>
23907         [BZ #16512]
23908         * scripts/localplt.awk: Strip off symbol version.
23909         * NEWS: Mention bug fix.
23911 2015-03-02  Roland McGrath  <roland@hack.frob.com>
23913         * sysdeps/pthread/timer_routines.c
23914         (timer_free_list, thread_free_list, thread_active_list): Make static.
23916 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
23918         [BZ #17779]
23919         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23920         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23921         Undefine.
23922         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23923         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23924         Likewise.
23925         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23926         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
23927         Likewise.
23929 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
23931         [BZ #18036]
23932         * posix/fnmatch_loop.c (END): Detect invalid pattern.
23933         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
23935 2015-03-02  Andreas Schwab  <schwab@suse.de>
23937         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
23938         variable name.
23940 2015-03-02  Florian Weimer  <fweimer@redhat.com>
23942         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
23943         Return error status.
23945 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
23947         [BZ #15969]
23948         * locale/findlocale.c (_nl_find_locale): Introduce const
23949         version of loc_name and drop unsafe type casts.
23951 2015-02-27  Roland McGrath  <roland@hack.frob.com>
23953         * dlfcn/tststatic2.c (main): Converted to ...
23954         (do_test): ... this.
23955         (TEST_FUNCTION): New macro.
23956         Include test-skeleton.c.
23958 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
23960         [BZ #17711]
23961         * elf/Makefile (tests): Add vismain only if PIE is enabled.
23962         (tests-pie): Add vismain.
23963         (CFLAGS-vismain.c): New.
23964         * elf/vismain.c: Add comments for PIE requirement.
23966 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23968         [BZ #18046]
23969         [BZ #18047]
23970         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
23971         0x1p-56L as threshold for just returning the argument.
23972         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23973         0x1p-32L as threshold for just returning the argument.
23974         * math/auto-libm-test-in: Add more tests of atanh.
23975         * math/auto-libm-test-out: Regenerated.
23976         * sysdeps/i386/fpu/libm-test-ulps: Update.
23977         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
23979 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23981         * string/bcopy.c (bcopy): Call memmove for performance.
23983 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
23985         * string/bzero.c (__bzero): Call memset for performance.
23987 2015-02-27  John David Anglin  <dave.anglin@bell.net>
23989         [BZ #18068]
23990         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
23991         to 00100000.
23993 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
23995         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
23997 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
23999         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24000         (__kernel_standard): Use CSTR macro when setting exc.name.
24001         * sysdeps/ieee754/Makefile [$(subdir) = math]
24002         (CFLAGS-k_standard.c): Remove variable.
24004         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
24005         setting p and q from "else if" to "else".
24006         (qzero): Likewise.
24007         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
24008         (qone): Likewise.
24009         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24010         (qzerof): Likewise.
24011         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24012         (qonef): Likewise.
24013         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24014         (qzero): Likewise.
24015         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24016         (qone): Likewise.
24018         [BZ #18038]
24019         [BZ #18039]
24020         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24021         return pi/2 for arguments below 0x1p-113L.
24022         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24023         return pi/2 for arguments below 0x1p-106L.
24024         * math/auto-libm-test-in: Add more tests of acos.
24025         * math/auto-libm-test-out: Regenerated.
24027         [BZ #16351]
24028         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24029         (MO): New macro.
24030         (__ieee754_asin): Force underflow exception for results with small
24031         absolute value.
24032         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24033         (MO): New macro.
24034         (__ieee754_asinf): Force underflow exception for results with
24035         small absolute value.
24036         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24037         (__ieee754_asin): Force underflow exception for results with small
24038         absolute value.
24039         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24040         (__ieee754_asinf): Force underflow exception for results with
24041         small absolute value.
24042         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24043         (__ieee754_asinl): Force underflow exception for results with
24044         small absolute value.
24045         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24046         (__ieee754_asinl): Force underflow exception for results with
24047         small absolute value.
24048         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24049         (__ieee754_asinl): Force underflow exception for results with
24050         small absolute value.
24051         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24052         Include <math.h>.
24053         * math/auto-libm-test-in: Do not mark underflow exceptions as
24054         possibly missing for bug 16351.
24055         * math/auto-libm-test-out: Regenerated.
24057         [BZ #18030]
24058         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24059         of power of 2 down when low part has opposite sign.
24060         * math/libm-test.inc (logb_test_data): Add more tests.
24062 2015-02-26  Andreas Schwab  <schwab@suse.de>
24064         [BZ #18032]
24065         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24066         over collating symbol inside a bracket expression.  Minor cleanup.
24067         * posix/tst-fnmatch3.c (do_test): Add test case.
24069 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24071         [BZ #18029]
24072         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24073         Adjust exponent of power of 2 down when low part has opposite
24074         sign.
24075         * math/libm-test.inc (ilogb_test_data): Add more tests.
24077 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24079         [BZ #15969]
24080         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24081         the previous change.
24083         [BZ #15969]
24084         * locale/findlocale.c (_nl_find_locale): Retry archive search
24085         after alias expansion.
24087 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24089         * iconv/tst-iconv3.c (main): Converted to ...
24090         (do_test): ... this.
24091         (TEST_FUNCTION): New macro.
24092         Include test-skeleton.c.
24094         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24095         (convert): Make function static.
24096         (test_unalign): Likewise.  Add const to argument pointee types.
24097         (main): Replace with static function do_test.
24098         Print "Succeeded." only if RET is zero.
24099         (TEST_FUNCTION): New macro.
24100         Include test-skeleton.c.
24102         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24103         returns a null pointer.
24105 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24107         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24108         to __memcpy_ppc only for static builds.
24110 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24112         [BZ #18020]
24113         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24114         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24115         * math/auto-libm-test-in: Add more tests of asinh.
24116         * math/auto-libm-test-out: Regenerated.
24117         * sysdeps/i386/fpu/libm-test-ulps: Update.
24118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24120 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24122         [BZ #15850]
24123         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24124         and ip6_mtuinfo definitions here.
24125         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24126         in this define too.  Update comment.
24128 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24130         * elf/sprof.c (load_shobj): Tweak error message to match others.
24132 2015-02-24  Kevin Easton  <kevin@guarana.org>
24134         [BZ #16145] (partial fix)
24135         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24136         to reduce lock contention.
24138 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24140         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24141         (struct timex): Update time comment.
24142         (ADJ_SETOFFSET): Define.
24144 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24146         [BZ #18019]
24147         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24148         2**56 not 2**28 as threshold for log (2x) formula.
24149         * math/auto-libm-test-in: Add more tests of acosh.
24150         * math/auto-libm-test-out: Regenerated.
24151         * sysdeps/i386/fpu/libm-test-ulps: Update.
24152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24154 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24156         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24157         parenthesis around the buf assignment.
24158         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24160 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24162         [BZ #16783]
24163         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24164         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24165         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24166         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24167         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24168         * math/libm-test.inc (scalb_test_data): Add more tests.
24170 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24172         [BZ #17916]
24173         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24174         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24176 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24178         [BZ #17523]
24179         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24180         * io/bits/fcntl2.h (open): Use it.
24181         (openat): Likewise.
24182         * io/open.c (__libc_open): Likewise.
24183         * io/open64.c (__libc_open64): Likewise.
24184         * io/open64_2.c (__open64_2): Likewise.
24185         * io/open_2.c (__open_2): Likewise.
24186         * io/openat.c (__openat): Likewise.
24187         * io/openat64.c (__openat64): Likewise.
24188         * io/openat64_2.c (__openat64_2): Likewise.
24189         * io/openat_2.c (__openat_2): Likewise.
24190         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24191         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24192         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24193         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24194         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24195         (__open_nocancel): Likewise.
24196         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24197         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24198         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24200 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24202         [BZ #14841]
24203         * resolv/gethnamaddr.c (getanswer): Skip logging if
24204         RES_USE_DNSSEC is set.
24205         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24207 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24209         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24211 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24213         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24214         201304L, for Unicode 7.
24216 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24218         [BZ #17836]
24219         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24220         shared library.  Add gmon-start.os otherwise.
24221         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24222         $(objpfx)gmon-start.os if builing shared library.
24223         ($(objpfx)g$(static-start-installed-name)): Likewise.
24225 2015-02-23  Andreas Schwab  <schwab@suse.de>
24227         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24229 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24231         [BZ #17269]
24232         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24233         (enlarge_userbuf): Likewise.
24235 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24237         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24238         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24239         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24240         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24242 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24244         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24245         expression inside statement expression.
24247 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24249         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24250         <sysdeps/nptl/lowlevellock.h> and remove macros and
24251         functions that are now defined there.
24252         (SYS_futex): Remove.
24253         (lll_compare_and_swap): Remove.
24254         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24256 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24258         [BZ #17999]
24259         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24260         instead of scandirat.
24261         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24262         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24263         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24264         __scandirat.
24265         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24266         (__scandirat): Declare.  Use libc_hidden_proto.
24267         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24268         Remove variable.
24269         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24271 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24273         [BZ #15319]
24274         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24275         (MO): New macro.
24276         (__ieee754_atan2): For results with small absolute value, force
24277         underflow exception and remove excess range and precision from
24278         return value.
24279         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24280         (MO): New macro.
24281         (__ieee754_atan2f): For results with small absolute value, force
24282         underflow exception and remove excess range and precision from
24283         return value.
24284         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24285         (MO): New macro.
24286         (__atan): For results with small absolute value, force underflow
24287         exception and remove excess range and precision from return value.
24288         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24289         (MO): New macro.
24290         (__atanf): For results with small absolute value, force underflow
24291         exception and remove excess range and precision from return value.
24292         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24293         <math.h>.
24294         (__ieee754_atan2): Force underflow exception for results with
24295         small absolute value.
24296         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24297         <math_private.h>.
24298         (atan): Force underflow exception for results with small absolute
24299         value.
24300         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24301         (__atanf): Force underflow exception for results with small
24302         absolute value.
24303         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24304         <math.h>.
24305         (__atanl): Force underflow exception for results with small
24306         absolute value.
24307         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24308         (__atanl): Force underflow exception for results with small
24309         absolute value.
24310         * sysdeps/x86/fpu/bits/mathinline.h
24311         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24312         (__ieee754_atan2): Only define inline for long double.
24313         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24314         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24315         * math/auto-libm-test-in: Do not mark underflow exceptions as
24316         possibly missing for bug 15319.  Add more tests of atan2.
24317         * math/auto-libm-test-out: Regenerated.
24318         * math/libm-test.inc (casin_test_data): Do not mark underflow
24319         exceptions as possibly missing for bug 15319.
24320         (casinh_test_data): Likewise.
24321         * sysdeps/i386/fpu/libm-test-ulps: Update.
24323 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24325         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24326         * sysdeps/mips/bits/endian.h: Fix comments.
24328 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24330         [BZ #17996]
24331         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24332         (hdestroy_r): Likewise.
24333         (hsearch_r): Likewise.
24334         (__hcreate_r): Declare and use libc_hidden_proto.
24335         (__hdestroy_r): Likewise.
24336         (__hsearch_r): Likewise.
24337         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24338         (hcreate): Call __hcreate_r instead of hcreate_r.
24339         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24340         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24341         as weak alias of __hcreate_r.
24342         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24343         __hdestroy_r.
24344         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24345         __hsearch_r.
24346         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24347         Remove variable.
24348         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24349         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24350         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24351         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24353 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24355         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24356         arena_lock into a single arena_get.
24358 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24360         * dl-reloc.c: Inlucde libc-internal.h.
24361         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24362         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24363         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24364         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24365         (grow_heap): Likewise.
24366         * malloc/malloc.c: Include libc-internal.h.
24367         (do_check_malloc): Call powerof2.
24368         (sysmalloc): Use pagesize. Call ALIGN_UP.
24369         (systrim): Use pagesize.
24370         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24371         (__libc_valloc): Use pagesize.
24372         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24374 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24376         [BZ #17991]
24377         * include/sys/resource.h (__getrlimit64): Declare.  Use
24378         libc_hidden_proto.
24379         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24380         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24381         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24382         getrlimit64.
24383         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24384         __getrlimit64.
24385         [!getrlimit64] (getrlimit64): Define as weak alias of
24386         __getrlimit64.  Use libc_hidden_weak.
24387         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24388         using __getrlimit64 not __new_getrlimit64.
24389         (__GI_getrlimit64): Likewise.
24390         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24391         Likewise.
24392         (__GI_getrlimit64): Likewise.
24393         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24395         (getrlimit): Add __getrlimit64 alias.
24396         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24397         Likewise.
24398         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24399         Remove variable.
24400         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24401         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24403 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24405         * libio/fileops.c: Add missing sys/mman.h
24406         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24408 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24410         * manual/math.texi (Errors in Math Functions): Clarify goals
24411         regarding inexact and underflow exceptions.
24413 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24415         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24416         * sysdeps/mips/memset.S: Ditto.
24418 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24420         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24422 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24424         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24425         (__v1longjmp): Remove versioned symbol.
24426         (__v1siglongjmp): Remove alias and versioned symbol.
24427         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24428         (__v2siglongjmp): Likewise.
24430 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24432         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24434 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24436         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24438 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24440         [BZ #17987]
24441         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24442         zero result does not depend on the sign resulting from
24443         subtraction.
24444         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24445         Likewise.
24446         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24447         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24448         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24449         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24450         * math/libm-test.inc (remquo_test_data): Add more tests.
24452 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24454         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24455         Problem reported by J William Piggott.
24457 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24459         [BZ #17978]
24460         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24461         products 4 * y and 2 * y where those would overflow.
24462         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24463         Likewise.
24464         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24465         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24466         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24467         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24468         * math/libm-test.inc (remquo_test_data): Add more tests.
24470         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24472         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24473         [defined _COMPILING_NEWLIB].
24474         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24475         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24477         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24478         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24480 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24482         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24483         acquired.
24485 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24487         [BZ #17792]
24488         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24489         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24490         HOST_STACK_END_ADDR): Likewise.
24492 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24494         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24495         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24496         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24498 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24500         * sysdeps/generic/c++-types.data: New file.
24501         * sysdeps/generic/ld.abilist: New file.
24502         * sysdeps/generic/libBrokenLocale.abilist: New file.
24503         * sysdeps/generic/libanl.abilist: New file.
24504         * sysdeps/generic/libc.abilist: New file.
24505         * sysdeps/generic/libcrypt.abilist: New file.
24506         * sysdeps/generic/libdl.abilist: New file.
24507         * sysdeps/generic/libm.abilist: New file.
24508         * sysdeps/generic/libpthread.abilist: New file.
24509         * sysdeps/generic/libresolv.abilist: New file.
24510         * sysdeps/generic/librt.abilist: New file.
24512 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24514         [BZ #17569]
24515         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24516         Compute absolute value of x as modified by fmod, not original
24517         value of x.
24518         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24519         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24520         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24521         RUN_TEST_ffI_f1_mod8.
24522         (remquo_test_data): Add more tests.
24524 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24526         * sysdeps/init_array/pt-crti.S: New file.
24528 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24530         [BZ #17967]
24531         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24532         __builtin_fmaf instead of relying on contraction of a * b + c.
24534 2015-02-12  J William Piggott  <elseifthen@gmx.com>
24536         [BZ #17969]
24537         * manual/time.texi: correct the zoneinfo path in the TZ Variable
24538         node.
24540 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24542         [BZ #17964]
24543         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
24544         __builtin_fma instead of relying on contraction of a * b + c.
24546 2015-02-12  Roland McGrath  <roland@hack.frob.com>
24548         * Makeconfig (ASFLAGS): Add -Werror=undef.
24549         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
24550         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
24551         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
24553         * Makeconfig (after-link): New variable.
24554         (+link-pie, +link-pie-tests): Use it.
24555         (+link-static, +link-static-tests): Likewise.
24556         (+link, +link-tests): Likewise.
24557         * Makerules (build-module, build-module-asneeded): Likewise.
24558         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
24559         Likewise.
24560         * elf/Makefile ($(objpfx)ld.so): Likewise.
24562 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
24564         [BZ #17965]
24565         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
24566         both struct timeval and struct timespec.
24568 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
24570         [BZ #16560]
24571         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24572         and redefine.
24573         (__ieee754_exp2l): Do not multiply small fractional parts by
24574         M_LN2l.
24575         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
24576         small argument.
24577         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24578         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24579         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
24580         * math/auto-libm-test-in: Add more tests of exp2.
24581         * math/auto-libm-test-out: Regenerated.
24583 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24585         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
24586         unaligned path.
24588 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24590         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
24591         little endian.
24593 2015-02-12  Andreas Schwab  <schwab@suse.de>
24595         [BZ #15790]
24596         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
24597         Filter out elision flags from value returned in kind.
24598         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
24599         * nptl/tst-pthread-mutexattr.c: New file.
24601 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24603         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
24604         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
24605         into gnu-gnu, and update comment to refer to abi-tags.
24607 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
24609         [BZ #15467]
24610         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
24611         (__sincos): Set errno to EDOM for infinite argument.
24612         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
24613         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
24614         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
24615         (__sincosl): Set errno to EDOM for infinite argument.
24616         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
24617         (__sincosl): Set errno to EDOM for infinite argument.
24618         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
24619         (__sincosl): Set errno to EDOM for infinite argument.
24620         * math/libm-test.inc (sincos_test_data): Test errno setting.
24622 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
24624         * string/strxfrm_l.c: Remove #define STRCMP.
24625         * string/strcoll_l.c: Remove #define STRLEN.
24626         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
24627         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
24629 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
24631         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
24632         * sysdeps/mips/mips32/sfp-machine.h: ... here.
24633         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
24634         * sysdeps/mips/mips64/Makefile: ... here.
24635         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
24636         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
24637         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
24638         * sysdeps/mips/mips64/sfp-machine.h: ... here.
24639         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
24640         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
24641         * sysdeps/mips/mips64/n64/Implies: Likewise.
24643 2015-02-10  Roland McGrath  <roland@hack.frob.com>
24645         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
24646         <sys/time.h>, <string.h>, and <errno.h>.
24647         (dest_offset, dest_address, value, zero): Remove unused variables.
24648         (ldouble): Remove typedef.
24649         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
24650         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
24651         1).  Fix code style.
24652         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
24653         (check): Function removed.
24654         (CHECK): New macro.
24655         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
24656         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
24657         Don't call set_sigaction_FP and remove_sigaction_FP here.
24658         (ldouble_test): Just use 'long double' as macro argument, no need for
24659         the 'ldouble' typedef.
24660         (do_test): Set up SIGFPE handler at start, using plain signal rather
24661         than sigaction.  Fix code style.
24663 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
24665         [BZ #17949]
24666         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
24667         jump label.
24669 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24671         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
24672         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24674         * sysdeps/powerpc/configure.ac: Remove file.
24675         * sysdeps/powerpc/configure: Likewise.
24677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24678         [sysdep_routines]: Remove wordcopy-power6 object.
24679         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24680         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
24681         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
24682         (__memmove_ppc32): Likewise.
24683         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
24684         file.
24685         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
24686         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
24687         Remove preprocessor.
24689         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
24690         [sysdep_routines]: Remove wide chars objects.
24691         [wcsmbs]: New rule for wide char objects.
24693         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24694         Remove wordcopy-power6 obejct.
24695         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
24696         Use local call for wordcopy and memcpy symbols.
24697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
24698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
24699         implementation for loader.
24700         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
24702         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24703         Remove wordcopy-power7 object.
24704         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
24705         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
24706         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
24707         (_wordcopy_fwd_dest_aligned): Likewise.
24708         (_wordcopy_bwd_aligned): Likewise.
24709         (_wordcopy_bwd_dest_aligned): Likewise.
24711         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
24712         Rewrite to call __memmove_ppc instead of include default
24713         implementation.
24715         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
24716         Remove wide chars objects.
24717         [wcsmbs]: New rule for wide char objects.
24719 2015-02-09  Andreas Schwab  <schwab@suse.de>
24721         [BZ #17912]
24722         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24723         in terms of __O_DIRECTORY.
24725 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24727         * time/getdate.c: Include <stdbool.h>.
24728         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
24729         call PTR_MANGLE.
24730         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
24731         PTR_DEMANGLE.
24733 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
24735         Add ersatz _Static_assert on older C hosts
24736         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
24737         pre-C11 C platform that is not known to support _Static_assert.
24739 2015-02-07  Richard Braun  <rbraun@sceen.net>
24741         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
24742         sigstate.
24743         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
24745 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24747         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
24748         priority against unexistent AIO_PRIO_DELTA_MAX.
24749         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
24750         instead of int.
24751         * misc/fchflags.c (fchflags): Likewise.
24752         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
24753         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
24754         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
24755         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
24756         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
24757         Declare macros.
24758         [__USE_MISC] (chflags, fchflags): Declare functions.
24759         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
24760         EINVAL when nfds is greater than FD_SETSIZE.
24761         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
24762         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
24763         45.
24764         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
24765         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
24766         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
24767         MACH_RCV_TIMED_OUT.
24768         * hurd/hurd/signal.h (_hurd_self_sigstate,
24769         _hurd_critical_section_lock, _hurd_critical_section_unlock):
24770         Explicit casts from void *.
24771         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
24772         * abi-tags: Rename gnu-gnu os into gnu.
24774         [BZ #4719]
24775         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
24776         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
24777         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
24778         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
24779         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
24780         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
24782         [BZ #17944]
24783         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
24784         duplicates ADDR->sun_path with sockaddr LEN limitation.
24785         * sysdeps/mach/hurd/connect.c: Include <string.h>
24786         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
24787         * sysdeps/mach/hurd/sendmsg.c: Likewise.
24788         * sysdeps/mach/hurd/sendto.c: Likewise.
24789         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
24790         implementing it by hand.
24792 2015-02-06  Roland McGrath  <roland@hack.frob.com>
24794         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
24795         Use sfi_breg on ldr.
24796         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
24797         Likewise.
24799         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
24800         it's defined.
24801         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
24802         Test SIGSETXID only if it's defined.
24804         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
24806         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
24807         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
24809         * nptl/tst-align2.c: Moved ...
24810         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
24811         * nptl/Makefile (tests): Remove tst-align2.
24812         * sysdeps/unix/sysv/linux/Makefile
24813         [$(subdir) = nptl] (tests): Add tst-align-clone.
24814         * nptl/tst-getpid1.c: Moved ...
24815         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
24816         * nptl/tst-getpid2.c: Moved ...
24817         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
24818         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
24819         * sysdeps/unix/sysv/linux/Makefile
24820         [$(subdir) = nptl] (tests): ... here.
24821         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
24822         * sysdeps/unix/sysv/linux/Makefile
24823         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
24825         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
24826         Drop trailing \n from perror argument.  Use return rather than exit.
24828         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
24829         on [SA_SIGINFO].
24830         * nptl/tst-cancel21.c (do_test): Likewise.
24831         * debug/tst-backtrace6.c: Include <signal.h> first thing.
24832         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
24833         [!SA_SIGINFO]: Make it a stub test.
24835         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
24836         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
24838         * posix/tst-getlogin.c: Move to ...
24839         * login/tst-getlogin.c: ... here.
24840         * posix/Makefile (tests): Move tst-getlogin to ...
24841         * login/Makefile (tests): ... here.
24843         * libio/tst-atime.c (do_test): Move local variables SV and E
24844         inside [ST_NOATIME] conditional.
24846         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
24848         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
24850         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
24851         (wait_code): New function replaces macro.
24852         Call nanosleep rather than syscall.
24854         * nptl/pt-system.c: Rewritten.  Put everything under
24855         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24856         Use IFUNC to redirect when possible.
24858         * nptl/pt-longjmp.c: Rewritten.  Put everything under
24859         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24860         Use IFUNC to redirect when possible.
24862         * nptl/pt-fork.c: Rewritten.  Put everything under
24863         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
24864         Use IFUNC to redirect when possible.
24865         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
24867         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
24868         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
24869         unconditionally nowadays.  This included the only reference to
24870         __vdso_clock_gettime that appears outside libc proper.
24871         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
24872         Remove version set (containing only __vdso_clock_gettime).
24873         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
24874         Add attribute_hidden.
24875         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
24876         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
24877         libc_hidden_data_def.
24878         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24879         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24881         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
24882         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
24883         setrpcent, and getrpcport to ...
24884         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
24885         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
24886         getrpcbynumber_r, and getrpcent_r to ...
24887         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
24888         * inet/getrpcbyname.c: Moved ...
24889         * sunrpc/getrpcbyname.c: ... here.
24890         * inet/getrpcbyname_r.c: Moved ...
24891         * sunrpc/getrpcbyname_r.c: ... here.
24892         * inet/getrpcbynumber.c: Moved ...
24893         * sunrpc/getrpcbynumber.c: ... here.
24894         * inet/getrpcbynumber_r.c: Moved ...
24895         * sunrpc/getrpcbynumber_r.c: ... here.
24896         * inet/getrpcent.c: Moved ...
24897         * sunrpc/getrpcent.c: ... here.
24898         * inet/getrpcent_r.c: Moved ...
24899         * sunrpc/getrpcent_r.c: ... here.
24900         * inet/Makefile (routines): Move those to ...
24901         * sunrpc/Makefile (routines): ... here.
24902         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
24903         the $(subdirs) list.
24904         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
24905         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
24906         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
24907         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
24909         * elf/Makefile (routines): Include $(all-dl-routines), not just
24910         $(dl-routines).
24911         (rtld-routines): Likewise.  Use = rather than :=.
24912         * sysdeps/aarch64/Makefile [$(subdir) = elf]
24913         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
24914         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
24915         * sysdeps/arm/Makefile: Likewise.
24916         * sysdeps/i386/Makefile: Likewise.
24917         * sysdeps/x86_64/Makefile: Likewise.
24918         * sysdeps/hppa/Makefile [$(subdir) = elf]
24919         (sysdep_routines, sysdep-rtld-routines): Don't add
24920         $(sysdep-dl-routines) to these.
24921         * sysdeps/ia64/Makefile: Likewise.
24922         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
24923         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
24924         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
24925         Don't add dl-static to these; sysdep-dl-routines alone is enough.
24926         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
24927         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
24928         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
24929         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
24930         * sysdeps/powerpc/Makefile [$(subdir) = elf]
24931         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
24932         these; sysdep-dl-routines alone is enough.
24934 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
24936         [BZ #17932]
24937         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
24938         where multiplication results in zero and third argument is finite
24939         and nonzero.
24940         * math/auto-libm-test-in: Add more tests of fma.
24941         * math/auto-libm-test-out: Regenerated.
24943         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
24944         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
24945         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
24946         (_FP_CMP_EQ): Likewise.
24947         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
24949         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
24950         extra argument CHECK_NAN.  Redefine as wrapper around
24951         _FP_EXTEND_CNAN.
24953 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
24955         * version.h (RELEASE): Set to "stable".
24956         (VERSION): Set to "2.21"
24957         * include/features.h (__GLIBC_MINOR__): Set to 21.
24959         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
24961 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24962             Paul Eggert  <eggert@cs.ucla.edu>
24964         [BZ #16618]
24965         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
24966         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
24967         size in bytes. Store needed elements in wpmax. Use needed size
24968         in bytes for extend_alloca.
24970 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
24972         * manual/install.texi: Latest tested versions are GCC 4.9.2,
24973         binutls 2.25, and texinfo 5.2.
24974         * INSTALL: Regenerate.
24975         * sysdeps/nios2/configure: Regenerate.
24976         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
24977         * manual/contrib.texi: Update.
24978         * po/be.po: Update.
24979         * po/bg.po: Update.
24980         * po/ca.po: Update.
24981         * po/cs.po: Update.
24982         * po/da.po: Update.
24983         * po/de.po: Update.
24984         * po/el.po: Update.
24985         * po/eo.po: Update.
24986         * po/es.po: Update.
24987         * po/fi.po: Update.
24988         * po/fr.po: Update.
24989         * po/gl.po: Update.
24990         * po/hr.po: Update.
24991         * po/hu.po: Update.
24992         * po/ia.po: Update.
24993         * po/id.po: Update.
24994         * po/it.po: Update.
24995         * po/ja.po: Update.
24996         * po/ko.po: Update.
24997         * po/lt.po: Update.
24998         * po/nb.po: Update.
24999         * po/nl.po: Update.
25000         * po/pl.po: Update.
25001         * po/pt_BR.po: Update.
25002         * po/ru.po: Update.
25003         * po/rw.po: Update.
25004         * po/sk.po: Update.
25005         * po/sl.po: Update.
25006         * po/sv.po: Update.
25007         * po/tr.po: Update.
25008         * po/uk.po: Update.
25009         * po/vi.po: Update.
25010         * po/zh_CN.po: Update.
25011         * po/zh_TW.po: Update.
25013         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25014         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25015         * sysdeps/hppa/dl-irel.h: Remove #warning.
25016         * sysdeps/hppa/entry.h: Provide prototype for
25017         __canonicalize_funcptr_for_compare and cast argument.
25018         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25019         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25020         * sysdeps/hppa/sotruss-lib.c: New file.
25021         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25022         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25023         (atomic_compare_and_exchange_bool_acq): Likewise.
25024         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25025         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25027         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25028         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25029         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25031 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25033         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25034         called function in non-PIC case.
25036 2015-01-31  David S. Miller  <davem@davemloft.net>
25038         * sysdeps/sparc/sparc32/bits/atomic.h
25039         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25040         unlock not after it.
25041         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25042         volatile register usage warnings from the compiler.
25044         * sysdeps/sparc/nptl/sem_init.c: Delete.
25045         * sysdeps/sparc/nptl/sem_post.c: Delete.
25046         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25047         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25048         * sysdeps/sparc/sparc32/sem_init.c: New file.
25049         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25050         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25051         padding explicitly initialized.
25052         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25053         padding for in-semaphore spinlock.
25054         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25055         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25056         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25057         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25058         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25059         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25060         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25061         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25062         version.
25063         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25064         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25066 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25068         [BZ #17801]
25069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25070         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25071         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25072         New.
25073         (index_AVX_Fast_Unaligned_Load): Likewise.
25074         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25075         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25076         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25077         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25078         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25079         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25080         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25081         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25082         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25084 2015-01-29  Andreas Schwab  <schwab@suse.de>
25086         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25088 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25090         [BZ #17892]
25091         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25093 2015-01-28  Martin Sebor  <msebor@redhat.com>
25095         * math/README.libm-test: Clarify. Add "How to read the test output."
25097 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25099         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25100         Define to 0.
25102 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25104         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25105         (__HAVE_64B_ATOMICS): Define to 0.
25107 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25109         [BZ #17885]
25110         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25111         value to set as new flag.
25113         [BZ #16576]
25114         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25115         and use _ARCH_PPCSQ instead.
25116         (__ieee754_sqrt): Likewise.
25117         (__ieee754_sqrtf): Likewise.
25118         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25119         _ARCH_PPCSQ is defined.
25120         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25121         fsqrt instruction.
25122         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25123         _ARCH_PPCSQ is defined.
25124         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25125         fsqrts instruction.
25126         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25128 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25130         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25131         bug (GCC BZ #64739).
25133 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25135         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25136         Mark _retval as used.
25137         (lll_futex_wake_unlock): Likewise.
25138         (lll_futex_timed_wait_requeue_pi): Likewise.
25140         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25141         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25142         register variables.
25144         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25145         libm_hidden_def.
25147         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25148         (__bswap_64): Mark as __always_inline.
25150 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25152         [BZ #15378]
25153         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25154         when none of the search directories exist.
25156 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25158         [BZ #17869]
25159         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25160         power8 in .machine directive.
25162         [BZ #17868]
25163         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25164         set dependency from opd value.
25166 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25169         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25170         architecture.
25172 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25174         [BZ #17870]
25175         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25176         with uint64_t.
25177         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25178         (uint64_t) 1.
25179         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25180         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25181         Replace 1UL with (uint64_t) 1.
25182         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25183         int with uint64_t.
25185 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25187         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25188         (if_freenameindex): Likewise.
25190         * resource/getrlimit64.c: Add missing libc_hidden_def.
25192 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25194         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25195         __label__.
25196         (_FP_FMA): Likewise.
25197         (_FP_TO_INT_ROUND): Likewise.
25198         (_FP_FROM_INT): Likewise.
25200 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25202         [BZ #16418]
25203         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25204         Make code racy and cancel safe.
25206 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25208         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25209         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25210         attribution.
25212         * pwd/tst-getpw.c: Rewrite.
25214         [BZ #17702]
25215         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25216         (modules-names): Add moddummy1 and moddummy2.
25217         ($(objpfx)tst-rec-dlopen): Define.
25218         * dlfcn/moddummy1.c: New file.
25219         * dlfcn/moddummy2.c: New file.
25220         * dlfcn/tst-rec-dlopen.c: New file.
25221         * elf/dl-cache.c (_dl_load_cache_lookup):
25222         Return char*. Copy result with alloca/strcpy/strdup.
25223         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25224         returns char*. Free cached. If not saving realname
25225         free cached.
25226         * elf/dl-open.c (dl_open_worker): Do not assert that
25227         _r_debug->r_state is RT_CONSISTENT.
25228         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25229         returns char*.
25231 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25232             Carlos O'Donell  <carlos@redhat.com>
25234         [BZ #12674]
25235         * nptl/sem_waitcommon.c: New file.
25236         * nptl/sem_wait.c: Include sem_waitcommon.c.
25237         (__sem_wait_cleanup, do_futex_wait): Remove.
25238         (__new_sem_wait): Adapt.
25239         (__new_sem_trywait): New function.
25240         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25241         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25242         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25243         (sem_timedwait): Adapt.
25244         * nptl/sem_post.c (__new_sem_post): Adapt.
25245         (futex_wake): New function.
25246         (__old_sem_post): Add release MO fence.
25247         * nptl/sem_open.c (sem_open): Adapt.
25248         * nptl/sem_init.c (__new_sem_init): Adapt.
25249         (futex_private_if_supported): New function.
25250         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25251         (__old_sem_getvalue): Add using previous code.
25252         * sysdeps/nptl/internaltypes.h: Adapt.
25253         * nptl/tst-sem13.c (do_test): Adapt.
25254         * nptl/tst-sem11.c (main): Adapt.
25255         * nptl/sem_trywait.c: Remove.
25256         * nptl/DESIGN-sem.txt: Remove.
25257         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25258         (gen-as-const-headers): Remove structsem.sym.
25259         * nptl/structsem.sym: Remove.
25260         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25261         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25262         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25263         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25264         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25265         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25266         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25267         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25268         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25269         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25270         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25271         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25272         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25273         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25274         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25275         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25276         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25277         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25278         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25279         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25280         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25281         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25283 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25285         * INSTALL: Regenerated.
25287         * po/libc.pot: Regenerated.
25289 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25290             Sandra Loosemore  <sandra@codesourcery.com>
25291             Andrew Jenner  <andrew@codesourcery.com>
25292             Joseph Myers  <joseph@codesourcery.com>
25293             Nathan Sidwell  <nathan@codesourcery.com>
25295         * NEWS: Mention new Nios II port.
25296         * sysdeps/nios2/Implies: New file.
25297         * sysdeps/nios2/Makefile: New file.
25298         * sysdeps/nios2/Subdirs: New file.
25299         * sysdeps/nios2/Versions: New file.
25300         * sysdeps/nios2/__longjmp.S: New file.
25301         * sysdeps/nios2/abort-instr.h: New file.
25302         * sysdeps/nios2/backtrace.c: New file.
25303         * sysdeps/nios2/bits/endian.h: New file.
25304         * sysdeps/nios2/bits/fenv.h: New file.
25305         * sysdeps/nios2/bits/link.h: New file.
25306         * sysdeps/nios2/bits/setjmp.h: New file.
25307         * sysdeps/nios2/bsd-_setjmp.S: New file.
25308         * sysdeps/nios2/bsd-setjmp.S: New file.
25309         * sysdeps/nios2/configure: New generated file.
25310         * sysdeps/nios2/configure.ac: New file.
25311         * sysdeps/nios2/crti.S: New file.
25312         * sysdeps/nios2/crtn.S: New file.
25313         * sysdeps/nios2/dl-init.c: New file.
25314         * sysdeps/nios2/dl-machine.h: New file.
25315         * sysdeps/nios2/dl-sysdep.h: New file.
25316         * sysdeps/nios2/dl-tls.h: New file.
25317         * sysdeps/nios2/dl-trampoline.S: New file.
25318         * sysdeps/nios2/gccframe.h: New file.
25319         * sysdeps/nios2/gmp-mparam.h: New file.
25320         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25321         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25322         * sysdeps/nios2/ldsodefs.h: New file.
25323         * sysdeps/nios2/libc-tls.c: New file.
25324         * sysdeps/nios2/libm-test-ulps: New file.
25325         * sysdeps/nios2/machine-gmon.h: New file.
25326         * sysdeps/nios2/math-tests.h: New file.
25327         * sysdeps/nios2/math_private.h: New file.
25328         * sysdeps/nios2/memusage.h: New file.
25329         * sysdeps/nios2/nptl/Makefile: New file.
25330         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25331         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25332         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25333         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25334         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25335         * sysdeps/nios2/nptl/tls.h: New file.
25336         * sysdeps/nios2/preconfigure: New file.
25337         * sysdeps/nios2/s_fma.c: New file.
25338         * sysdeps/nios2/s_fmaf.c: New file.
25339         * sysdeps/nios2/setjmp.S: New file.
25340         * sysdeps/nios2/sfp-machine.h: New file.
25341         * sysdeps/nios2/sotruss-lib.c: New file.
25342         * sysdeps/nios2/stackguard-macros.h: New file.
25343         * sysdeps/nios2/stackinfo.h: New file.
25344         * sysdeps/nios2/start.S: New file.
25345         * sysdeps/nios2/sysdep.h: New file.
25346         * sysdeps/nios2/tls-macros.h: New file.
25347         * sysdeps/nios2/tst-audit.h: New file.
25348         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25349         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25350         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25351         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25352         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25353         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25354         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25355         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25356         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25357         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25358         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25359         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25360         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25361         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25362         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25363         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25364         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25365         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25366         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25367         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25368         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25369         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25370         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25371         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25372         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25373         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25374         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25375         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25376         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25377         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25378         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25379         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25380         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25381         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25382         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25383         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25384         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25385         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25386         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25387         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25388         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25389         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25390         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25391         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25393 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25395         [BZ #17844]
25396         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25397         (getutent): Use weak_alias in non SHARED case
25398         and default_symbol_version in SHARED case.
25399         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25400         (getutent_r, pututline): Likewise.
25401         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25402         (getutid): Likewise.
25403         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25404         (getutid_r): Likewise.
25405         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25406         (getutline): Likewise.
25407         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25408         (getutline_r): Likewise.
25409         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25410         (updwtmp): Likewise.
25412 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25414         [BZ #17848]
25415         * sysdeps/s390/s390-32/memcmp.S
25416         (memcmp_g5): Rename to __memcmp_g5.
25417         * sysdeps/s390/s390-32/memcpy.S
25418         (memcpy_g5): Rename to __memcpy_g5.
25419         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25420         (memcpy_mvcle) Rename to __memcpy_mvcle.
25421         * sysdeps/s390/s390-32/memset.S
25422         (memset_g5): Rename to __memset_g5.
25423         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25424         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25425         and use prefixed functions.
25426         * sysdeps/s390/s390-32/multiarch/memcmp.S
25427         (memcmp_z196): Rename to __memcmp_z196.
25428         (memcmp_z10): Rename to __memcmp_z10.
25429         (memcmp): Set alias to __memcmp_g5.
25430         (bcmp): Set alias to __memcmp_g5.
25431         * sysdeps/s390/s390-32/multiarch/memcpy.S
25432         (memcpy_z196): Rename to __memcpy_z196.
25433         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25434         (memcpy_z10): Rename to __memcpy_z10.
25435         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25436         (memcpy): Set alias to __memcpy_g5.
25437         * sysdeps/s390/s390-32/multiarch/memset.S
25438         (memset_z196): Rename to __memset_z196.
25439         Jump to __memset_mvcle instead of memset_mvcle.
25440         (memset_z10): Rename to __memset_z10.
25441         Jump to __memset_mvcle instead of memset_mvcle.
25442         (memset_mvcle) Rename to __memset_mvcle.
25443         (memset): Set alias to __memset_g5.
25444         * sysdeps/s390/s390-64/memcmp.S
25445         (memcmp_z900): Rename to __memcmp_z900.
25446         * sysdeps/s390/s390-64/memcpy.S
25447         (memcpy_z900): Rename to __memcpy_z900.
25448         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25449         (memcpy_mvcle) Rename to __memcpy_mvcle.
25450         * sysdeps/s390/s390-64/memset.S
25451         (memset_z900): Rename to __memset_z900.
25452         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25453         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25454         and use prefixed functions.
25455         * sysdeps/s390/s390-64/multiarch/memcmp.S
25456         (memcmp_z196): Rename to __memcmp_z196.
25457         (memcmp_z10): Rename to __memcmp_z10.
25458         (memcmp): Set alias to __memcmp_z900.
25459         (bcmp): Set alias to __memcmp_z900.
25460         * sysdeps/s390/s390-64/multiarch/memcpy.S
25461         (memcpy_z196): Rename to __memcpy_z196.
25462         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25463         (memcpy_z10): Rename to __memcpy_z10.
25464         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25465         (memcpy): Set alias to __memcpy_z900.
25466         * sysdeps/s390/s390-64/multiarch/memset.S
25467         (memset_z196): Rename to __memset_z196.
25468         Jump to __memset_mvcle instead of memset_mvcle.
25469         (memset_z10): Rename to __memset_z10.
25470         Jump to __memset_mvcle instead of memset_mvcle.
25471         (memset_mvcle) Rename to __memset_mvcle.
25472         (memset): Set alias to __memset_z900.
25474 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25476         [BZ #17748]
25477         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25478         __fesetenv instead of fesetenv.
25480 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25482         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25483         macro.
25485 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25487         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25488         regression on LE.
25490         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25491         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25492         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25493         strncmp-power8 object.
25494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25495         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25496         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25497         * NEWS: Update.
25499 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25500             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25502         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25503         trailing byte check.
25505 2015-01-13  David S. Miller  <davem@davemloft.net>
25507         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25509 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25511         * login/logout.c (logout): Use memset rather than bzero.
25512         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25513         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25514         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25515         (_gethtbyaddr): Likewise.
25516         * locale/programs/simple-hash.c (bcopy): Macro removed.
25518 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25520         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25521         Add strcmp-power8 object.
25522         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25523         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25524         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25525         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25526         __strcmp_power8 implementation.
25527         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25528         * NEWS: Update.
25530         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25531         Add strncpy-power8 and stpncpy-power8 objects.
25532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25533         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
25534         implementations.
25535         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
25536         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
25537         __stpncpy_power8 implementation.
25538         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
25539         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
25540         __strncpy_power8 implementation.
25541         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
25542         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
25543         * NEWS: Update.
25545         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
25546         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
25547         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
25549         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25550         strncat-power8 object.
25551         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
25552         __strcat_power8 implementation.
25553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25554         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
25555         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
25556         optimized strcat for power8.
25558         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25559         strcpy-power8 and stpcpy-power8 objects.
25560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25561         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
25562         implementations.
25563         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
25564         multiarch stpcpy implementation for POWER8.
25565         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
25566         multiarch strcpy implementation for POWER8.
25567         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
25568         __strcpy_power8 function.
25569         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
25570         stpcpy for POWER8.
25571         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
25572         strcpy for POWER8.
25573         * NEWS: Update.
25575 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
25577         [BZ #16009]
25578         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
25579         weights and rules. Use do_xfrm_cached if data fits in cache,
25580         do_xfrm otherwise.  Moved former main loop to...
25581         * (do_xfrm_cached): New function.
25582         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
25583         find_idx, find_position and stack_push.
25584         * (find_idx): New function.
25585         * (find_position): Likewise.
25586         * localedata/sort-test.sh: Added test run for do_xfrm.
25587         * localedata/xfrm-test.c (main): Added command line option
25588         -nocache to run the test with strings that are too large for
25589         the STRXFRM cache.
25591 2015-01-13  Torvald Riegel  <triegel@redhat.com>
25593         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
25594         variable to lll_futex_wake call, not the value itself.
25596 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
25598         [BZ #17803]
25599         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
25600         twom64.  Adjust value to 0x1p-64L.
25601         (__scalblnl): Only return standard underflowing result for K <=
25602         -64 not K <= -63; adjust exponent for underflowing result by 64
25603         not 63.
25604         * math/libm-test.inc (scalbn_test_data): Add more tests.
25605         (scalbln_test_data): Likewise.
25607         [BZ #17834]
25608         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
25609         0x1p63L.
25610         (__scalblnl): Get new exponent of adjusted subnormal value from ES
25611         not HX.
25612         * math/libm-test.inc (scalbn_test_data): Add more tests.
25613         (scalbln_test_data): Likewise.
25615 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25616             Stefani Seibold  <stefani@seibold.net>
25618         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
25619         (sysdep_routines): Add dl-vdso here, ...
25620         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
25621         (sysdep_routines): ... not here.
25622         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
25623         fallback when vDSO is not presented.
25624         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25625         Define with libc_hidden_proto/libc_hidden_data_def definitions.
25626         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
25627         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
25628         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
25629         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
25630         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
25631         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
25632         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
25633         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
25634         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
25635         fallback configurable symbol when vDSO is not available.
25636         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
25637         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
25638         be able to redefine fallback symbol when vDSO is not available.
25639         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
25640         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
25642 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25644         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
25645         (TLS_INIT_TP): Add tm_capable initialization.
25646         (TLS_DEFINE_INIT_TP): Likewise.
25647         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
25648         TCB.
25649         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
25650         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
25651         calculation.
25652         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
25653         transactoion is lock elision is built and TCB tm_capable is set.
25654         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
25655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25656         (INTERNAL_SYSCALL_NCS): Likewise.
25657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25658         (INTERNAL_SYSCALL_NCS): Likewise.
25659         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
25661         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
25662         for powerpc.
25663         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25664         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
25665         and remove it for 32 bits case.
25666         [pthread_rwlock_t] (__rwelision): New field for lock elision.
25667         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
25668         initialization.
25669         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
25670         Disable lock elision with rdlocks if elision is not available.
25672         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
25673         (sysdep_routines): Add lock elision objects.
25674         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
25675         [pthread_mutex_t] (__spins): Rework to add lock elision field.
25676         [pthread_mutex_t] (__elision): Add field.
25677         [__PTHREAD_SPINS]: Adjust to init lock elision field.
25678         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
25679         elision definitions for powerpc.
25680         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
25681         implementation of lock elision for powerpc.
25682         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
25683         implementation of timed lock elision for powerpc.
25684         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
25685         implementation of trylock with lock elision for powerpc.
25686         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
25687         implementaion of unlock for lock elision for powerpc.
25688         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
25689         automatic enable lock elision for mutexes.
25690         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
25691         transaction execution definitions for powerpc.
25692         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
25693         definitions.
25694         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
25695         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
25696         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
25697         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
25698         * NEWS: Update.
25700 2015-01-09  Roland McGrath  <roland@hack.frob.com>
25702         * sysdeps/posix/shm-directory.c: Use <> rather than ""
25703         for #include of <shm-directory.h>.
25705 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
25707         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
25708         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
25710 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
25712         [BZ #17791]
25713         * NEWS: Mention bug fix.
25714         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
25715         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
25716         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
25718 2015-01-09  Torvald Riegel <triegel@redhat.com>
25720         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
25722 2015-01-09  Torvald Riegel <triegel@redhat.com>
25724         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
25726 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25728         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
25729         pointer and cast to uintptr_t.
25731 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25733         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
25734         removed.
25735         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
25737 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
25739         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
25740         of 0.
25742 2015-01-08  Roland McGrath  <roland@hack.frob.com>
25744         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
25745         <nptl/pthreadP.h> instead.
25746         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
25748         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
25749         already defined.
25750         [__SIGRTMIN] (init): Function removed.
25751         [__SIGRTMIN] (initialized): Variable removed.
25752         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
25753         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
25754         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25755         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
25756         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
25757         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
25758         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
25759         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
25760         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
25761         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
25762         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
25763         * sysdeps/nptl/allocrtsig.c: New file.
25764         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
25765         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
25766         * sysdeps/generic/testrtsig.h: File removed.
25768         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
25769         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
25771         * nptl/nptl-init.c (pthread_functions): Conditionalize
25772         .ptr__nptl_setxid initialization on [SIGSETXID].
25774         * sysdeps/nptl/sys/procfs.h: New file.
25775         * nptl_db/Makefile (headers): Add it.
25776         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
25778         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
25779         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
25780         * nptl/pthread_attr_setaffinity.c: Include it.
25781         * nptl/pthread_setattr_default_np.c: Likewise.
25782         * nptl/check-cpuset.h: New file.
25784 2015-01-08  Richard Henderson  <rth@redhat.com>
25786         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
25787         (CFLAGS-tst-execstack-prog.c): Likewise.
25788         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
25790 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
25791             Sandra Loosemore  <sandra@codesourcery.com>
25792             Andrew Jenner  <andrew@codesourcery.com>
25793             Joseph Myers  <joseph@codesourcery.com>
25794             Nathan Sidwell  <nathan@codesourcery.com>
25796         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
25797         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
25798         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
25799         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
25800         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
25801         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
25802         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
25803         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
25804         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
25805         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
25806         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
25807         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
25808         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
25809         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
25810         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
25811         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
25812         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
25814 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25816         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
25817         timespec struct member in syscall macro.
25818         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
25819         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
25820         first timeval struct member in syscall macro.
25821         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
25823 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
25825         [BZ #17748]
25826         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
25827         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
25828         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
25829         __feupdateenv and define as weak alias of __feupdateenv.  Use
25830         libm_hidden_weak.
25831         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
25832         libm_hidden_def.
25833         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
25834         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
25835         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25836         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
25837         libm_hidden_def.
25838         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
25839         __feupdateenv and define as weak alias of __feupdateenv.  Use
25840         libm_hidden_weak.
25841         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
25842         libm_hidden_def.
25843         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
25844         __feupdateenv and define as weak alias of __feupdateenv.  Use
25845         libm_hidden_weak.
25846         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
25847         libm_hidden_def.
25848         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25849         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25850         (__feupdateenv): Likewise.
25851         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
25852         __feupdateenv and define as weak alias of __feupdateenv.  Use
25853         libm_hidden_weak.
25854         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25855         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
25856         libm_hidden_def.
25857         * sysdeps/tile/math_private.h (__feupdateenv): New inline
25858         function.
25859         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
25860         libm_hidden_def.
25861         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
25862         __feupdateenv instead of feupdateenv.
25863         (default_libc_feupdateenv_test): Likewise.
25864         (libc_feresetround_ctx): Likewise.
25866 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25868         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
25869         prototype.
25871 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
25873         * posix/regcomp.c (parse_bracket_exp): Initialize type to
25874         COLL_SYM in a couple of places to avoid uninitialized variable
25875         wanings on tilegx gcc 4.8.2.
25877 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25879         * sysdeps/aarch64/strcpy.S: New file.
25880         * sysdeps/aarch64/stpcpy.S: New file.
25881         * NEWS: Updated.
25883 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
25885         * sysdeps/aarch64/strrchr.S: New file.
25886         * NEWS: Updated.
25888 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
25890         [BZ #17658]
25891         * stdlib/setenv.c: Fix memory leak when setting large,
25892         duplicate string.
25894 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
25896         [BZ #17273]
25897         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
25898         and tabs from buffer before parsing fstab entry.
25899         * misc/tst-mntent.c (main): Add test for mount entry with
25900         trailing spaces and tabs.
25902 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
25904         [BZ #17748]
25905         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
25906         * math/fesetround.c (fesetround): Rename to __fesetround and
25907         define as weak alias of __fesetround.  Use libm_hidden_weak.
25908         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
25909         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
25910         * sysdeps/arm/fesetround.c (fesetround): Likewise.
25911         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
25912         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
25913         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
25914         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
25915         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
25916         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
25917         __fesetround_inline.
25918         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
25919         __fesetround_inline instead of __fesetround.
25920         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
25921         __fesetround and define as weak alias of __fesetround.  Use
25922         libm_hidden_weak.  Call __fesetround_inline instead of
25923         __fesetround.
25924         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
25925         __fesetround and define as weak alias of __fesetround.  Use
25926         libm_hidden_weak.
25927         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
25928         Likewise.
25929         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
25930         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25931         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
25932         * sysdeps/tile/math_private.h (__fesetround): New inline function.
25933         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
25934         __fesetround and define as weak alias of __fesetround.  Use
25935         libm_hidden_weak.
25936         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
25937         __fesetround instead of fesetround.
25938         (default_libc_feholdexcept_setround): Likewise.
25939         (libc_feholdsetround_ctx): Likewise.
25940         (libc_feholdsetround_noex_ctx): Likewise.
25942         [BZ #17748]
25943         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
25944         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
25945         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25946         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25947         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25948         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
25949         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25950         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25951         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25952         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25953         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25954         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25955         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25956         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25957         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
25958         libm_hidden_def.
25959         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
25960         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
25961         Likewise.
25962         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
25963         define as weak alias of __fesetenv.  Use libm_hidden_weak.
25964         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
25965         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
25966         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
25967         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
25968         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
25969         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
25970         __fesetenv instead of fesetenv.
25971         (libc_feresetround_noex_ctx): Likewise.
25972         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
25973         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
25974         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
25975         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
25976         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
25977         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
25978         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25979         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
25980         (__feupdateenv): Likewise.
25981         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25982         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
25983         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25984         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
25986 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25988         [BZ #17806]
25989         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
25990         addresses have been freed.
25992 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
25994         * resolv/res_init.c (__res_vinit): Improve comments about nserv
25995         and nservall.
25997 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
25999         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26000         Clean up check_pf allocation pattern. addresses
26002 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26004         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
26005         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
26006         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
26007         * nptl/pthread_exit.c (__pthread_exit): Likewise.
26008         * nptl/pthread_join.c (pthread_join): Likewise.
26009         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26010         * sysdeps/posix/waitid.c (__waitid): Likewise.
26011         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26012         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26013         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26014         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26015         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26016         Likewise.
26017         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26018         (__libc_pread64): Likewise.
26019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26020         (__libc_pwrite): Likewise.
26021         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26022         (__libc_pwrite64): Likewsie.
26023         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26024         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26025         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26026         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26027         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26028         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26029         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26031         Likewise.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26033         (__libc_pread64): Likewise.
26034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26035         Likewise.
26036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26037         (__libc_pwrite64): Likewise.
26038         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26039         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26040         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26041         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26042         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26043         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26044         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26045         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26046         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26047         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26048         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26049         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26050         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26051         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26052         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26053         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26054         Likewise.
26056 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26058         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26059         (CFLAGS-test-double.c): Likewise.
26060         (CFLAGS-test-ldouble.c): Likewise.
26061         (CPPFLAGS-test-ifloat.c): Likewise.
26062         (CPPFLAGS-test-idouble.c): Likewise.
26063         (CPPFLAGS-test-ildoubl.c): Likewise.
26064         (CFLAGS-test-test-fenv.c): Remove variable.
26065         (CFLAGS-test-misc.c): Likewise.
26067 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26069         [BZ #17797]
26070         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26071         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26072         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26073         CLOCKS_PER_SEC == 1000000.
26074         * time/clocktest.c (main): Replace %ld with %jd and cast to
26075         intmax_t.
26077 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26079         * sysdeps/generic/unwind-resume.h: New file.
26080         * sysdeps/gnu/unwind-resume.c: Include it.
26081         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26082         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26083         argument list.
26084         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26085         global rather than static.
26086         (_Unwind_Resume): Update user.
26087         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26088         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26089         rather than static.  Add __attribute__ ((cold)).
26090         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26091         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26092         * sysdeps/arm/arm-unwind-resume.S: New file.
26093         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26094         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26095         * sysdeps/arm/Makefile [$(subdir) = csu]
26096         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26097         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26098         Add rt-arm-unwind-resume.
26099         [$(subdir) = nptl]
26100         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26101         Add pt-arm-unwind-resume.
26102         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26103         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26105 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26107         [BZ #17748]
26108         * include/fenv.h (__feholdexcept): Declare.  Use
26109         libm_hidden_proto.
26110         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26111         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26112         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26113         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26114         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26115         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26116         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26117         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26118         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26119         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26120         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26121         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26122         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26123         (feholdexcept): Likewise.
26124         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26125         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26126         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26127         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26128         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26129         __feholdexcept instead of feholdexcept.
26130         (default_libc_feholdexcept_setround): Likewise.
26132 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26134         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26135         to avoid using stl/str to align destination.
26137 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26139         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26141 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26143         [BZ #17796]
26144         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26145         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26146         Define as weak alias not strong alias.
26148 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26150         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26151         bltzal with addiupc.
26152         (RTLD_START): Ditto.
26154 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26156         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26157         for __vdso_* functions in declarations.
26158         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26159         definitions.
26160         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26161         INTERNAL_VSYSCALL): Use struct return types to check for error.
26163         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26164         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26165         function with cast from llround().
26166         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26167         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26168         Define.
26170 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26172         [BZ #17793]
26173         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26174         Define as weak alias not strong alias.
26176         [BZ #17635]
26177         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26178         ...
26179         * ctype/ctype-extn.c: ... here.
26180         (__isblank_l): Move to ...
26181         * ctype/ctype-c99_l.c: ... here.  New file.
26182         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26183         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26184         Remove variable.
26185         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26186         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26187         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26188         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26189         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26191         [BZ #17777]
26192         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26193         (posix_fadvise64): Define as weak alias not strong alias.
26194         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26195         (posix_fallocate64): Likewise.
26196         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26197         Remove variable.
26198         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26199         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26200         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26201         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26202         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26204 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26206         [BZ #16191]
26207         * NEWS: Mention bug fix.
26208         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26209         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26210         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26211         (HOST_STACK_END_ADDR): Likewise.
26213 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26215         [BZ #17748]
26216         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26217         * math/fegetround.c (fegetround): Rename to __fegetround and
26218         define as weak alias of __fegetround.  Use libm_hidden_weak.
26219         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26220         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26221         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26222         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26223         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26224         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26225         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26226         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26227         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26228         Undefine after rather than before function definition; use
26229         parentheses around function name in definition.
26230         (__fegetround): Also undefine macro after function definition.
26231         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26232         __fegetround and define as weak alias of __fegetround.  Use
26233         libm_hidden_weak.  Do not undefine as macro.
26234         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26235         Likewise.
26236         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26237         __fegetround and define as weak alias of __fegetround.  Use
26238         libm_hidden_weak.
26239         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26240         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26241         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26242         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26243         __fegetround and define as weak alias of __fegetround.  Use
26244         libm_hidden_weak.
26245         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26246         __fegetround instead of fegetround.
26248         [BZ #17782]
26249         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26250         Condition macro definition on [__USE_MISC].
26252         [BZ #17781]
26253         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26254         (struct sigaction): Change type of sa_flags field to int.
26256         [BZ #17780]
26257         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26258         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26259         __glibc_reserved0.
26261         * nptl/version.c (banner): Use single year in copyright notice.
26263         * NEWS: Update copyright dates.
26264         * catgets/gencat.c (print_version): Likewise.
26265         * csu/version.c (banner): Likewise.
26266         * debug/catchsegv.sh: Likewise.
26267         * debug/pcprofiledump.c (print_version): Likewise.
26268         * debug/xtrace.sh (do_version): Likewise.
26269         * elf/ldconfig.c (print_version): Likewise.
26270         * elf/ldd.bash.in: Likewise.
26271         * elf/pldd.c (print_version): Likewise.
26272         * elf/sotruss.sh: Likewise.
26273         * elf/sprof.c (print_version): Likewise.
26274         * iconv/iconv_prog.c (print_version): Likewise.
26275         * iconv/iconvconfig.c (print_version): Likewise.
26276         * locale/programs/locale.c (print_version): Likewise.
26277         * locale/programs/localedef.c (print_version): Likewise.
26278         * login/programs/pt_chown.c (print_version): Likewise.
26279         * malloc/memusage.sh (do_version): Likewise.
26280         * malloc/memusagestat.c (print_version): Likewise.
26281         * malloc/mtrace.pl: Likewise.
26282         * manual/libc.texinfo: Likewise.
26283         * nptl/version.c (banner): Likewise.
26284         * nscd/nscd.c (print_version): Likewise.
26285         * nss/getent.c (print_version): Likewise.
26286         * nss/makedb.c (print_version): Likewise.
26287         * posix/getconf.c (main): Likewise.
26288         * scripts/test-installation.pl: Likewise.
26289         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26291 2015-01-02  Will Newton  <will.newton@linaro.org>
26293         * sysdeps/arm/armv7/configure: Removed.
26294         * sysdeps/arm/armv7/configure.ac: Likewise.
26296 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26298         * All files with FSF copyright notices: Update copyright dates
26299         using scripts/update-copyrights.
26300         * intl/plural.c: Regenerated.
26301         * locale/programs/charmap-kw.h: Likewise.
26302         * locale/programs/locfile-kw.h: Likewise.
26304 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26306         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26308 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26310         [BZ #17748]
26311         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26312         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26313         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26314         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26315         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26316         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26317         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26318         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26319         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26320         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26321         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26322         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26323         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26324         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26325         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26326         libm_hidden_def.
26327         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26328         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26329         Likewise.
26330         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26331         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26332         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26333         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26334         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26335         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26336         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26337         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26338         __fegetenv instead of fegetenv.
26339         (libc_feholdsetround_noex_ctx): Likewise.
26341 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26343         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26344         (Elf_MIPS_ABIFlags_v0): New structure.
26345         (EF_MIPS_FP64): Define.
26346         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26347         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26348         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26349         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26350         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26351         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26352         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26353         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26354         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26355         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26356         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26357         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26358         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26359         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26360         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26361         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26362         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26363         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26364         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26365         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26366         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26367         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26368         field.
26369         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26370         EF_MIPS_FP64.
26371         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26372         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26373         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26374         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26375         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26376         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26377         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26378         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26379         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26380         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26381         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26382         record the current FP ABI extension.
26383         (mips-mode-switch): Define to show if kernel headers support mode
26384         switching.
26385         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26386         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26387         supported SYSV ABI version to 3.
26388         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26389         feature.
26391 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26392             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26394         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26395         path.
26396         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26398 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26400         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26401         __fegetround and redefine to call __fegetround.  Remove condition
26402         on [!__NO_MATH_INLINES].
26403         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26404         function.
26405         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26406         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26407         Remove macro.
26408         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26409         instead of <fenv_libc.h>.
26410         (__llrintl): Call fegetround instead of __fegetround.
26411         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26412         instead of <fenv_libc.h>.
26413         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26414         (__lrintl): Call fegetround instead of __fegetround.
26415         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26416         instead of <fenv_libc.h>.
26417         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26418         (__rintl): Call fegetround instead of __fegetround.
26420 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26422         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26423         arrays.
26425 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26427         [BZ #17775]
26428         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26429         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26430         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26432 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26434         * sysdeps/i386/tls-macros.h: Include <features.h>.
26435         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26436         (TLS_IE): Likewise.
26437         (TLS_LD): Likewise.
26438         (TLS_GD): Likewise.
26439         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26440         define for GCC >= 5.0.
26442 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26444         * math/test-fenv.c (test_single_exception, set_single_exc,
26445         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26446         feexcp_mask_test, feenable_test, fe_single_test): Add
26447         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26448         case where they are not used.
26449         * math/libm-test.inc: Likewise.
26450         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26451         unused in the absence of FP rounding/exception support.
26452         * stdio-common/tst-printf-round.c: Likewise.
26453         * stdlib/tst-strtod-round.c: Likewise.
26454         * stdlib/tst-strtod-underflow.c: Likewise.
26456 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26458         [BZ #17723]
26459         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26460         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26461         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26462         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26463         libm_hidden_weak.
26464         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26465         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26466         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26467         libm_hidden_def.
26468         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26469         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26470         libm_hidden_weak.
26471         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26472         Likewise.
26473         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26474         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26475         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26476         libm_hidden_weak.
26477         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26478         libm_hidden_def.
26479         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26480         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26481         (__feraiseexcept): Likewise.
26482         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26483         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26484         libm_hidden_weak.
26485         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26486         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26487         libm_hidden_def.
26488         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26489         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26490         Use libm_hidden_def.
26491         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26492         libm_hidden_def.
26493         (feraiseexcept): Define as weak not strong alias.  Use
26494         libm_hidden_weak.
26495         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26496         New inline function.  Factored out of ...
26497         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26498         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26499         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26500         feraiseexcept.
26501         * math/w_acos.c (__acos): Likewise.
26502         * math/w_asin.c (__asin): Likewise.
26503         * math/w_ilogb.c (__ilogb): Likewise.
26504         * math/w_j0.c (y0): Likewise.
26505         * math/w_j1.c (y1): Likewise.
26506         * math/w_jn.c (yn): Likewise.
26507         * math/w_log.c (__log): Likewise.
26508         * math/w_log10.c (__log10): Likewise.
26509         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26510         * sysdeps/aarch64/fpu/math_private.h
26511         (libc_feupdateenv_test_aarch64): Likewise.
26512         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26513         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26514         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26515         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26516         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26517         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26518         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26519         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26520         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26521         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26523 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26525         [BZ #17732]
26526         * io/test-utime.c (main): Replace %ld with %jd and cast to
26527         intmax_t.
26528         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26529         * nptl/tst-mutex5.c: Include <stdint.h>.
26530         (do_test): Replace %ld with %jd and cast to intmax_t.
26531         * posix/tst-regex.c (run_test): Likewise.
26532         (run_test_backwards): Likewise.
26533         * rt/tst-clock.c: Include <stdint.h>.
26534         (clock_test): Replace %ld with %jd and cast to intmax_t.
26535         * rt/tst-cpuclock1.c: Include <stdint.h>.
26536         (do_test): Replace %lu with %ju and cast to uintmax_t.
26537         * rt/tst-cpuclock2.c: Include <stdint.h>.
26538         (do_test): Replace %lu with %ju and cast to uintmax_t.
26539         * rt/tst-mqueue1.c: Include <stdint.h>.
26540         (check_attrs): Replace %ld with %jd and cast to intmax_t.
26541         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
26542         intmax_t.
26543         * rt/tst-mqueue4.c (do_test): Likewise.
26544         * rt/tst-timer4.c: Include <stdint.h>.
26545         (check_ts): Replace %ld with %jd and cast to intmax_t.
26546         (do_test): Likewise.
26547         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
26548         and cast to intmax_t.
26549         * sysdeps/pthread/tst-timer.c (main): Likewise.
26550         * time/clocktest.c (main): Likewise.
26551         * time/tst-posixtz.c (do_test): Likewise.
26552         * timezone/tst-timezone.c (main): Likewise.
26554 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26555             H.J. Lu  <hongjiu.lu@intel.com>
26557         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
26558         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
26559         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
26560         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
26561         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
26562         version if bit_Fast_Unaligned_Load is set.
26563         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26564         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26565         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26566         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26567         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26568         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26569         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26570         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
26571         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
26572         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
26573         to 4.
26574         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
26575         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
26576         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
26577         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
26579 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
26581         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
26582         instead of #if to avoid a Wundef warning.
26583         * stdlib/tst-limits.c (do_test): Likewise.
26585         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
26586         parallel other exception macros.
26587         (fegetenv): Convert from macro to extern inline so that it applies
26588         retroactively to inline functions already seen by the compiler.
26589         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
26591         * posix/Makefile (before-compile): Use $(objpfx) for
26592         posix-conf-vars-def.h.
26594 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26596         * posix/getconf.c (main): Use size_t for type of I.
26597         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
26598         NSPEC.
26600         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
26601         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
26602         * posix/posix-envs.def: Likewise.
26603         * sysdeps/posix/sysconf.c: Likewise.
26604         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
26605         (specs): Remove array.
26606         * scripts/gen-posix-conf-vars.awk: Support generation of specs
26607         array.
26609         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
26610         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
26611         (__sysconf): Use CONF_IS_* macros.
26613         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
26614         ($(objpfx)posix-conf-vars-def.h): New target.
26615         * posix/posix-conf-vars.list: New file.
26616         * posix/posix-conf-vars.h: New file.
26617         * posix/confstr.c: Include posix-conf-vars.h.
26618         (confstr): Use CONF_IS_* macros.
26619         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
26620         CONF_IS_* macros.
26621         * scripts/gen-posix-conf-vars.awk: New file.
26623 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
26625         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
26626         fegetround): Add no-op macros to avoid linknamespace issues.
26628         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
26629         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
26631         * sysdeps/unix/sysv/linux/tile/sysdep.h
26632         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
26633         assembly-specific section to avoid a redefinition warning.
26635         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
26636         long before casting to pointer to avoid a cast warning.
26638 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
26640         * sysdeps/tile/tilegx/Implies: New file.
26642 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
26644         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
26646 2014-12-23  Florian Weimer  <fweimer@redhat.com>
26648         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
26650 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26652         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
26653         not define.
26654         * sysdeps/unix/sysv/linux/utimes.c: Do not include
26655         <kernel-features.h>.
26656         (__utimes) [__NR_utimes]: Make code unconditional.
26657         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
26658         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26659         (__ASSUME_UTIMES): Do not undefine.
26660         * sysdeps/unix/sysv/linux/tile/kernel-features.h
26661         (__ASSUME_UTIMES): Likewise.
26662         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
26663         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
26664         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
26665         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
26667 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26669         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
26671 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
26673         [BZ #17747]
26674         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
26675         alias to weak alias for j0l, y0l.
26676         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
26677         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
26679         [BZ #17746]
26680         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
26681         conversion.
26683 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
26685         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
26686         to zero if not already defined.
26688 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26690         [BZ #17724]
26691         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
26692         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
26693         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
26694         (char *) casts added.
26695         * sysdeps/ieee754/k_standardf.c: New file.
26696         * sysdeps/ieee754/k_standardl.c: Likewise.
26697         * math/Makefile (libm-support): Remove k_standard.
26698         (libm-calls): Add k_standard.
26700 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26702         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26703         Optimize to avoid an unnecessary FPCR read.
26705 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26707         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26708         Optimize to reduce FPCR/FPSR accesses.
26710 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26712         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
26713         Call libc_fetestexcept_aarch64.
26715 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
26717         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
26718         Call libc_fesetround_aarch64.
26720 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
26722         [BZ #17733]
26723         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
26724         (__bind): Do not define as weak alias.
26725         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
26726         define.
26727         (__getsockname): Do not define as weak alias.
26729 2014-12-22  Will Newton  <will.newton@linaro.org>
26731         * manual/install.texi: Document that we require bison 2.7
26732         or above.
26733         * INSTALL: Regenerate.
26734         * configure.ac: Use AC_CHECK_PROG_VER instead of
26735         AC_PATH_PROG when checking for bison and check for
26736         version 2.7 or above.
26737         * configure: Regenerate.
26739 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
26741         [BZ #17745]
26742         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
26743         * sysdeps/tile/ffsll.c (ffsll): To here.
26745         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
26747 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26749         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
26750         if not defined.
26751         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
26752         definition.
26753         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26754         hidden ___tls_get_addr.
26755         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
26756         hidden __tls_get_addr.
26757         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
26758         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
26759         Likewise.
26761 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26763         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
26764         _dl_init call.
26766 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
26768         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
26769         from "call _dl_init@PLT".
26770         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
26772 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
26774         * manual/search.texi: (Array Sort Function): Clarify stable sorting
26775         guarantees.
26777 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
26779         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
26781 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26783         [BZ #17744]
26784         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
26785         strnlen.
26787 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26789         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
26790         of multu on MIPSr6.
26791         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
26792         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
26793         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
26794         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
26795         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
26797 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
26799         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
26800         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
26801         (PTR_SUBU): Use subu for mips32r6/mips64r6.
26802         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
26803         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
26804         mips32r6/mips64r6.
26805         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
26807 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
26809         * string/strncat.c (STRNCAT): Simplify implementation.
26811 2014-12-19  David S. Miller  <davem@davemloft.net>
26813         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
26814         access the quad as both a long double and as a series of 4 words.
26816         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
26817         link_map->l_info array access.
26819 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
26821         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
26823         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
26824         * math/atest-exp2.c (TIMEOUT): Likewise.
26825         * math/atest-sincos.c (TIMEOUT): Likewise.
26827 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26829         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
26830         -Wno-error with -fno-builtin-lround.
26832 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26834         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
26835         Contains futex constants and functions moved over from ...
26836         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
26837         <lowlevellock-futex.h>.
26838         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26839         (lll_timedwait_tid): Add comments and parentheses around macro
26840         arguments.
26842 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26844         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
26845         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
26846         (__lll_private_flag): Remove.
26847         (lll_futex_wait): Likewise.
26848         (lll_futex_timed_wait): Likewise.
26849         (lll_futex_wake): Likewise.
26850         (lll_futex_requeue): Likewise.
26851         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
26852         (__lll_timedwait_tid): Spell out argument names.
26853         (lll_timedwait_tid): Add comments and parentheses around macro
26854         arguments.
26855         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
26856         LLL_SHARED and LLL_PRIVATE usable from assembly code.
26858 2014-12-19  Torvald Riegel  <triegel@redhat.com>
26860         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
26861         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26862         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26863         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
26864         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
26865         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
26866         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
26867         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
26868         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
26869         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
26870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
26871         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
26872         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
26873         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
26874         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
26875         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
26876         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
26877         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
26878         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
26880 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26882         * sysdeps/x86_64/x32/Makefile: New file.
26884 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
26886         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
26887         1L with (mp_limb_t) 1.
26889 2014-12-17  Roland McGrath  <roland@hack.frob.com>
26891         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
26892         * nptl/libc_pthread_init.c: ... here.
26893         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
26894         * nptl/register-atfork.c: ... here.
26896         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
26897         Use pthread_sigmask rather than INTERNAL_SYSCALL.
26898         Use assert_perror to check its return value.
26899         (__gai_create_helper_thread): Likewise.
26901         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
26903         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
26905 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
26907         [BZ #17725]
26908         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
26909         __profil_counter.
26910         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
26911         Likewise.
26912         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
26913         Likewise.
26914         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
26915         Likewise.
26916         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
26917         (profil_counter): Likewise.
26918         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
26919         (profil_counter): Likewise.
26920         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
26921         Likewise.
26922         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
26923         Likewise.
26924         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
26925         (profil_counter): Likewise.
26926         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
26927         Likewise.
26928         [!__profil_counter] (profil_counter): Define as weak alias of
26929         __profil_counter.
26930         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
26931         (profil_counter): Rename to __profil_counter.
26932         [!__profil_counter] (profil_counter): Define as weak alias of
26933         __profil_counter.
26934         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
26935         (profil_counter): Rename to __profil_counter.
26936         [!__profil_counter] (profil_counter): Define as weak alias of
26937         __profil_counter.
26938         * sysdeps/posix/profil.c: Update comment referring to
26939         profil_counter.
26940         (__profil): Use __profil_counter instead of profil_counter.
26941         * sysdeps/posix/sprofil.c (profil_counter): Rename to
26942         __profil_counter.  Use __profil_counter_ushort and
26943         __profil_counter_uint in definitions.
26944         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
26945         instead of profil_counter_uint and profil_counter_ushort.
26947         [BZ #17722]
26948         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
26949         define as weak alias of __inet_makeaddr.
26950         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
26951         as weak alias of __inet_addr.
26952         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
26953         as weak alias of __inet_pton.  Use libc_hidden_weak.
26954         * include/arpa/inet.h (__inet_pton): Declare.  Use
26955         libc_hidden_proto.
26956         (inet_makeaddr): Don't use libc_hidden_proto.
26957         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
26958         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
26959         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
26960         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
26961         Remove variable.
26962         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26963         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26965 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
26967         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
26969 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26971         * stdio-common/bug-vfprintf-nargs.c (do_test):
26972         Cast value to intptr_t to avoid format warning
26973         for usage with PRIdPTR printing macro.
26975 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26977         * libio/tst-widetext.c (do_test):
26978         Use format type %td instead of %Zd for ptrdiff_t
26979         in order to avoid format warning.
26981 2014-12-17  Andreas Schwab  <schwab@suse.de>
26983         * nscd/mem.c (gc): Add size_t cast to match printf format.
26985 2014-12-16  Roland McGrath  <roland@hack.frob.com>
26987         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
26988         (init): Apply PTR_MANGLE to pointers before storing them.
26989         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
26990         before using them.
26992 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
26994         [BZ #17719]
26995         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
26996         define as weak alias of __memrchr.
26997         (__memrchr): Do not define as strong alias of memrchr.
26998         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
26999         Remove variable.
27000         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27001         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27002         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27004         [BZ #17717]
27005         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
27006         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
27007         (if_indextoname): Rename to __if_indextoname and define as weak
27008         alias of __if_indextoname.  Use libc_hidden_weak.
27009         (if_freenameindex): Rename to __if_freenameindex and define as
27010         weak alias of __if_freenameindex.
27011         (if_nameindex): Rename to __if_nameindex and define as weak alias
27012         of __if_nameindex.
27013         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27014         __if_nametoindex and define as weak alias of __if_nametoindex.
27015         Use libc_hidden_weak.
27016         (if_freenameindex): Rename to __if_freenameindex and define as
27017         weak alias of __if_freenameindex.
27018         (if_nameindex): Rename to __if_nameindex and define as weak alias
27019         of __if_nameindex.
27020         (if_indextoname): Rename to __if_indextoname and define as weak
27021         alias of __if_indextoname.  Use libc_hidden_weak.
27022         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27023         __if_nametoindex and define as weak alias of __if_nametoindex.
27024         Use libc_hidden_weak.
27025         (if_freenameindex): Rename to __if_freenameindex and define as
27026         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27027         (if_nameindex_netlink): Use __if_freenameindex instead of
27028         if_freenameindex.
27029         (if_nameindex): Rename to __if_nameindex and define as weak alias
27030         of __if_nameindex.  Use libc_hidden_weak.
27031         (if_indextoname): Rename to __if_indextoname and define as weak
27032         alias of __if_indextoname.  Use libc_hidden_weak.
27033         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27034         libc_hidden_proto.
27035         [!_ISOMAC] (__if_freenameindex): Likewise.
27036         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27037         if_nametoindex.
27038         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27039         variable.
27040         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27041         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27042         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27043         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27044         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27045         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27046         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27048         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27049         Remove variable.
27050         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27051         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27053 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27055         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27056         subscript above bounds'
27058         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27059         bounds.
27061 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27063         * libio/tst-fopenloc.c: Use test-skeleton.c.
27065         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27066         (entry): Rename to ITEM.
27067         (do_test, comp): Adjust.
27069         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27071 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27073         * string/tester.c: Include <libc-internal.h>.
27074         (test_memset): Ignore -Wmemset-transposed-args.
27076 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27078         * misc/tst-mntent2.c (do_test): Fix warning.
27080 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27082         * elf/tst-unique4lib.cc(a): Mark as used.
27084 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27086         [BZ #17630]
27087         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27088         names.
27090 2014-12-16  Allan McRae  <allan@archlinux.org>
27092         * stdio-common/Makefile (tests): Re-add bug26.
27094 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27096         [BZ #17657]
27097         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27098         static array.
27100 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27102         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27103         (__lll_lock_wait): Likewise.
27104         (__lll_timedlock_wait): Likewise.
27105         (__lll_timedwait_tid): Likewise.
27106         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27107         (__lll_robust_timedlock_wait): Likewise.
27108         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27109         (lll_cond_trylock): Likewise.
27110         (__lll_lock): Likewise.
27111         (__lll_robust_lock): Likewise.
27112         (__lll_cond_lock): Likewise.
27113         (lll_robust_cond_lock): Likewise.
27114         (__lll_timedlock): Likewise.
27115         (__lll_robust_timedlock): Likewise.
27116         (__lll_unlock): Likewise.
27117         (__lll_robust_unlock): Likewise.
27118         (lll_wait_tid): Likewise.
27119         (lll_timedwait_tid): Likewise.
27121 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27123         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27125 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27127         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27129 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27131         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27132         * stdio-common/tst-sprintf.c: Likewise.
27134 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27136         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27138 2014-12-15  Jeff Law  <law@redhat.com>
27140         [BZ #16617]
27141         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27142         on the heap.  (CVE-2012-3406)
27143         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27144         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27145         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27147 2014-12-15  Will Newton  <will.newton@linaro.org>
27149         * manual/install.texi: Bump required version of texinfo
27150         to 4.7 from 4.5.
27151         * INSTALL: Regenerated.
27152         * configure.ac: Check for makeinfo version 4.7 and above.
27153         * configure: Regenerated.
27155 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27157         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27158         PREFIX, string constant to insert between directory and name.
27159         * sysdeps/posix/shm_open.c: Update caller.
27160         * sysdeps/posix/shm_unlink.c: Likewise.
27161         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27162         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27163         (SEM_SHM_PREFIX): New macro.
27164         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27165         [$(have-thread-library) = no].
27166         * nptl/Makefile (libpthread-routines): Add shm-directory.
27167         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27168         * sysdeps/nptl/shm-directory.h: New file.
27169         * sysdeps/posix/shm-directory.c
27170         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27171         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27172         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27173         INTERNAL_SYSCALL.
27174         (__where_is_shmfs): Function removed.
27175         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27176         Variables removed.
27177         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27178         Use SHM_GET_NAME.
27179         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27181         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27182         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27183         unconditional for use inside libpthread.
27184         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27186 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27188         * nptl/pthread_getaffinity.c: New file.
27189         * nptl/pthread_setaffinity.c: New file.
27190         * nptl/pthread_getname.c: New file.
27191         * nptl/pthread_setname.c: New file.
27193         * nptl/pthread_create.c (START_THREAD_DEFN)
27194         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27196 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27197             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27199         * resolv/res_send.c (send_vc): Disable warning resplen may
27200         be used uninitialized.
27202 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27204         * nptl/tst-mutex6.c
27205         (ATTR_NULL): New define checks ATTR against NULL.
27206         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27207         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27209 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27211         [BZ #17581]
27212         * malloc/hooks.c
27213         (mem2mem_check): Revert my previous change.
27214         (malloc_check_get_size): Revert my previous change.
27215         (mem2chunk_check): Revert my previous change.
27217 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27219         * sysdeps/posix/shm-directory.c: New file.
27220         * sysdeps/posix/shm-directory.h: New file.
27221         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27222         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27223         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27224         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27225         Transmute EPERM to EACCES.
27226         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27227         from ...
27228         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27229         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27231 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27233         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27234         pointer and cast to uintptr_t.
27235         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27236         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27237         Add cast to avoid warning.
27238         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27240 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27242         * nptl/semaphore.h: Move to ...
27243         * sysdeps/pthread/semaphore.h: ... here.
27244         * Makefile (installed-headers): Change nptl/semaphore.h to
27245         sysdeps/pthread/semaphore.h.
27247 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27249         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27250         generated error format strings.
27252         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27253         -Wformat-extra-args warnings for scanf formats.
27254         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27255         test of zero-length format (duh).
27256         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27257         corner-case scanf format test.
27258         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27259         generated fprintf format string.
27260         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27261         corner-case sprintf format tests.
27262         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27263         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27264         -Wformat-extra-args warnings throughout.
27265         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27266         (CFLAGS-scanf4.c): Likewise.
27267         (CFLAGS-scanf7.c): Likewise.
27268         (CFLAGS-tst-sprintf.c): Likewise.
27269         (CFLAGS-tst-printf.c): Likewise.
27270         (CFLAGS-tst-printfsz.c): Likewise.
27272 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27274         * include/cpio.h: New file.
27275         * include/fmtmsg.h: Likewise.
27277         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27278         corresponding format argument to size_t.
27279         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27280         arguments.
27281         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27282         corresponding format argument to size_t.
27283         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27284         arguments.
27285         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27286         corresponding format argument to size_t.
27287         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27288         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27289         (CFLAGS-tst-mbswcs2.c): Likewise.
27290         (CFLAGS-tst-mbswcs3.c): Likewise.
27291         (CFLAGS-tst-mbswcs4.c): Likewise.
27292         (CFLAGS-tst-mbswcs5.c): Likewise.
27293         (CFLAGS-tst-trans.c): Likewise.
27295 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27297         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27298         rather than assuming they won't contain any '%'s.
27300 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27302         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27303         inhibit_loop_to_libcall to avoid recursive calls.
27304         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27305         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27307 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27309         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27310         prototype.
27312 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27314         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27315         integer value instead of boolean.
27317 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27319         * malloc/malloc.c: Fix powerof2 check.
27321 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27323         * locale/programs/locfile.h (maybe_swap_uint32):
27324         Remove inline and add unused attribute.
27326 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27328         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27329         Truncating assembler expression to a .long expression.
27331 2014-12-11  Andreas Schwab  <schwab@suse.de>
27333         * elf/rtld.c (struct map_args): Constify str member.
27334         (do_preload): Constify fname argument.
27336 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27338         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27339         constants definition.
27341 2014-12-11  Andreas Schwab  <schwab@suse.de>
27343         [BZ #16657]
27344         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27345         FORCE_ELISION instead of DO_ELISION.
27346         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27347         Remove.
27348         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27349         Likewise.
27351         * iconvdata/gconv-modules: Remove duplicate entry.
27353 2014-12-11  Will Newton  <will.newton@linaro.org>
27355         Merge gettext 0.19.3 into intl/.
27357         This involves a number of cosmetic changes to comments
27358         and ANSI function definitions and prototypes throughout
27359         all the files. The gettext copyright header is used but
27360         with the date ranges taken from the glibc copy.
27362         * NEWS: Add gettext merge to 2.21.
27363         * intl/bindtextdom.c: Switch to gettext copyright.
27364         Use ANSI definitions and prototypes.
27365         Use gl_* locking primitives rather than __libc_* ones.
27366         Use __builtin_expect rather than __glibc_likely/unlikely.
27367         * intl/dcgettext.c: Switch to gettext copyright.
27368         Use ANSI definitions and prototypes.
27369         * intl/dcigettext.c: Switch to gettext copyright.
27370         Use ANSI definitions and prototypes.
27371         (INTDIV0_RAISES_SIGFPE): New define.
27372         Use gl_* locking primitives rather than __libc_* ones.
27373         Include eval-plural.h instead of plural-eval.c.
27374         Use __builtin_expect rather than __glibc_likely/unlikely.
27375         * intl/dcngettext.c: Switch to gettext copyright.
27376         Use ANSI definitions and prototypes.
27377         * intl/dgettext.c: Likewise.
27378         * intl/dngettext.c: Likewise.
27379         * intl/plural-eval.c: Renamed to...
27380         * intl/eval-plural.h: ...this.
27381         * intl/explodename.c: Switch to gettext copyright.
27382         Use ANSI definitions and prototypes.
27383         (_nl_explode_name): Use strchr instead of __rawmemchr.
27384         * intl/finddomain.c: Switch to gettext copyright.
27385         Use ANSI definitions and prototypes.
27386         Use gl_* locking primitives rather than __libc_* ones.
27387         (_nl_find_domain): Use malloc rather than alloca for
27388         allocation of temporary locale name.
27389         * intl/gettext.c: Switch to gettext copyright.
27390         Use ANSI definitions and prototypes.
27391         * intl/gettextP.h: Switch to gettext copyright.
27392         Use ANSI definitions and prototypes.
27393         Use gl_* locking primitives rather than __libc_* ones.
27394         * intl/gmo.h: Switch to gettext copyright.
27395         (struct sysdep_string): Move struct segment_pair outside of
27396         struct definition.
27397         * intl/hash-string.c: Use ANSI definitions and prototypes.
27398         * intl/hash-string.h: Switch to gettext copyright.
27399         Use ANSI definitions and prototypes.
27400         * intl/l10nflist.c: Switch to gettext copyright.
27401         Use ANSI definitions and prototypes.
27402         (_nl_normalize_codeset): Avoid integer overflow.
27403         * intl/loadinfo.h: Switch to gettext copyright.
27404         Use ANSI definitions and prototypes.
27405         (LIBINTL_DLL_EXPORTED): New define.
27406         (PATH_SEPARATOR): New define.
27407         * intl/loadmsgcat.c: Switch to gettext copyright.
27408         * intl/localealias.c: Switch to gettext copyright.
27409         Use ANSI definitions and prototypes.
27410         (_nl_expand_alias): Use PATH_SEPARATOR.
27411         * intl/ngettext.c: Switch to gettext copyright.
27412         Use ANSI definitions and prototypes.
27413         * intl/plural-exp.c: Likewise.
27414         * intl/plural-exp.h: Switch to gettext copyright.
27415         Use ANSI definitions and prototypes.
27416         (struct expression): Move definition of enum operator outside
27417         of struct definition.
27418         * intl/plural.c: Regenerate.
27419         * intl/plural.y: Switch to gettext copyright.
27420         Use ANSI definitions and prototypes.
27421         Port to bison 3.0.
27422         * intl/textdomain.c: Switch to gettext copyright.
27423         Use ANSI definitions and prototypes.
27424         Use gl_* locking primitives rather than __libc_* ones.
27426 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27428         * debug/warning-nop.c: Add used atrribute.
27430 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27432         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27434         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27435         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27436         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27438 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27439             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27441         [BZ #17634]
27442         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27443         Undefine after defining function.  Define as weak alias of
27444         __wcschr.  Use libc_hidden_weak.
27445         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27446         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27447         (libc_hidden_def): Also define __GI___wcschr alias.
27448         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27449         __wcschr and define as weak alias of __wcschr.
27450         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27451         __wcschr.
27452         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27453         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27454         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27455         libc_hidden_weak.  Do not use libc_hidden_def.
27456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27457         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27458         __GI___wcschr alias.
27459         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27460         [IS_IN (libc)] (wcschr): Define as macro expanding to
27461         __redirect_wcschr.
27462         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27463         [IS_IN (libc)] (__wcschr_power6): Likewise.
27464         [IS_IN (libc)] (__wcschr_power7): Likewise.
27465         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27466         instead of wcschr.
27467         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27468         __libc_wcschr.
27469         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27470         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27471         __wcschr and define as weak alias of __wcschr.  Use
27472         libc_hidden_builtin_def.
27473         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27474         as weak alias of __wcschr.  Use libc_hidden_weak.
27475         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27476         wcschr.
27477         * time/era.c (_nl_init_era_entries): Likewise.
27478         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27479         variable.
27480         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27481         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27483 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27485         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27486         format for long int variable.
27488 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27490         [BZ #10672]
27491         * manual/search.texi: (Array Sort Function): Remove claim how to make
27492         qsort stable.
27494 2014-12-10  Andreas Schwab  <schwab@suse.de>
27496         [BZ #12847]
27497         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27498         user-controlled locks.
27500 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27502         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27503         register.
27505 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27507         * configure.ac (--disable-werror): New configure option.
27508         (enable_werror): New AC_SUBST.
27509         * configure: Regenerated.
27510         * config.make.in (enable-werror): New variable.
27511         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27512         -Wno-error=undef.
27513         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27514         * manual/install.texi (Configuring and compiling): Document
27515         --disable-werror.
27516         * INSTALL: Regenerated.
27517         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27518         (CFLAGS-tst-chk2.c): Likewise.
27519         (CFLAGS-tst-chk3.c): Likewise.
27520         (CFLAGS-tst-chk4.cc): Likewise.
27521         (CFLAGS-tst-chk5.cc): Likewise.
27522         (CFLAGS-tst-chk6.cc): Likewise.
27523         (CFLAGS-tst-lfschk1.c): Likewise.
27524         (CFLAGS-tst-lfschk2.c): Likewise.
27525         (CFLAGS-tst-lfschk3.c): Likewise.
27526         (CFLAGS-tst-lfschk4.cc): Likewise.
27527         (CFLAGS-tst-lfschk5.cc): Likewise.
27528         (CFLAGS-tst-lfschk6.cc): Likewise.
27530         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27531         (main): Disable -Wdeprecated-declarations around calls to
27532         register_printf_function.
27534         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
27535         (do_test): Disable -Wdiv-by-zero around some calls to
27536         fwrite_unlocked and fread_unlocked.
27538         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
27539         (DIAG_POP_NEEDS_COMMENT): Likewise.
27540         (_DIAG_STR1): Likewise.
27541         (_DIAG_STR): Likewise.
27542         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
27543         * stdio-common/bug21.c: Include <libc-internal.h>.
27544         (do_test): Disable -Wformat around call to sscanf.
27545         * stdio-common/scanf14.c: Include <libc-internal.h>.
27546         (main): Disable -Wformat around some calls to scanf functions.
27548 2014-12-09  Torvald Riegel  <triegel@redhat.com>
27550         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
27552 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27554         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
27555         stack variable alignment.
27557 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
27559         [BZ #17682]
27560         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
27561         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
27562         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
27563         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
27564         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
27565         __getrlimit instead of getrlimit.
27566         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
27567         __gettimeofday instead of gettimeofday.
27568         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27569         Likewise.
27570         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27571         Likewise.
27572         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27573         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
27574         Remove variable.
27575         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27576         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27578 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27580         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
27581         for wide-character tests.
27583 2014-12-04  Roland McGrath  <roland@hack.frob.com>
27585         * io/openat64.c: #include <libc-internal.h>
27586         (__openat64): Prototypify.  Use ignore_value on MODE.
27587         * io/openat.c: Likewise.
27588         * misc/reboot.c: #include <libc-internal.h>
27589         (reboot): Prototypify.  Use ignore_value on HOWTO.
27590         * misc/ptrace.c: #include <libc-internal.h>
27591         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
27593 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
27595         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
27596         XPG4, UNIX98 and XOPEN2K.
27597         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
27598         Remove variable.
27599         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27601 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27603         * libio/fileops.c: Use ISO C style for function definitions.
27604         * libio/iofopen.c: Likewise.
27605         * libio/wfileops.c: Likewise.
27607         [BZ #17653]
27608         * libio/fileops.c (_IO_new_file_underflow): Unset cached
27609         offset on EOF.
27610         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
27611         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
27612         (fgets_func): Function pointer to fgets and fgetws.
27613         (do_ftell_test): Add test to verify ftell value after read
27614         EOF.
27615         (do_test): Set fgets_func.
27617         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
27618         O_TRUNC flag for w and w+ modes.
27619         (do_rewind_test): Likewise.
27620         (do_ftell_test): Likewise.
27621         (do_write_test): Likewise.
27623         [BZ #17647]
27624         * libio/fileops.c (do_ftell): Seek only when there are
27625         unflushed writes.
27626         * libio/wfileops.c (do_ftell_wide): Likewise.
27627         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
27628         test case.
27629         (do_one_test): Call it.
27631 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
27633         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
27634         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
27635         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
27636         Remove variable.
27637         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27638         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27639         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27641 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27643         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
27644         Remove variable.
27645         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27647         [BZ #17668]
27648         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
27649         as weak alias of __getifaddrs.  Use libc_hidden_weak.
27650         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27651         __freeifaddrs.  Use libc_hidden_weak.
27652         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
27653         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
27654         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27655         __freeifaddrs.  Use libc_hidden_weak.
27656         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
27657         __getifaddrs and define as weak alias of __getifaddrs.  Use
27658         libc_hidden_weak.
27659         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
27660         __freeifaddrs.  Use libc_hidden_weak.
27661         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
27662         Remove variable.
27663         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27664         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27666 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27668         [BZ #17601]
27669         * sysdeps/mips/start.S (__start): Use indirect jump to call
27670         __libc_start_main.
27672 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
27674         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
27676         * nptl/tst-mutex1.c: Include <stdbool.h>.
27677         [!ATTR] (ATTR_NULL): New macro.
27678         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
27679         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
27680         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
27682         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
27683         to char *.
27685         [BZ #17665]
27686         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
27687         Change conditional to [__USE_MISC].
27689         [BZ #17664]
27690         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
27691         fgets_unlocked.
27692         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
27693         __fgets_unlocked.
27694         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
27695         fgets_unlocked.
27696         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
27697         Remove variable.
27698         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27699         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27700         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27701         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27702         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27703         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27704         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27705         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27706         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27708         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
27710 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27712         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27713         Remove strpbrk objects.
27714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27715         (__libc_ifunc_impl_list): Remove strpbrk implementation.
27716         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
27717         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
27718         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
27719         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
27721         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27722         Remove strcspn objects.
27723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27724         (__libc_ifunc_impl_list): Remove strcspn implementation.
27725         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
27726         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
27727         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
27728         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
27730         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27731         Remove strspn objetcs.
27732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27733         (__libc_ifunc_impl_list): Remove strspn implementation.
27734         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
27735         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
27736         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
27737         * sysdeps/powerpc/powerpc64/strspn.S: New file.
27739 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
27741         [BZ #17581]
27742         * malloc/hooks.c
27743         (mem2mem_check): Add a terminator to the chain of checking blocks.
27744         (malloc_check_get_size): Use it here.
27745         (mem2chunk_check): Ditto.
27747 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27749         * sysdeps/powerpc/powerpc64/strtok.S: New file.
27750         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
27752 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
27754         * bits/ioctl-types.h: Indent preprocessor directives correctly.
27756         * nptl/nptl-init.c: Include libc-internal.h.
27757         (__pthread_initialize_minimal_internal): Use ROUND_UP.
27759         * elf/ldconfig.c (search_dir): Expand comment.
27761 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
27763         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
27764         variable.
27765         (linknamespace-symlist-stdlibs-tests): Likewise.
27766         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
27767         instead of $(objpfx)symlist-stdlibs.
27768         (linknamespace-libs-isoc): New variable.
27769         (linknamespace-libs): Use $(linknamespace-libs-isoc).
27770         (linknamespace-libs-ISO): New variable.
27771         (linknamespace-libs-ISO99): Likewise.
27772         (linknamespace-libs-ISO11): Likewise.
27773         (linknamespace-libs-XPG3): Likewise.
27774         (linknamespace-libs-XPG4): Likewise.
27775         (linknamespace-libs-POSIX): Likewise.
27776         (linknamespace-libs-UNIX98): Likewise.
27777         (linknamespace-libs-XOPEN2K): Likewise.
27778         (linknamespace-libs-POSIX2008): Likewise.
27779         (linknamespace-libs-XOPEN2K8): Likewise.
27780         ($(objpfx)symlist-stdlibs): Replace by
27781         $(linknamespace-symlist-stdlibs-tests).  Use
27782         $(linknamespace-libs-$*) as set of libraries.
27783         ($(linknamespace-header-tests)): Update dependencies.  Use
27784         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
27785         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
27786         * conform/linknamespace.pl: Remove comment about considering
27787         definitions of symbols from irrelevant libraries.
27789 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
27791         [BZ #13862]
27792         * elf/dl-tls.c: Include <atomic.h>.
27793         (oom): Remove #ifdef SHARED/#endif.
27794         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
27795         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
27796         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
27797         big enough.
27798         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
27799         * nptl/Makefile (tests): Add tst-stack4.
27800         (modules-names): Add tst-stack4mod.
27801         ($(objpfx)tst-stack4): New.
27802         (tst-stack4mod.sos): Likewise.
27803         ($(objpfx)tst-stack4.out): Likewise.
27804         ($(tst-stack4mod.sos)): Likewise.
27805         (clean): Likewise.
27806         * nptl/tst-stack4.c: New file.
27807         * nptl/tst-stack4mod.c: Likewise.
27809 2014-11-27  J. Brown  <jb999@gmx.de>
27811         * sysdeps/x86/bits/string.h: Add recent CPUs.
27813 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27815         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
27816         sigblock.
27818         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
27819         feof.
27821         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
27822         variable.
27824 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
27826         * nscd/connections.c: Include libc-internal.h because of macro
27827         usage ignore_value.
27829 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27831         * string/bits/string3.h (__warn_memset_zero_len): Don't
27832         declare for gcc newer than 5.0.
27833         (memset): Don't test for zero-length __LEN for gcc newer than
27834         5.0.
27836 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
27838         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
27839         size_t for %zu format.
27841         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
27842         difference, not %ju.
27844 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27846         * include/libc-internal.h (ignore_value): New macro.
27847         * nscd/connections.c (restart): Wrap calls to setuid and setgid
27848         with ignore_value.
27850         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
27851         definition.
27853         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
27854         pthread_cleanup_push to void *.
27856         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
27857         Undefine.
27859         [BZ #16619]
27860         [BZ #16740]
27861         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
27862         instead of 1L << 52.
27864         * libio/bug-rewind.c (do_test): Check fwscanf return values.
27865         * libio/bug-rewind2.c (do_test): Likewise.
27867         * debug/test-stpcpy_chk-ifunc.c: Remove file.
27868         * debug/test-strcpy_chk-ifunc.c: Likewise.
27869         * wcsmbs/test-wcschr-ifunc.c: Likewise.
27870         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27871         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27872         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27873         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27874         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27875         * Rules [$(multi-arch) = no] (tests): Do not filter out
27876         $(tests-ifunc).
27877         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
27878         * debug/Makefile (tests-ifunc): Remove variable.
27879         (tests): Do not add $(tests-ifunc).
27880         * wcsmbs/Makefile (tests-ifunc): Remove variable.
27881         (tests): Do not add $(tests-ifunc).
27882         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
27883         [TEST_IFUNC]: Remove conditionals.
27884         * string/test-string.h (TEST_IFUNC): Remove macro.
27885         [TEST_IFUNC]: Remove conditionals.
27887         * string/test-strchr.c [!WIDE] (L): New macro.
27888         [WIDE] (L): Likewise.
27889         (check1): Use CHAR instead of char.  Use L on string and character
27890         constants.
27892 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
27894         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
27895         tests.
27896         * sysdeps/powerpc/bits/atomic.h
27897         (__arch_atomic_exchange_and_add_32_acq): Add definition.
27898         (__arch_atomic_exchange_and_add_32_rel): Likewise.
27899         (atomic_exchange_and_add_acq): Likewise.
27900         (atomic_exchange_and_add_rel): Likewise.
27901         * sysdeps/powerpc/powerpc32/bits/atomic.h
27902         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27903         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27904         * sysdeps/powerpc/powerpc64/bits/atomic.h
27905         (__arch_atomic_exchange_and_add_64_acq): Add definition.
27906         (__arch_atomic_exchange_and_add_64_rel): Likewise.
27908 2014-11-26  Torvald Riegel  <triegel@redhat.com>
27910         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27911         Change synchronization of __sched_fifo_min_prio and
27912         __sched_fifo_max_prio.
27913         * nptl/pthread_mutexattr_getprioceiling.c
27914         (pthread_mutexattr_getprioceiling): Likewise.
27915         * nptl/pthread_mutexattr_setprioceiling.c
27916         (pthread_mutexattr_setprioceiling): Likewise.
27917         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
27918         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
27919         Likewise.
27921 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
27923         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
27924         void.
27926 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27928         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
27929         third argument const.
27931 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
27933         fnmatch: work around GCC compiler warning bug with uninit var
27934         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
27935         This works around a bug with x86-64 GCC 4.9.2 and earlier
27936         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
27937         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
27938         used uninitialized in this function [-Wmaybe-uninitialized]".
27940 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
27942         * posix/bug-regex31.c (main): Return RES not 0.
27944 2014-11-25  Anton Blanchard <anton@samba.org>
27946         * sysdeps/powerpc/bits/atomic.h
27947         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
27949 2014-11-24  Sterling Augustine  <saugustine@google.com>
27951         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
27953 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
27955         [BZ #17608]
27956         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
27958 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
27960         [BZ #17633]
27961         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
27962         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
27963         variable.
27964         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27965         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27967 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27969         * string/strncpy.c (strncpy): Improve performance by using memset.
27971 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
27973         * string/strcpy.c (strcpy):
27974         Improve performance by using strlen and memcpy.
27976 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
27978         * string/strcoll_l.c (get_next_seq): __always_inline.
27979         * string/strcoll_l.c (do_compare): __always_inline.
27981 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27983         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
27984         defined.
27985         * include/mqueue.h: Likewise.
27986         * include/stdlib.h: Likewise.
27988         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
27989         (get_null_defines): Adjust.
27990         * sunrpc/Makefile: Adjust comment.
27991         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
27992         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
27993         (CFLAGS-interp.c): Likewise.
27994         (CFLAGS-ldconfig.c): Likewise.
27995         (CPPFLAGS-.os): Likewise.
27996         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27997         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
27998         * extra-modules.mk (extra-modules.mk): Likewise.
27999         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28000         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28001         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
28002         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
28003         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
28004         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
28005         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
28006         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
28007         * iconvdata/Makefile (CPPFLAGS): Likewise.
28008         (cpp-srcs-left): Add libof for all iconvdata routines.
28009         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28010         * include/assert.h: Likewise.
28011         * include/ctype.h: Likewise.
28012         * include/errno.h: Likewise.
28013         * include/libc-symbols.h: Likewise.
28014         * include/math.h: Likewise.
28015         * include/netdb.h: Likewise.
28016         * include/resolv.h: Likewise.
28017         * include/stdio.h: Likewise.
28018         * include/stdlib.h: Likewise.
28019         * include/string.h: Likewise.
28020         * include/sys/stat.h: Likewise.
28021         * include/wctype.h: Likewise.
28022         * intl/l10nflist.c: Likewise.
28023         * libidn/idn-stub.c: Likewise.
28024         * libio/libioP.h: Likewise.
28025         * nptl/libc_multiple_threads.c: Likewise.
28026         * nptl/pthreadP.h: Likewise.
28027         * posix/regex_internal.h: Likewise.
28028         * resolv/res_hconf.c: Likewise.
28029         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28030         * sysdeps/arm/memmove.S: Likewise.
28031         * sysdeps/arm/sysdep.h: Likewise.
28032         * sysdeps/generic/_itoa.h: Likewise.
28033         * sysdeps/generic/symbol-hacks.h: Likewise.
28034         * sysdeps/gnu/errlist.awk: Likewise.
28035         * sysdeps/gnu/errlist.c: Likewise.
28036         * sysdeps/i386/i586/memcpy.S: Likewise.
28037         * sysdeps/i386/i586/memset.S: Likewise.
28038         * sysdeps/i386/i686/memcpy.S: Likewise.
28039         * sysdeps/i386/i686/memmove.S: Likewise.
28040         * sysdeps/i386/i686/mempcpy.S: Likewise.
28041         * sysdeps/i386/i686/memset.S: Likewise.
28042         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28043         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28044         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28045         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28046         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28047         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28048         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28049         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28050         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28051         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28052         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28053         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28054         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28055         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28056         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28057         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28058         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28059         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28060         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28061         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28062         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28063         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28064         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28065         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28066         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28067         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28068         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28069         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28070         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28071         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28072         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28073         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28074         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28075         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28076         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28077         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28078         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28079         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28080         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28081         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28082         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28083         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28084         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28085         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28086         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28087         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28088         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28089         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28090         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28091         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28092         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28093         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28094         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28095         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28096         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28097         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28098         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28099         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28100         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28101         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28102         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28103         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28104         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28105         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28106         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28107         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28108         * sysdeps/posix/closedir.c: Likewise.
28109         * sysdeps/posix/opendir.c: Likewise.
28110         * sysdeps/posix/readdir.c: Likewise.
28111         * sysdeps/posix/rewinddir.c: Likewise.
28112         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28113         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28114         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28115         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28116         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28117         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28118         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28119         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28120         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28121         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28122         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28123         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28124         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28125         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28126         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28127         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28128         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28129         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28130         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28131         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28132         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28133         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28134         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28135         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28136         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28137         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28138         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28139         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28140         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28143         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28144         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28146         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28147         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28148         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28149         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28150         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28151         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28152         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28153         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28154         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28155         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28156         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28157         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28158         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28159         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28160         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28161         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28162         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28163         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28164         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28165         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28166         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28167         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28168         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28169         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28170         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28171         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28172         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28173         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28174         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28175         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28176         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28177         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28178         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28179         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28180         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28181         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28182         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28183         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28184         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28185         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28186         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28187         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28188         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28189         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28190         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28191         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28192         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28193         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28194         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28195         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28196         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28197         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28198         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28199         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28200         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28201         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28202         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28203         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28204         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28205         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28206         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28207         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28208         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28209         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28210         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28211         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28212         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28213         * sysdeps/unix/alpha/sysdep.S: Likewise.
28214         * sysdeps/unix/alpha/sysdep.h: Likewise.
28215         * sysdeps/unix/make-syscalls.sh: Likewise.
28216         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28217         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28218         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28219         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28220         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28221         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28222         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28223         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28224         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28225         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28226         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28227         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28228         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28229         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28230         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28231         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28232         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28233         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28234         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28235         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28236         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28237         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28238         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28239         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28240         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28241         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28242         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28245         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28246         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28247         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28248         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28250         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28252         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28253         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28254         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28255         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28256         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28257         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28258         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28259         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28260         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28261         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28262         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28263         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28264         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28265         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28266         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28267         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28268         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28269         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28270         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28271         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28272         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28274         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28275         * sysdeps/x86_64/memcpy.S: Likewise.
28276         * sysdeps/x86_64/memmove.c: Likewise.
28277         * sysdeps/x86_64/memset.S: Likewise.
28278         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28279         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28280         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28281         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28282         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28283         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28284         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28285         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28286         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28287         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28288         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28289         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28290         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28291         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28292         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28293         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28294         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28295         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28296         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28297         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28298         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28299         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28300         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28301         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28302         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28303         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28304         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28305         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28306         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28307         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28308         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28309         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28310         * sysdeps/x86_64/strcmp.S: Likewise.
28312         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28314         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28315         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28316         * elf/rtld-Rules: Likewise.
28317         * elf/setup-vdso.h: Likewise.
28318         * include/assert.h: Likewise.
28319         * include/bits/stdlib-float.h: Likewise.
28320         * include/errno.h: Likewise.
28321         * include/sys/stat.h: Likewise.
28322         * include/unistd.h: Likewise.
28323         * sysdeps/aarch64/setjmp.S: Likewise.
28324         * sysdeps/alpha/setjmp.S: Likewise.
28325         * sysdeps/arm/__longjmp.S: Likewise.
28326         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28327         * sysdeps/arm/setjmp.S: Likewise.
28328         * sysdeps/arm/sysdep.h: Likewise.
28329         * sysdeps/generic/_itoa.h: Likewise.
28330         * sysdeps/generic/dl-sysdep.h: Likewise.
28331         * sysdeps/generic/ldsodefs.h: Likewise.
28332         * sysdeps/i386/dl-tls.h: Likewise.
28333         * sysdeps/i386/setjmp.S: Likewise.
28334         * sysdeps/m68k/setjmp.c: Likewise.
28335         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28336         * sysdeps/mach/hurd/opendir.c: Likewise.
28337         * sysdeps/posix/getcwd.c: Likewise.
28338         * sysdeps/posix/opendir.c: Likewise.
28339         * sysdeps/posix/profil.c: Likewise.
28340         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28341         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28342         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28343         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28344         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28345         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28346         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28347         * sysdeps/s390/dl-tls.h: Likewise.
28348         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28349         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28350         * sysdeps/sh/sh3/setjmp.S: Likewise.
28351         * sysdeps/sh/sh4/setjmp.S: Likewise.
28352         * sysdeps/unix/alpha/sysdep.h: Likewise.
28353         * sysdeps/unix/arm/sysdep.S: Likewise.
28354         * sysdeps/unix/i386/sysdep.S: Likewise.
28355         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28356         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28357         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28358         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28359         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28360         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28361         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28362         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28363         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28364         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28365         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28366         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28367         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28370         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28371         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28372         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28373         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28374         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28375         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28376         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28377         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28378         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28379         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28380         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28381         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28382         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28383         * sysdeps/x86_64/setjmp.S: Likewise.
28385         * include/math.h: Use IS_IN instead of IS_IN_libm.
28386         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28387         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28388         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28389         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28390         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28391         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28392         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28393         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28394         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28395         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28396         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28397         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28398         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28399         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28400         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28401         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28402         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28403         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28404         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28405         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28406         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28407         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28408         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28409         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28410         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28411         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28412         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28413         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28414         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28415         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28416         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28417         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28418         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28420         Likewise.
28421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28422         Likewise.
28423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28424         Likewise.
28425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28426         Likewise.
28427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28428         Likewise.
28429         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28430         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28431         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28432         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28433         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28434         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28440         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28441         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28442         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28443         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28444         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28445         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28446         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28447         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28448         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28449         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28450         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28451         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28452         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28453         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28455         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28457         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28458         * nptl/pthreadP.h: Likewise.
28459         * nptl_db/structs.def: Likewise.
28460         * sysdeps/arm/sysdep.h: Likewise.
28461         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28462         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28463         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28464         * sysdeps/unix/alpha/sysdep.h: Likewise.
28465         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28466         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28467         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28468         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28469         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28470         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28471         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28472         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28473         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28474         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28475         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28476         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28477         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28478         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28481         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28482         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28483         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28484         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28485         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28486         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28487         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28488         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28489         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28490         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28492         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28493         * nptl/pthreadP.h: Likewise.
28494         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28495         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28496         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28497         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28498         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28499         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28500         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28501         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28502         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28503         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28504         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28505         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28507         Likewise.
28508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28509         Likewise.
28510         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28511         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28512         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28513         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28514         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28515         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28516         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28517         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28519         * dlfcn/dladdr.c: Use IS_IN.
28520         * dlfcn/dladdr1.c: Likewise.
28521         * dlfcn/dlclose.c: Likewise.
28522         * dlfcn/dlerror.c: Likewise.
28523         * dlfcn/dlinfo.c: Likewise.
28524         * dlfcn/dlmopen.c: Likewise.
28525         * dlfcn/dlopen.c: Likewise.
28526         * dlfcn/dlsym.c: Likewise.
28527         * dlfcn/dlvsym.c: Likewise.
28529         * include/ifaddrs.h: Use IS_IN.
28530         * inet/check_pf.c: Likewise.
28531         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28532         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
28534         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
28535         IS_IN_ldconfig.
28536         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
28537         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
28539         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
28540         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
28541         IS_IN (libc).
28543         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
28545         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
28546         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28547         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28548         * include/libc-symbols.h (IS_IN_LIB): New macro.
28549         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
28550         * include/netdb.h: Likewise.
28551         * include/stap-probe.h: Remove all uses of IN_LIB.
28553         * Makeconfig (module-cppflags-real): Define MODULE_NAME
28554         instead of IN_MODULE.
28555         * include/libc-symbols.h (IN_MODULE): Define using
28556         MODULE_NAME.
28557         (PASTE_NAME, PASTE_NAME1): New macros.
28558         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
28559         of IN_LIB.
28560         (STAP_PROBE_ASM): Likewise.
28562 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28564         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
28565         __mach_init in dlopened libc.
28567 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
28569         * sysdeps/arm/preconfigure.ac: Delete EABI check.
28570         * sysdeps/arm/preconfigure: Regenerate.
28572 2014-11-21  Roland McGrath  <roland@hack.frob.com>
28574         * nptl/pthread_create.c (__pthread_create_2_1): Set
28575         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
28576         when copying values from IATTR into PD.
28578 2014-11-21  Will Newton  <will.newton@linaro.org>
28579             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
28581         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
28582         Refactor inline-asm.  Also add comment.
28584         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
28585         ElfW macro instead of hardcoded Elf64 types.
28586         (la_aarch64_gnu_pltenter): Likewise.
28587         * sysdeps/aarch64/dl-machine.h
28588         (elf_machine_runtime_setup): Use ElfW(Addr).
28590         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
28591         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
28592         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
28593         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
28594         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
28595         (R_AARCH64_TLS_DTPMOD64): Rename to ..
28596         (R_AARCH64_TLS_DTPMOD): This.
28597         (R_AARCH64_TLS_DTPREL64): Rename to ...
28598         (R_AARCH64_TLS_DTPREL): This.
28599         (R_AARCH64_TLS_TPREL64): Rename to ...
28600         (R_AARCH64_TLS_TPREL): This.
28601         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
28602         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
28603         R_AARCH64_TLS_TPREL64.
28604         (elf_machine_rela): Likewise.
28606 2014-11-21  Torvald Riegel  <triegel@redhat.com>
28608         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
28609         by setting it to 0.  64b atomics are not supported currently.
28611 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28613         [BZ #16469]
28614         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
28615         search domain names.
28617 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28619         [BZ #16469]
28620         * NEWS: Update.
28621         * resolv/res_query.c (__libc_res_nquerydomain): Retain
28622         trailing dot.
28623         * posix/tst-getaddrinfo5.c: New.
28624         * posix/Makefile (tests): Add it.
28626 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28628         [BZ #14498]
28629         * NEWS: Fixed.
28630         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
28631         after parsing line but before break_if_match.
28632         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28633         if there is a protocol mismatch.
28635 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
28637         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28638         because the potential race is on the user-supplied stream.
28640 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28642         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
28643         string literal if not passed a buffer.
28644         * manual/job.texi (ctermid): Update reasoning, note deviation
28645         from posix, suggest mtasurace when not passed a buffer, for
28646         future non-preliminary safety notes.
28648 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28650         * manual/users.texi (cuserid): Fix MT-Safety note for the case
28651         of not passing it a buffer.
28652         Reported by Peng Haitao.
28654 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
28656         * manual/Makefile ($(objpfx)stamp-summary): Require
28657         check-safety.sh to pass.
28658         * manual/check-safety.sh: Wish for verification that every
28659         @deftypefn and @deftypefun is followed by a @safety remark.
28661 2014-11-20  Roland McGrath  <roland@hack.frob.com>
28663         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
28665         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
28666         PTHREAD_CANCEL_ASYNCHRONOUS.
28667         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
28668         send SIGCANCEL.
28670         * nptl/default-sched.h: New file.
28671         * sysdeps/unix/sysv/linux/default-sched.h: New file.
28672         * nptl/pthread_create.c: Include it.
28673         (__pthread_create_2_1): Use collect_default_sched instead of making
28674         Linux syscalls here directly.
28676 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28678         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
28679         __pthread_once): Use C11 atomics.
28681 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28683         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
28685 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28687         * include/atomic.h (__atomic_link_error, __atomic_check_size,
28688         atomic_thread_fence_acquire, atomic_thread_fence_release,
28689         atomic_thread_fence_seq_cst, atomic_load_relaxed,
28690         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
28691         atomic_compare_exchange_weak_relaxed,
28692         atomic_compare_exchange_weak_acquire,
28693         atomic_compare_exchange_weak_release,
28694         atomic_exchange_acquire, atomic_exchange_release,
28695         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
28696         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
28697         atomic_fetch_and_acquire,
28698         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
28700 2014-11-20  Torvald Riegel  <triegel@redhat.com>
28702         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
28703         USE_ATOMIC_COMPILER_BUILTINS): Define.
28704         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
28705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28706         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
28707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28708         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
28709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28710         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
28711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28712         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
28713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28714         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
28715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28716         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
28717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28718         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
28719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28720         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28722         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28724         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
28725         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28726         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
28727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28728         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
28729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28730         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
28731         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28732         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
28733         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28734         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
28735         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28736         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
28737         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28738         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
28739         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28740         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
28741         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28742         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
28743         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
28745 2014-11-19  Roland McGrath  <roland@hack.frob.com>
28747         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
28748         the sched_priority value here.  It was already checked when the user
28749         called pthread_attr_setschedparam.
28751         * nptl/tst-bad-schedattr.c: New file.
28752         * nptl/Makefile (tests): Add it.
28754 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
28755             Florian Weimer  <fweimer@redhat.com>
28756             Joseph Myers  <joseph@codesourcery.com>
28757             Adam Conrad  <adconrad@0c3.net>
28758             Andreas Schwab  <schwab@suse.de>
28759             Brooks  <bmoses@google.com>
28761         [BZ #17625]
28762         * wordexp-test.c (__dso_handle): Add prototype.
28763         (__register_atfork): Likewise.
28764         (__app_register_atfork): New function.
28765         (registered_forks): New global.
28766         (register_fork): New function.
28767         (test_case): Add 3 new tests for WRDE_CMDSUB.
28768         (main): Call __app_register_atfork.
28769         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
28770         fork count is non-zero fail the test.
28771         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
28772         is set.
28773         (parse_dollars): Remove check for WRDE_NOCMD.
28774         (parse_dquote): Likewise.
28776 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28778         * Makeconfig (built-modules): List non-library modules to be
28779         built.
28780         (module-cppflags): Include libc-modules.h for
28781         everything except shlib-versions.v.i.
28782         (CPPFLAGS): Use it.
28783         (before-compile): Add libc-modules.h.
28784         ($(common-objpfx)libc-modules.h,
28785         $(common-objpfx)libc-modules.stmp): New targets.
28786         (common-generated): Add libc-modules.h and libc-modules.stmp.
28787         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
28788         * include/libc-symbols.h: Don't include libc-modules.h.
28789         * include/libc-modules.h: Remove file.
28790         * scripts/gen-libc-modules.awk: New script to generate
28791         libc-modules.h.
28792         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
28793         Depend on libc-modules.stmp.
28795         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
28797         * Makeconfig (in-module): Get value of libof set for the
28798         translation unit.
28799         (CPPFLAGS): Use $(in-module).
28800         * Makerules: Don't suffix routine names for nonlib.
28801         * include/libc-modules.h: New file.
28802         * include/libc-symbols.h: Include libc-modules.h
28803         (IS_IN): New macro to replace IS_IN_* macros.
28804         * elf/Makefile: Set libof-* for each routine.
28805         * elf/rtld-Rules: Likewise.
28806         * extra-modules.mk: Likewise.
28807         * iconv/Makefile: Likewise.
28808         * iconvdata/Makefile: Likewise.
28809         * locale/Makefile: Likewise.
28810         * malloc/Makefile: Likewise.
28811         * nss/Makefile: Likewise.
28812         * sysdeps/gnu/Makefile: Likewise.
28813         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
28814         * sysdeps/unix/sysv/linux/Makefile: Likewise.
28815         * sysdeps/s390/s390-64/Makefile: Likewise.
28816         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
28817         CPPFLAGS for nscd instead of nonlib.
28819 2014-11-18  Roland McGrath  <roland@hack.frob.com>
28821         * nptl/createthread.c: New file.
28823         * nptl/createthread.c: Moved ...
28824         * sysdeps/unix/sysv/linux/createthread.c: ... here.
28826         * nptl/createthread.c: Add proper top-line comment.
28827         (do_clone): Folded into ...
28828         (create_thread): ... here.  Take new arguments STOPPED_START and
28829         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
28830         increment __nptl_threads, do event-reporting logic, do
28831         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
28832         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
28833         resource cleanup if sched_setaffinity or sched_setscheduler fails,
28834         just send SIGCANCEL.
28835         * nptl/pthread_create.c: Forward-declare create_thread before
28836         including createthread.c.
28837         (start_thread): Use new macro START_THREAD_DEFN to replace defining
28838         declaration, and new macro START_THREAD_SELF to replace argument.
28839         Remove return statement.
28840         (report_thread_creation): New function.
28841         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
28842         synchronization logic, and __nptl_nthreads increment here, around
28843         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
28844         PD->parent_cancelhandling here, before create_thread.  When
28845         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
28846         __deallocate_stack, and ENOMEM translation here.
28848 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
28850         [BZ #17616]
28851         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
28852         (mptwo): Rename to __mptwo.
28853         (__inv): Use __mptwo instead of mptwo.
28854         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
28855         (mptwo): Rename to __mptwo.
28856         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
28857         of mpone and __mptwo instead of mptwo.
28858         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
28859         instead of mpone.
28860         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28861         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
28862         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
28863         of mpone and __mptwo instead of mptwo.
28864         (__mpranred): Use __mpone instead of mpone.
28865         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
28866         variable.
28867         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
28868         (test-xfail-ISO99/math.h/linknamespace): Likewise.
28869         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
28870         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
28871         (test-xfail-ISO11/math.h/linknamespace): Likewise.
28872         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
28873         (test-xfail-XPG3/math.h/linknamespace): Likewise.
28874         (test-xfail-XPG4/math.h/linknamespace): Likewise.
28875         (test-xfail-POSIX/math.h/linknamespace): Likewise.
28876         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
28877         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
28878         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
28879         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
28880         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
28881         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
28882         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
28883         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
28884         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
28885         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
28887 2014-11-18  Tom de Vries  <tom@codesoucery.com>
28889         * manual/signal.texi (Primitives Interrupted by Signals): In section,
28890         replace BSD Handler xref with BSD Signal Handling.
28892 2014-11-17  Richard Henderson  <rth@redhat.com>
28894         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
28895         (_FP_PACK_RAW_2): Remove.
28896         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
28897         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
28898         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
28899         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
28900         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
28901         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
28902         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
28903         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
28904         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
28905         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
28906         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
28907         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
28908         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
28909         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
28910         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
28911         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
28913 2014-11-14  Roland McGrath  <roland@hack.frob.com>
28915         * signal/signal.h [__USE_MISC]
28916         (struct sigvec): Remove type.
28917         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
28918         (sigvec): Remove declaration.
28919         * sysdeps/posix/sigvec.c: Moved ...
28920         * signal/sigvec.c: ... here, replacing old file.
28921         (struct sigvec): New type, copied from old signal.h definition.
28922         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
28923         (__sigvec): Convert definition to prototype.
28924         (sigvec): Replace weak_alias with compat_symbol.
28925         * signal/Versions (libc: GLIBC_2.21): New version set.
28926         * include/signal.h: Remove __sigvec declaration.
28927         * sysdeps/unix/bsd/sigvec.c: Remove file.
28928         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
28929         * manual/signal.texi (BSD Handler): Remove subsection.
28930         Move siginterrupt up to ...
28931         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
28932         (Blocking in BSD): Fold subsection into its parent.
28933         * NEWS: Mention sigvec removal.
28935 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28937         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
28938         (DLA_FMS): Make definition conditional only on [__FMA4__].
28939         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
28940         definition.
28942         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
28943         Make definition conditional only on [PROF].
28944         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
28945         definition.
28946         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
28947         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
28949         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
28950         !__GNUC__].
28951         * include/signal.h (__sigpause): Move declaration above call to
28952         libc_hidden_proto.
28953         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
28954         variable.
28955         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
28956         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
28958 2014-11-14  David S. Miller  <davem@davemloft.net>
28960         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
28961         Define before including <string/memcpy.c> and <string/mempcpy.c>.
28963 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
28965         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
28966         * configure: Regenerated.
28967         * manual/install.texi (Tools for Compilation): Document a
28968         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
28969         compiler verified to work.
28970         * INSTALL: Regenerated.
28972         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
28973         redeclare with asm name.
28974         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
28975         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
28976         including <string.h>.
28977         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28978         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
28979         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28980         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
28981         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28982         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
28983         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
28985 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
28987         * stdlib/strtol.c (__strtol): Use prototype definition.
28989         [BZ #17594]
28990         * stdlib/strtol.c (SYM__): New macro.
28991         (SYM__1): Likewise.
28992         (__strtol): Likewise.
28993         (strtol): Rename to __strtol and define as weak alias of
28994         __strtol.  Use libc_hidden_weak.
28996 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28998         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
28999         Use numbered labels in inline assembly.
29001 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29003         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
29004         Add setjmp LIBC_PROBE.
29005         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
29006         Likewise.
29007         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
29008         Add longjmp, longjmp_target LIBC_PROBE.
29009         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29010         Likewise.
29012 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29014         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29015         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29016         to get rid of unused variable warning.
29018 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29020         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29021         Check for unwind_backtrace ==  NULL only in SHARED case.
29022         (__backchain_backtrace): Compile only in SHARED case.
29023         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29024         Likewise.
29025         (__backchain_backtrace): Declare as static.
29027 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29029         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29030         (__libc_multiple_threads_ptr): Variable moved ...
29031         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29033 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29035         * conform/GlibcConform.pm: New file.
29036         * conform/conformtest.pl: Use GlibcConform module.
29037         * conform/linknamespace.pl: New file.
29038         * conform/list-header-symbols.pl: Likewise.
29039         * conform/Makefile (linknamespace-symlists-base): New variable.
29040         (linknamespace-symlists-tests): Likewise.
29041         (linknamespace-header-base): Likewise.
29042         (linknamespace-header-tests): Likewise.
29043         (tests-special): Add new tests.
29044         ($(linknamespace-symlists-tests)): New rule.
29045         (linknamespace-libs): New variable.
29046         ($(objpfx)symlist-stdlibs): New rule.
29047         ($(linknamespace-header-tests)): Likewise.
29048         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29049         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29050         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29051         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29052         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29053         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29054         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29055         (test-xfail-ISO/math.h/linknamespace): Likewise.
29056         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29057         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29058         (test-xfail-ISO/time.h/linknamespace): Likewise.
29059         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29060         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29061         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29062         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29063         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29064         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29065         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29066         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29067         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29068         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29069         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29070         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29071         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29072         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29073         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29074         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29075         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29076         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29077         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29078         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29079         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29080         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29081         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29082         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29083         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29084         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29085         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29086         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29087         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29088         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29089         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29090         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29091         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29092         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29093         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29094         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29095         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29096         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29097         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29098         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29099         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29100         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29101         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29102         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29103         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29104         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29105         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29106         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29107         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29108         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29109         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29110         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29111         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29112         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29113         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29114         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29115         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29116         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29117         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29118         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29119         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29120         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29121         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29122         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29123         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29124         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29125         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29126         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29127         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29128         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29129         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29130         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29131         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29132         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29133         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29134         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29135         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29136         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29137         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29138         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29139         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29140         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29141         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29142         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29143         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29144         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29145         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29146         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29147         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29148         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29149         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29150         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29151         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29152         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29153         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29154         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29155         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29156         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29157         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29158         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29159         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29160         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29161         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29162         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29163         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29164         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29165         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29166         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29167         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29168         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29169         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29170         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29171         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29172         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29173         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29174         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29175         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29176         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29177         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29178         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29179         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29180         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29181         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29182         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29183         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29184         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29185         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29186         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29187         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29188         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29189         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29190         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29191         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29192         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29193         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29194         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29195         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29196         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29197         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29198         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29199         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29200         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29201         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29202         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29203         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29204         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29205         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29206         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29207         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29208         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29210         [BZ #17589]
29211         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29212         of fgets_unlocked.
29214         [BZ #17585]
29215         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29216         (memmem): Rename to __memmem and define as weak alias of
29217         __memmem.  Use libc_hidden_weak.
29218         (__memmem): Use libc_hidden_def.
29219         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29220         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29221         memmem.
29223         [BZ #17582]
29224         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29225         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29226         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29227         and define as weak alias of __fgets_unlocked.  Use
29228         libc_hidden_weak.
29229         (__fgets_unlocked): Use libc_hidden_def.
29230         * include/stdio.h (__fgets_unlocked): Declare.  Use
29231         libc_hidden_proto.
29232         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29233         __fgets_unlocked instead of fgets_unlocked.
29234         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29235         (GET_NPROCS_CONF_PARSER): Likewise.
29236         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29237         (GET_NPROCS_CONF_PARSER): Likewise.
29239         [BZ #17574]
29240         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29241         weak alias of __wmemset.  Use libc_hidden_weak.
29242         (__wmemset): Use libc_hidden_def.
29243         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29244         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29245         of wmemset.
29247         [BZ #17573]
29248         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29249         with asm name __mempcpy.
29250         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29252         [BZ #17572]
29253         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29254         and define as weak alias of __rawmemchr.
29255         (__rawmemchr): Do not define as strong alias of rawmemchr.
29257         [BZ #17571]
29258         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29259         alias of __qsort_r.
29260         (qsort): Call __qsort_r instead of qsort_r.
29261         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29262         (__qsort_r): Declare.  Call libc_hidden_proto.
29263         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29264         instead of qsort_r.
29265         * nscd/gai.c (__qsort_r): Define to qsort_r.
29266         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29267         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29268         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29270         [BZ #17570]
29271         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29272         define as weak alias of __malloc_info.
29274         [BZ #17584]
29275         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29276         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29277         (__rewinddir): Use libc_hidden_def.
29278         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29279         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29280         (__rewinddir): Use libc_hidden_def.
29281         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29282         weak alias of __rewinddir.  Don't use libc_hidden_def.
29283         (__rewinddir): Use libc_hidden_def.
29284         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29285         (__rewinddir): Use libc_hidden_proto.
29286         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29287         rewinddir.
29288         (__getcwd): Use __rewinddir instead of rewinddir.
29290         [BZ #17583]
29291         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29292         alias of __fileno.  Use libc_hidden_weak.
29293         (__fileno): Use libc_hidden_def.
29294         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29295         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29296         alias of __ftello.
29297         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29298         __ftello.
29299         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29300         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29301         libc_hidden_def.
29302         (fread_unlocked): Don't use libc_hidden_ver.
29303         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29304         and define as weak alias of __fread_unlocked.  Don't use
29305         libc_hidden_def.
29306         (__fread_unlocked): Use libc_hidden_def.
29307         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29308         (ftello): Don't use libc_hidden_proto.
29309         (__ftello): Declare.  Use libc_hidden_proto.
29310         (fread_unlocked): Don't use libc_hidden_proto.
29311         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29312         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29313         and __ftello instead of fileno, fread_unlocked and ftello.
29315 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29317         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29318         GOT12.
29319         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29320         Likewise.
29321         (_dl_start_user): Likewise.
29322         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29324 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29325             Siddhesh Poyarekar  <siddhesh@redhat.com>
29327         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29328         Move argv and envp down instead of moving argc up.
29329         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29331 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29333         [BZ #17506]
29334         * test-skeleton.c (main): Return successful if one of
29335         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29336         * string/tst-strcoll-overflow.c: Define expected status.
29338 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29340         [BZ #17475]
29341         * locale/iso-639.def: Define Bhili and Tulu language codes.
29343 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29345         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29347 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29349         [BZ #17555]
29350         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29352 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29354         * configure.ac: Updated check of minimal required version to
29355         2.22.
29356         * manual/install.texi (Tools for Compilation): Updated version
29357         number.
29358         * configure: Regenerated.
29359         * INSTALL: Likewise.
29361 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29363         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29364         __tls_get_addr.
29366 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29368         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29369         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29370         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29371         libc_hidden_weak.
29372         (waitpid): Define as alias of __waitpid.
29373         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29374         __waitpid.
29375         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29376         libc_hidden_weak.
29377         (waitpid): Define as alias of __waitpid.
29378         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29379         __libc_waitpid alias.
29380         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29381         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29382         Likewise.
29383         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29384         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29385         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29386         alias.
29387         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29388         __waitpid.
29389         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29390         libc_hidden_weak.
29391         (waitpid): Define as alias of __waitpid.
29393 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29395         * manual/llio.texi: Add comment that write safety has been
29396         fixed in Linux.
29398         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29399         (localplt-build-dso): Add elf/ld.so.
29400         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29401         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29402         and free for ld.so.
29403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29404         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29406         Likewise.
29407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29408         Likewise.
29409         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29410         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29411         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29412         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29413         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29414         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29415         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29416         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29417         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29418         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29419         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29421 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29423         [BZ #14132]
29424         * include/libc-symbols.h (INTUSE): Remove macro.
29425         (INTDEF): Likewise.
29426         (INTVARDEF): Likewise.
29427         (_INTVARDEF): Likewise.
29428         (INTDEF2): Likewise.
29429         (INTVARDEF2): Likewise.
29430         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29431         rtld_hidden_def instead of INTVARDEF.
29432         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29433         (_dl_starting_up_internal): Remove declaration.
29434         (_dl_starting_up): Use rtld_hidden_proto.
29435         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29436         declaration.
29437         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29438         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29439         _dl_starting_up.
29440         * elf/dl-writev.h (_dl_writev): Likewise.
29441         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29442         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29443         _dl_starting_up_internal.
29445 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29447         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29448         test-skeleton.c.
29450 2014-11-05  Will Newton  <will.newton@linaro.org>
29452         * benchtests/Makefile: (bench-malloc): Add malloc thread
29453         scalability benchmark.
29454         * benchtests/bench-malloc-threads.c: New file.
29456 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29458         * sysdeps/aarch64/strchrnul.S: New file.
29460 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29462         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29463         definition.
29464         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29465         Likwise.
29466         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29467         Likewise.
29468         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29469         Likewise.
29470         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29471         Likewise.
29472         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29473         Likewise.
29475 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29477         * catgets/test-gencat.c: Use test-skeleton.c.
29478         * catgets/tst-catgets.c: Likewise.
29479         * csu/tst-empty.c: Likewise.
29480         * elf/tst-audit2.c: Likewise.
29481         * elf/tst-global1.c: Likewise.
29482         * elf/tst-pathopt.c: Likewise.
29483         * elf/tst-piemod1.c: Likewise.
29484         * elf/tst-tls10.c: Likewise.
29485         * elf/tst-tls11.c: Likewise.
29486         * elf/tst-tls12.c: Likewise.
29487         * gnulib/tst-gcc.c: Likewise.
29488         * iconvdata/tst-e2big.c: Likewise.
29489         * iconvdata/tst-loading.c: Likewise.
29490         * iconv/tst-iconv1.c: Likewise.
29491         * iconv/tst-iconv2.c: Likewise.
29492         * inet/test-inet6_opt.c: Likewise.
29493         * inet/tst-gethnm.c: Likewise.
29494         * inet/tst-network.c: Likewise.
29495         * inet/tst-ntoa.c: Likewise.
29496         * intl/tst-codeset.c: Likewise.
29497         * intl/tst-gettext2.c: Likewise.
29498         * intl/tst-gettext3.c: Likewise.
29499         * intl/tst-ngettext.c: Likewise.
29500         * intl/tst-translit.c: Likewise.
29501         * io/test-stat.c: Likewise.
29502         * libio/test-fmemopen.c: Likewise.
29503         * libio/tst-freopen.c: Likewise.
29504         * libio/tst-sscanf.c: Likewise.
29505         * libio/tst-ungetwc1.c: Likewise.
29506         * libio/tst-ungetwc2.c: Likewise.
29507         * libio/tst-widetext.c: Likewise.
29508         * localedata/tst-ctype.c: Likewise.
29509         * localedata/tst-digits.c: Likewise.
29510         * localedata/tst-leaks.c: Likewise.
29511         * localedata/tst-mbswcs1.c: Likewise.
29512         * localedata/tst-mbswcs2.c: Likewise.
29513         * localedata/tst-mbswcs3.c: Likewise.
29514         * localedata/tst-mbswcs4.c: Likewise.
29515         * localedata/tst-mbswcs5.c: Likewise.
29516         * localedata/tst-setlocale.c: Likewise.
29517         * localedata/tst-trans.c: Likewise.
29518         * localedata/tst-wctype.c: Likewise.
29519         * localedata/tst-xlocale1.c: Likewise.
29520         * login/tst-grantpt.c: Likewise.
29521         * malloc/tst-calloc.c: Likewise.
29522         * malloc/tst-malloc.c: Likewise.
29523         * malloc/tst-mallocstate.c: Likewise.
29524         * malloc/tst-mcheck.c: Likewise.
29525         * malloc/tst-mtrace.c: Likewise.
29526         * malloc/tst-obstack.c: Likewise.
29527         * math/atest-exp2.c: Likewise.
29528         * math/atest-exp.c: Likewise.
29529         * math/atest-sincos.c: Likewise.
29530         * math/test-matherr.c: Likewise.
29531         * math/test-misc.c: Likewise.
29532         * math/test-powl.c: Likewise.
29533         * math/tst-definitions.c: Likewise.
29534         * misc/tst-dirname.c: Likewise.
29535         * misc/tst-efgcvt.c: Likewise.
29536         * misc/tst-fdset.c: Likewise.
29537         * misc/tst-hsearch.c: Likewise.
29538         * misc/tst-mntent2.c: Likewise.
29539         * nptl/tst-sem7.c: Likewise.
29540         * nptl/tst-sem8.c: Likewise.
29541         * nptl/tst-sem9.c: Likewise.
29542         * nss/test-netdb.c: Likewise.
29543         * posix/tst-fnmatch.c: Likewise.
29544         * posix/tst-getlogin.c: Likewise.
29545         * posix/tst-gnuglob.c: Likewise.
29546         * posix/tst-mmap.c: Likewise.
29547         * pwd/tst-getpw.c: Likewise.
29548         * resolv/tst-inet_ntop.c: Likewise.
29549         * rt/tst-timer.c: Likewise.
29550         * stdio-common/test-fseek.c: Likewise.
29551         * stdio-common/test-popen.c: Likewise.
29552         * stdio-common/test-vfprintf.c: Likewise.
29553         * stdio-common/tst-cookie.c: Likewise.
29554         * stdio-common/tst-fileno.c: Likewise.
29555         * stdio-common/tst-gets.c: Likewise.
29556         * stdio-common/tst-obprintf.c: Likewise.
29557         * stdio-common/tst-perror.c: Likewise.
29558         * stdio-common/tst-sprintf2.c: Likewise.
29559         * stdio-common/tst-sprintf3.c: Likewise.
29560         * stdio-common/tst-sprintf.c: Likewise.
29561         * stdio-common/tst-swprintf.c: Likewise.
29562         * stdio-common/tst-tmpnam.c: Likewise.
29563         * stdio-common/tst-unbputc.c: Likewise.
29564         * stdio-common/tst-wc-printf.c: Likewise.
29565         * stdlib/tst-environ.c: Likewise.
29566         * stdlib/tst-fmtmsg.c: Likewise.
29567         * stdlib/tst-limits.c: Likewise.
29568         * stdlib/tst-rand48-2.c: Likewise.
29569         * stdlib/tst-rand48.c: Likewise.
29570         * stdlib/tst-random2.c: Likewise.
29571         * stdlib/tst-random.c: Likewise.
29572         * stdlib/tst-strtol.c: Likewise.
29573         * stdlib/tst-strtoll.c: Likewise.
29574         * stdlib/tst-tls-atexit.c: Likewise.
29575         * stdlib/tst-xpg-basename.c: Likewise.
29576         * string/test-ffs.c: Likewise.
29577         * string/tst-bswap.c: Likewise.
29578         * string/tst-inlcall.c: Likewise.
29579         * string/tst-strtok.c: Likewise.
29580         * string/tst-strxfrm.c: Likewise.
29581         * sysdeps/x86_64/tst-audit10.c: Likewise.
29582         * sysdeps/x86_64/tst-audit3.c: Likewise.
29583         * sysdeps/x86_64/tst-audit4.c: Likewise.
29584         * sysdeps/x86_64/tst-audit5.c: Likewise.
29585         * time/tst-ftime_l.c: Likewise.
29586         * time/tst-getdate.c: Likewise.
29587         * time/tst-mktime3.c: Likewise.
29588         * time/tst-mktime.c: Likewise.
29589         * time/tst-posixtz.c: Likewise.
29590         * time/tst-strptime2.c: Likewise.
29591         * time/tst-strptime3.c: Likewise.
29592         * wcsmbs/tst-btowc.c: Likewise.
29593         * wcsmbs/tst-mbrtowc.c: Likewise.
29594         * wcsmbs/tst-mbsrtowcs.c: Likewise.
29595         * wcsmbs/tst-wchar-h.c: Likewise.
29596         * wcsmbs/tst-wcpncpy.c: Likewise.
29597         * wcsmbs/tst-wcrtomb.c: Likewise.
29598         * wcsmbs/tst-wcsnlen.c: Likewise.
29599         * wcsmbs/tst-wcstof.c: Likewise.
29601 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
29603         [BZ #14132]
29604         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
29605         INTDEF.
29606         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
29607         declaration.
29608         (_dl_mcount): Use rtld_hidden_proto.
29609         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
29610         _dl_mcount.
29611         * elf/rtld.c (_rtld_global_ro): Likewise.
29613         [BZ #14132]
29614         * elf/dl-init.c (_dl_init): Don't use INTDEF.
29615         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
29616         of _dl_init_internal.
29617         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
29618         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
29619         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
29620         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
29621         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
29622         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
29623         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
29624         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
29625         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
29626         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
29627         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
29628         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
29629         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
29630         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
29631         * sysdeps/tile/dl-start.S (_start): Likewise.
29632         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
29633         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
29635         [BZ #14132]
29636         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
29637         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
29638         (rtld_progname): Make macro definition unconditional.
29639         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
29640         INTDEF.
29641         (dlmopen_doit): Do not use INTUSE with _dl_argv.
29642         (dl_main): Likewise.
29643         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29644         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
29645         instead of _dl_argv_internal.
29646         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29647         __GI__dl_argv instead of INTUSE(_dl_argv).
29648         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
29649         __GI__dl_argv instead of _dl_argv_internal.
29651         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
29652         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
29653         macro.
29654         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
29655         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
29656         New macro.
29657         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
29658         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
29659         macro.
29660         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
29661         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
29663 2014-11-04  Andreas Schwab  <schwab@suse.de>
29665         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
29667 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29669         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
29670         mtvsrd instruction in binary form.
29672 2014-11-03  Andreas Schwab  <schwab@suse.de>
29674         [BZ #17522]
29675         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
29676         for less than MB_LEN_MAX use a local buffer of that size.
29677         * libio/tst-fputws.c: New file.
29678         * libio/Makefile (tests): Add tst-fputws.
29680 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
29682         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
29683         the size of the fpu_fr.fpu_dregs[] array.
29685 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
29687         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
29688         (__nanosleep): Do not define as alias.
29689         (nanosleep): Define as alias of __nanosleep.
29690         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
29691         __libc_nanosleep name.
29693 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29695         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
29696         install.texi in comment.
29698 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29700         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
29701         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
29702         ... add here and use lwsync or sync ...
29703         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
29704         ... and add here using lwsync.
29706 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
29708         * elf/dl-machine-reject-phdr.h: New file.
29709         * elf/dl-load.c: #include that.
29710         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
29711         if that returned true.
29713 2014-10-31  Roland McGrath  <roland@hack.frob.com>
29715         [BZ #17496]
29716         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
29717         gen-as-const-headers chunk.  Add a big scare comment after the last
29718         safe place to touch before-compile.
29720 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
29722         * manual/install.texi (Tools for Compilation): Update autoconf
29723         version requirements.
29724         * INSTALL: Regenerated.
29726         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
29727         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
29728         (__libc_pselect): Likewise.
29730         [BZ #14138]
29731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
29732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29736 2014-10-31  Torvald Riegel  <triegel@redhat.com>
29738         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
29739         correct barrier instruction.
29740         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
29741         Likewise.
29742         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
29743         Likewise.
29745 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29747         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
29748         after defining inlines.  Instead, just use parens to defeat macro
29749         expansion of __isctype in its declaration.
29751 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29753         * include/sys/uio.h (__libc_readv): Remove declaration.
29754         (__libc_writev): Likewise.
29755         * misc/readv.c (__libc_readv): Rename to __readv.
29756         (__readv): Do not define as alias.
29757         (readv): Define as alias of __readv.
29758         * misc/writev.c (__libc_writev): Rename to __writev.
29759         (__writev): Do not define as alias.
29760         (writev): Define as alias of __writev.
29761         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
29762         (__readv): Do not define as alias.
29763         (readv): Define unconditionally as alias of __readv.
29764         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
29765         (__writev): Do not define as alias.
29766         (writev): Define unconditionally as alias of __writev.
29767         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
29768         name.
29769         (writev): Do not define __libc_writev name.
29771 2014-10-30  Roland McGrath  <roland@hack.frob.com>
29773         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
29774         (convert_charseq): New function, broken out of ...
29775         (use_from_charmap): ... here.  Call it.
29776         (use_to_charmap): Use convert_charseq and free instead of duplicating
29777         its code with a variable-length stack struct.
29779 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
29781         * include/fcntl.h (__libc_creat): Remove declaration.
29782         * io/creat.c (__libc_creat): Rename to creat.
29783         (creat): Do not define as alias.
29784         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
29785         of creat instead of __libc_creat.
29786         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
29787         to creat.
29788         (creat): Do not define as alias.
29789         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
29790         __libc_creat.
29791         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
29792         __libc_creat name.
29793         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
29794         Likewise.
29796 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
29798         * manual/llio.texi: Add comments discussing why write() may be
29799         considered MT-unsafe on Linux.
29801 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
29803         * dl-load.c (local_strdup): Remove.
29804         (expand_dynamic_string_token): Use __strdup.
29805         (decompose_rpath): Likewise.
29806         (_dl_map_object): Likewise.
29808 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
29810         [BZ #14132]
29811         * sysdeps/generic/unwind-dw2-fde.c
29812         (__register_frame_info_bases_internal): Do not declare.
29813         (__register_frame_info_table_bases_internal): Likewise.
29814         (__deregister_frame_info_bases_internal): Likewise.
29815         (__register_frame_info_bases): Declare and use hidden_proto before
29816         definition.  Use hidden_def instead of INTDEF.
29817         (__register_frame_info_table_bases): Likewise.
29818         (__deregister_frame_info_bases): Likewise.
29819         (__register_frame_info): Do not use INTUSE.
29820         (__register_frame): Likewise.
29821         (__register_frame_info_table): Likewise.
29822         (__register_frame_table): Likewise.
29823         (__deregister_frame_info): Likewise.
29824         (__deregister_frame): Likewise.
29826 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
29828         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29829         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
29830         not undefine.
29831         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
29832         Likewise.
29833         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
29834         Likewise.
29836 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
29838         [BZ #14138]
29839         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
29840         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
29841         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
29842         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
29843         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
29844         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
29845         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
29846         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
29847         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
29848         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
29849         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
29850         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
29851         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
29852         syscall.
29853         (setfsuid): Likewise.
29854         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
29855         (setfsuid): Likewise.
29856         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
29857         (setfsuid): Likewise.
29858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
29859         Likewise.
29860         (setfsuid): Likewise.
29861         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
29862         (setfsuid): Likewise.
29863         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
29864         Likewise.
29865         (setfsuid): Likewise.
29867 2014-10-27  Andreas Schwab  <schwab@suse.de>
29869         [BZ #17501]
29870         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
29871         check for Slow_SSE4_2 feature bit.
29872         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
29873         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29874         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
29875         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
29877 2014-10-24  Roland McGrath  <roland@hack.frob.com>
29879         * configure.ac: Validate compiler version with a empirical test of
29880         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
29881         $CC -v output.
29882         * configure: Regenerated.
29884         * inet/htons.c (htons): Prototypify.
29885         * inet/htonl.c (htonl): Likewise.
29887 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29889         * string/strncat.c (strncat): Improve performance by using strlen.
29891 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29893         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
29895 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29897         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
29898         Call libc_fetestexcept_aarch64.
29900 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29902         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
29903         Call libc_feholdexcept_aarch64.
29905 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29907         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
29908         Call get_rounding_mode.
29910 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29912         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
29913         Simplify logic.
29915 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
29917         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
29918         Simplify logic.
29920 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
29922         [BZ #14138]
29923         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
29924         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
29925         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
29926         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
29927         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
29928         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
29929         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
29930         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
29931         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
29932         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
29933         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29934         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
29935         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
29936         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
29937         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
29938         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
29939         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
29940         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
29941         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
29942         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
29943         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
29944         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
29945         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
29946         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
29947         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
29948         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
29949         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
29950         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
29951         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
29952         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
29953         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
29954         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
29955         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
29956         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
29957         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
29958         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
29959         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
29960         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
29961         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
29962         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
29963         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
29964         syscall.
29965         (geteuid): Likewise.
29966         (getgid): Likewise.
29967         (getuid): Likewise.
29968         (getresgid): Likewise.
29969         (getresuid): Likewise.
29970         (getgroups): Likewise.
29971         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
29972         (geteuid): Likewise.
29973         (getgid): Likewise.
29974         (getuid): Likewise.
29975         (getresgid): Likewise.
29976         (getresuid): Likewise.
29977         (getgroups): Likewise.
29978         * sysdeps/unix/sysv/linux/m68k/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/s390/s390-32/syscalls.list (getegid):
29986         Likewise.
29987         (geteuid): Likewise.
29988         (getgid): Likewise.
29989         (getuid): Likewise.
29990         (getresgid): Likewise.
29991         (getresuid): Likewise.
29992         (getgroups): Likewise.
29993         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
29994         (geteuid): Likewise.
29995         (getgid): Likewise.
29996         (getuid): Likewise.
29997         (getresgid): Likewise.
29998         (getresuid): Likewise.
29999         (getgroups): Likewise.
30000         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30001         Likewise.
30002         (geteuid): Likewise.
30003         (getgid): Likewise.
30004         (getuid): Likewise.
30005         (getgroups): Likewise.
30007         [BZ #14138]
30008         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30009         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30010         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30011         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30012         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30013         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30014         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30015         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30016         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30017         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30018         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30019         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30020         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30021         __chown.
30022         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30023         (lchown): Likewise.
30024         (fchown): Likewise.
30025         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30026         Likewise.
30027         (lchown): Likewise.
30028         (fchown): Likewise.
30029         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30030         (lchown): Likewise.
30031         (fchown): Likewise.
30032         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30033         Likewise.
30034         (lchown): Likewise.
30035         (fchown): Likewise.
30037 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30039         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30040         Simplify logic.
30042 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30044         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30045         Cleanup logic.
30047 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30049         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30050         Remove unused include.
30052 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30054         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30055         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30056         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30057         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30059 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30060             Helge Deller <deller@gmx.de>
30062         [BZ #17508]
30063         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30064         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30065         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30067 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30069         [BZ #14132]
30070         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30071         Remove macro definition.
30072         (__ashrdi3_v_glibc20): Likewise.
30073         (__lshrdi3_v_glibc20): Likewise.
30074         (__cmpdi2_v_glibc20): Likewise.
30075         (__ucmpdi2_v_glibc20): Likewise.
30076         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30077         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30078         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30079         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30080         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30081         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30083 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30085         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30086         old GNU extension [0] syntax.
30087         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30088         alloca rather than an array member with variable length.
30089         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30090         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30091         (parse_opt): ... here.  Likewise use alloca there.
30092         Validate the -i argument before checking for rootness.
30093         (send_shutdown): New function, broken out of ...
30094         (parse_opt): ... here.
30096 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30098         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30099         macro to get at the _rt_local_ro field.
30100         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30101         ([PIC] case) or _dl_hwcap ([!PIC] case).
30102         * sysdeps/arm/setjmp.S: Likewise.
30104         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30105         * sysdeps/arm/configure.ac: New check to define it.
30106         * sysdeps/arm/configure: Regenerated.
30107         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30108         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30109         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30110         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30111         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30112         Use move/movt pair instead of a load.
30113         (LDST_GLOBAL): Macro removed.
30114         (LDR_GLOBAL): New macro replaces it.
30115         (LDR_HIDDEN): New macro.
30116         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30117         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30119         * setjmp/tst-setjmp-static.c: New file.
30120         * setjmp/Makefile (tests): Add it.
30121         (tests-static): New variable.
30123 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30125         [BZ #17485]
30126         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30128 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30130         [BZ #14132]
30131         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30133 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30135         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30137 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30139         * io/fts.c (dirent_not_directory): New function.
30140         (fts_build): Call it.
30142 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30144         * nptl/version.c (__nptl_main): Use normal __write rather than
30145         INTERNAL_SYSCALL.
30146         (banner): Update copyright years.
30148         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30149         gettimeofday.
30150         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30151         * nptl/pthread_cond_timedwait.c: Likewise.
30152         * nptl/pthread_mutex_timedlock.c: Likewise.
30153         * nptl/sem_timedwait.c: Likewise.
30155         * sysdeps/nptl/bits/libc-lock.h
30156         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30157         (__libc_lock_init_recursive): Return void, not 0.
30158         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30159         (__libc_rwlock_init): Likewise.
30160         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30162 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30164         [BZ #15215]
30165         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30166         (__pthread_once_slow): ... here.
30167         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30168         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30170 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30172         [BZ #15215]
30173         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30174         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30175         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30176         * nptl/pthread_once.c (__pthread_once): Likewise.
30177         Update comments.
30179 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30181         [BZ #14138]
30182         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30183         name.
30184         (writev): Use __libc_writev as strong name.
30185         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30186         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30188 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30190         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30192         * sysdeps/i386/nptl/tls.h
30193         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30194         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30195         New macros.
30196         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30197         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30198         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30199         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30200         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30201         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30203         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30204         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30205         on [__NR_futex].
30206         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30207         broken out of ...
30208         (__pthread_mutex_init): ... here.  Call it.
30209         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30210         Conditionalize PI cases on [__NR_futex].
30211         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30212         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30213         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30215         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30216         conditional on [SIGSETXID].
30217         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30218         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30219         is defined.  Likewise for SIGSETXID.
30220         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30221         Conditionalize definitions on [SIGSETXID].
30222         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30223         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30224         unblocking on [SIGCANCEL].
30226         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30227         [__NR_set_robust_list].
30229 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30231         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30232         (do_compare): Likewise.
30234 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30236         [BZ #15884]
30237         * string/strcoll_l.c: Don't include stdio.h.
30238         (coll_seq): Remove members idxarr and rulearr.
30239         (get_next_seq_cached): Remove function.
30240         (get_next_seq): Likewise.
30241         (get_next_seq_nocache): Rename to get_next_seq.
30242         (do_compare): Remove function.
30243         (do_compare_nocache): Rename to do_compare.
30244         (STRCOLL): Remove weight and rules cache.
30246 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30248         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30249         * sysdeps/arm/sfp-machine.h: ... to here.
30250         * sysdeps/arm/Implies: Remove arm/soft-fp.
30252 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30254         * conform/data/sys/utsname.h-data (*_t): Allow.
30255         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30256         [POSIX] (WEXITED): Do not expect constant.
30257         [POSIX] (WSTOPPED): Likewise.
30258         [POSIX] (WNOHANG): Likewise.
30259         [POSIX] (WNOWAIT): Likewise.
30260         [POSIX] (siginfo_t): Do not expect type or elements.
30261         [POSIX] (pid_t): Do not expect type.
30262         [POSIX] (signal.h): Do not allow header.
30263         [POSIX] (sys/resource.h): Likewise.
30264         [POSIX] (si_*): Do not allow pattern.
30265         [POSIX] (W*): Likewise.
30266         [POSIX] (P_*): Likewise.
30267         [POSIX] (BUS_*): Likewise.
30268         [POSIX] (CLD_*): Likewise.
30269         [POSIX] (FPE_*): Likewise.
30270         [POSIX] (ILL_*): Likewise.
30271         [POSIX] (POLL_*): Likewise.
30272         [POSIX] (SEGV_*): Likewise.
30273         [POSIX] (SI_*): Likewise.
30274         [POSIX] (TRAP_*): Likewise.
30275         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30276         variable.
30278 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30280         [BZ #12926]
30281         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30282         infinite loop when __recvmsg returns 0.
30284 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30286         * CANCEL-FCT-WAIVE: Remove file.
30287         * CANCEL-FILE-WAIVE: Likewise.
30289         [BZ #14132]
30290         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30291         instead of INTVARDEF.
30292         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30293         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30294         rtld_hidden_data_def instead of INTVARDEF.
30295         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30296         * elf/dl-deps.c (expand_dst): Likewise.
30297         * elf/dl-load.c (_dl_dst_count): Likewise.
30298         (_dl_dst_substitute): Likewise.
30299         (decompose_rpath): Likewise.
30300         (_dl_init_paths): Likewise.
30301         (open_path): Likewise.
30302         (_dl_map_object): Likewise.
30303         * elf/rtld.c (dl_main): Likewise.
30304         (process_dl_audit): Likewise.
30305         (process_envvars): Likewise.
30306         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30307         Remove declaration.
30308         (__libc_enable_secure): Use rtld_hidden_proto.
30310 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30312         * elf/dl-load.c
30313         (add_path): New function broken out of _dl_rtld_di_serinfo.
30314         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30316 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30318         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30319         parentheses around macro arguments.
30320         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30321         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30322         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30325         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30326         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30329         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30330         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30331         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30332         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30333         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30334         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30335         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30336         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30337         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30338         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30339         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30340         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30343         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30344         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30347         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30348         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30349         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30350         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30351         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30352         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30353         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30354         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30355         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30356         Likewise.
30357         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30358         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30359         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30360         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30361         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30362         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30363         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30364         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30365         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30366         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30367         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30368         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30369         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30370         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30371         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30372         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30373         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30374         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30375         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30376         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30377         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30378         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30379         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30380         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30381         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30382         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30383         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30384         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30385         (_FP_FRAC_SRS_1): Likewise.
30386         (_FP_FRAC_CLZ_1): Likewise.
30387         (_FP_MUL_MEAT_1_imm): Likewise.
30388         (_FP_MUL_MEAT_1_wide): Likewise.
30389         (_FP_MUL_MEAT_1_hard): Likewise.
30390         (_FP_SQRT_MEAT_1): Likewise.
30391         (_FP_FRAC_ASSEMBLE_1): Likewise.
30392         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30393         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30394         (__FP_CLZ_2): Likewise.
30395         (_FP_MUL_MEAT_2_wide): Likewise.
30396         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30397         (_FP_MUL_MEAT_2_gmp): Likewise.
30398         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30399         (_FP_SQRT_MEAT_2): Likewise.
30400         (_FP_FRAC_ASSEMBLE_2): Likewise.
30401         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30402         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30403         (_FP_FRAC_CLZ_4): Likewise.
30404         (_FP_MUL_MEAT_4_wide): Likewise.
30405         (_FP_MUL_MEAT_4_gmp): Likewise.
30406         (_FP_SQRT_MEAT_4): Likewise.
30407         (_FP_FRAC_ASSEMBLE_4): Likewise.
30408         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30409         * soft-fp/op-common.h (_FP_CMP): Likewise.
30410         (_FP_CMP_EQ): Likewise.
30411         (_FP_CMP_UNORD): Likewise.
30412         (_FP_TO_INT): Likewise.
30413         (_FP_FROM_INT): Likewise.
30414         [!__FP_CLZ] (__FP_CLZ): Likewise.
30415         (_FP_DIV_HELP_imm): Likewise.
30416         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30417         Likewise.
30418         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30419         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30420         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30421         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30422         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30423         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30424         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30425         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30426         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30427         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30428         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30429         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30430         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30431         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30432         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30433         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30434         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30435         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30436         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30437         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30438         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30439         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30440         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30441         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30442         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30443         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30444         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30445         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30446         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30447         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30448         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30449         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30450         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30451         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30452         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30453         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30454         (FP_UNPACK_RAW_SP): Likewise.
30455         (FP_PACK_RAW_S): Likewise.
30456         (FP_PACK_RAW_SP): Likewise.
30457         (FP_UNPACK_S): Likewise.
30458         (FP_UNPACK_SP): Likewise.
30459         (FP_UNPACK_SEMIRAW_S): Likewise.
30460         (FP_UNPACK_SEMIRAW_SP): Likewise.
30461         (FP_PACK_S): Likewise.
30462         (FP_PACK_SP): Likewise.
30463         (FP_PACK_SEMIRAW_S): Likewise.
30464         (FP_PACK_SEMIRAW_SP): Likewise.
30465         (_FP_SQRT_MEAT_S): Likewise.
30466         (FP_CMP_S): Likewise.
30467         (FP_CMP_EQ_S): Likewise.
30468         (FP_CMP_UNORD_S): Likewise.
30469         (FP_TO_INT_S): Likewise.
30470         (FP_FROM_INT_S): Likewise.
30472         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30474         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30475         (FP_EX_INVALID_IMZ): Likewise.
30476         (FP_EX_INVALID_IMZ_FMA): Likewise.
30477         (FP_EX_INVALID_ISI): Likewise.
30478         (FP_EX_INVALID_ZDZ): Likewise.
30479         (FP_EX_INVALID_IDI): Likewise.
30480         (FP_EX_INVALID_SQRT): Likewise.
30481         (FP_EX_INVALID_CVI): Likewise.
30482         (FP_EX_INVALID_VC): Likewise.
30483         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30484         "invalid" exceptions.
30485         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30486         (_FP_ADD_INTERNAL): Likewise.
30487         (_FP_MUL): Likewise.
30488         (_FP_FMA): Likewise.
30489         (_FP_DIV): Likewise.
30490         (_FP_CMP_CHECK_NAN): Likewise.
30491         (_FP_SQRT): Likewise.
30492         (_FP_TO_INT): Likewise.
30493         (FP_EXTEND): Likewise.
30495 2014-10-09  Allan McRae  <allan@archlinux.org>
30497         * po/fr.po: Update French translation from translation project.
30499 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30501         [BZ #14132]
30502         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30503         of INTDEF.
30504         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30505         (__cxa_atexit): Use libc_hidden_proto.
30506         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30508         [BZ #14132]
30509         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30510         declaration.
30511         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30512         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30513         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30514         [!_ISOMAC] (__iswctype_internal): Likewise.
30515         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30516         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30517         alias.
30518         (fcntl): Remove __fcntl_internal alias.
30519         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30520         __connect_internal alias.
30521         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30522         Likewise.
30524         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30525         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30526         FP_DENORM_ZERO.
30527         (_FP_CHECK_FLUSH_ZERO): New macro.
30528         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30529         (_FP_CMP): Likewise.
30530         (_FP_CMP_EQ): Likewise.
30531         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30532         FP_DENORM_ZERO.
30533         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
30534         (FP_TRUNC): Likewise.
30536         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
30537         treated as invalid conversion, not as normal exponent.
30539         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
30540         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
30541         (_FP_CMP_EQ): Likewise.
30542         (_FP_CMP_UNORD): Likewise.
30543         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
30544         (FP_CMP_EQ_D): Likewise.
30545         (FP_CMP_UNORD_D): Likewise.
30546         * soft-fp/extended.h (FP_CMP_E): Likewise.
30547         (FP_CMP_EQ_E): Likewise.
30548         (FP_CMP_UNORD_E): Likewise.
30549         * soft-fp/quad.h (FP_CMP_Q): Likewise.
30550         (FP_CMP_EQ_Q): Likewise.
30551         (FP_CMP_UNORD_Q): Likewise.
30552         * soft-fp/single.h (FP_CMP_S): Likewise.
30553         (FP_CMP_EQ_S): Likewise.
30554         (FP_CMP_UNORD_S): Likewise.
30555         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
30556         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
30557         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
30558         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
30559         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
30560         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
30561         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
30562         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
30563         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
30564         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
30565         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
30566         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
30567         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
30568         to FP_CMP_Q.
30569         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
30570         FP_CMP_Q.
30571         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
30572         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
30573         FP_CMP_EQ_Q.
30574         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
30575         FP_CMP_Q.
30576         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
30577         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
30578         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
30579         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
30580         FP_CMP_EQ_Q.
30581         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
30582         FP_CMP_Q.
30583         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
30584         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
30585         FP_CMP_EQ_Q.
30586         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
30587         FP_CMP_Q.
30588         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
30589         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
30590         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
30591         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
30592         FP_CMP_EQ_Q.
30594         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
30595         a subnormal result, set the underflow exception if trapping on
30596         underflow is enabled.
30597         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
30598         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
30599         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
30600         redefine to 0.
30601         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
30602         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30603         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
30604         * soft-fp/extendxftf2.c (__extendxftf2): Use
30605         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
30607         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
30608         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
30609         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30610         FP_HANDLE_EXCEPTIONS.
30611         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
30612         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30613         FP_HANDLE_EXCEPTIONS.
30614         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
30615         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30616         FP_HANDLE_EXCEPTIONS.
30617         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
30618         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
30619         FP_HANDLE_EXCEPTIONS.
30621 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
30623         [BZ #14132]
30624         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
30625         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
30626         use INTUSE.
30627         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
30628         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
30629         Remove alias.
30630         (__adjtimex): Define using libc_hidden_ver.
30631         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
30632         Remove declaration.
30633         (ntp_gettime): Call __adjtimex directly.
30634         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
30635         Remove declaration.
30636         (ntp_gettimex): Call __adjtimex directly.
30637         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
30638         __adjtimex_internal alias.
30640 2014-10-08  Roland McGrath  <roland@hack.frob.com>
30642         [BZ #17460]
30643         * nscd/nscd.c (more_help): Rewrite list of tables collection
30644         using xstrdup and asprintf.
30646         * nscd/nscd_conf.c: Remove local xstrdup declaration.
30648 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30649             Roland McGrath  <roland@hack.frob.com>
30651         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
30652         (do_lookup_unique): ... local function 'enter' here; update callers.
30654 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
30656         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
30657         compat_symbol calls on [SHARED].
30658         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
30659         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
30660         Remove.
30661         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30662         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
30663         (oldsetrlimit): Remove.
30664         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30666         (lchown): New syscall entry.
30667         (oldsetrlimit): Remove.
30668         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30669         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
30670         (oldsetrlimit): Remove.
30671         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
30673         [BZ #14138]
30674         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
30675         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
30676         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
30677         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
30678         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
30679         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
30680         (fchown): Likewise.
30681         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
30682         (fchown): Likewise.
30683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
30684         Likewise.
30686 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30688         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
30689         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
30690         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
30691         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
30692         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
30693         Likewise.
30694         (__old_sem_post): Likewise.
30696 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
30698         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
30699         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
30700         HAVE_CLOCK_GETTIME_VSYSCALL macros.
30701         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
30702         Use INLINE_VSYSCALL macro.
30703         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
30704         __vdso_clock_gettime.
30705         * sysdeps/unix/sysv/linux/tile/init-first.c
30706         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
30707         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
30708         __vdso_clock_gettime.
30710         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
30711         to set up frame more cleanly.
30713         * sysdeps/tile/memcmp.c: New file.
30715         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
30717         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
30718         * sysdeps/tile/tilegx/strcasestr.c: New file.
30719         * sysdeps/tile/tilegx/strnlen.c: New file.
30720         * sysdeps/tile/tilegx/strstr.c: New file.
30722         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
30724 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
30726         * nptl/tst-setuid3.c: Write errors to stdout.
30728 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30730         * elf/dl-deps.c
30731         (preload): New functions broken out of _dl_map_object_deps.
30732         (_dl_map_object_deps):  Remove a nested function. Update call sites.
30734 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
30736         [BZ #14138]
30737         * sysdeps/unix/sysv/linux/execve.c: Remove file.
30738         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
30740 2014-10-01  Steve Ellcey  <sellcey@mips.com>
30742         * sysdeps/mips/strcmp.S: New.
30744 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
30746         [BZ #14138]
30747         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
30748         (linkat): Likewise.
30749         (mkdirat): Likewise.
30750         (readlinkat): Likewise.
30751         (renameat): Likewise.
30752         (symlinkat): Likewise.
30753         (unlinkat): Likewise.
30754         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
30755         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
30756         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
30757         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
30758         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
30759         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
30760         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
30762 2014-09-30  Will Newton  <will.newton@linaro.org>
30764         * math/math.h: Define long double math functions if
30765         _LIBC_TEST is defined.
30766         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
30768         * localedata/Makefile: Move assignment to tests-special
30769         into an ifdef testing run-built-tests.
30770         * timezone/Makefile: Likewise.
30772 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
30774         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
30775         with $(BASH) not $(SHELL).
30777 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
30778             Matthew LeGendre  <legendre1@llnl.gov>
30780         [BZ #17411]
30781         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
30782         l_reloc_result.
30784 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30786         * stdio-common/printf_fp.c
30787         (hack_digit): New function, broken out of ...
30788         (__printf_fp): ... local function here.  Update call sites.
30789         hack_digit now takes an additional parameter that is a pointer
30790         to a struct of the referenced locals.  Those locals moved inside
30791         the struct and references updated.
30793 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
30795         * aclocal.m4: Require autoconf 2.69.
30796         * configure: Regenerated.
30797         * sysdeps/aarch64/configure: Likewise.
30798         * sysdeps/alpha/configure: Likewise.
30799         * sysdeps/arm/armv7/configure: Likewise.
30800         * sysdeps/arm/configure: Likewise.
30801         * sysdeps/ia64/configure: Likewise.
30802         * sysdeps/mach/configure: Likewise.
30803         * sysdeps/mips/configure: Likewise.
30804         * sysdeps/s390/configure: Likewise.
30805         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
30806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
30808         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
30809         file.
30810         * sysdeps/ia64/configure.ac: Likewise.
30812 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
30814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
30815         specify symbol version for ld.so.  Do not include entry for
30816         libpthread.
30817         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
30818         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
30819         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30821         [BZ #14171]
30822         * Makeconfig [$(build-shared) = yes]
30823         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
30824         makefiles.
30825         [$(build-shared) = yes && $(soversions.mk-done) = t]
30826         ($(common-objpfx)gnu/lib-names.h): Remove rule.
30827         [$(build-shared) = yes && $(soversions.mk-done) = t]
30828         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
30829         to Makerules.
30830         [$(build-shared) = yes && $(soversions.mk-done) = t]
30831         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
30832         here.
30833         [$(build-shared) = yes && $(soversions.mk-done) = t]
30834         (common-generated): Don't append gnu/lib-names.h and
30835         gnu/lib-names.stmp here.
30836         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
30837         (lib-names-h-abi): New variable.
30838         [$(build-shared) = yes && $(soversions.mk-done) = t]
30839         (lib-names-stmp-abi): Likewise.
30840         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30841         abi-variants] (before-compile): Append
30842         $(common-objpfx)$(lib-names-h-abi).
30843         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30844         abi-variants] (common-generated): Append gnu/lib-names.h.
30845         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30846         abi-variants] (install-others-nosubdir): Depend on
30847         $(inst_includedir)/$(lib-names-h-abi).
30848         [$(build-shared) = yes && $(soversions.mk-done) = t &&
30849         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
30850         [$(build-shared) = yes && $(soversions.mk-done) = t]
30851         ($(common-objpfx)$(lib-names-h-abi)): New rule.
30852         [$(build-shared) = yes && $(soversions.mk-done) = t]
30853         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
30854         [$(build-shared) = yes && $(soversions.mk-done) = t]
30855         (common-generated): Append $(lib-names-h-abi) and
30856         $(lib-names-stmp-abi).
30857         * scripts/lib-names.awk: Do not handle multi being set.
30858         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
30859         Remove variable.
30860         (abi-lp64_be-ld-soname): Likewise.
30861         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
30862         Likewise.
30863         (abi-hard-ld-soname): Likewise.
30864         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
30865         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
30866         Remove variable.
30867         (abi-o32_hard-ld-soname): Likewise.
30868         (abi-o32_soft_2008-ld-soname): Likewise.
30869         (abi-o32_hard_2008-ld-soname): Likewise.
30870         (abi-n32_soft-ld-soname): Likewise.
30871         (abi-n32_hard-ld-soname): Likewise.
30872         (abi-n32_soft_2008-ld-soname): Likewise.
30873         (abi-n32_hard_2008-ld-soname): Likewise.
30874         (abi-n64_soft-ld-soname): Likewise.
30875         (abi-n64_hard-ld-soname): Likewise.
30876         (abi-n64_soft_2008-ld-soname): Likewise.
30877         (abi-n64_hard_2008-ld-soname): Likewise.
30878         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
30879         Likewise.
30880         (abi-64-v2-ld-soname): Likewise.
30881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
30882         ld.so entries.
30883         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
30884         variable.
30885         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
30886         entry.
30887         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
30888         variable.
30889         (abi-64-ld-soname): Likewise.
30890         (abi-x32-ld-soname): Likewise.
30891         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
30892         entry.
30893         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
30895 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
30897         [BZ #14138]
30898         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
30899         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
30900         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
30901         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
30902         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
30903         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
30904         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
30905         syscall entry for GLIBC_2.2 symbol version.
30906         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
30907         Likewise.
30908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
30909         (setrlimit): Likewise.
30910         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
30911         Likewise.
30913 2014-09-23  Will Newton  <will.newton@linaro.org>
30915         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
30916         _LINUX_ARM_SYSDEP_H include guard too.
30917         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
30918         define.
30920 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30922         * sysdeps/unix/sysv/linux/eventfd.c:
30923         Make first argument unsigned.
30924         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
30925         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
30927 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
30929         [BZ #16852]
30930         * socket/recvmmsg.c (recvmmsg): Drop const argument.
30931         * socket/sys/socket.h: Likewise.
30932         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
30934 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30936         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
30938 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
30940         * time/tst-ftime.c: New test.
30941         * time/Makefile (tests): Add tst-ftime.
30943 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
30945         * soft-fp/extended.h: Fix comment formatting.
30946         * soft-fp/op-1.h: Likewise.
30947         * soft-fp/op-2.h: Likewise.
30948         * soft-fp/op-4.h: Likewise.
30949         * soft-fp/op-8.h: Likewise.
30950         * soft-fp/op-common.h: Likewise.
30951         * soft-fp/soft-fp.h: Likewise.
30953         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
30955 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
30957         [BZ #6652]
30958         * Makeconfig (soversions-default-setname): Remove variable.
30959         ($(common-objpfx)soversions.i): Don't pass default_setname to
30960         soversions.awk.
30961         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
30962         oldest_abi to abi-versions.awk.
30963         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
30964         * config.make.in (oldest-abi): Remove variable.
30965         * configure.ac (--enable-oldest-abi): Remove configure option.
30966         * configure: Regenerated.
30967         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
30968         text.
30969         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
30970         * scripts/soversions.awk: Do not handle default_setname variable.
30971         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
30972         variable.
30973         * sysdeps/mach/hurd/configure: Regenerated.
30974         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
30975         variable.
30976         * sysdeps/unix/sysv/linux/configure: Regenerated.
30978 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30980         * elf/Makefile (CFLAGS-interp.c): Remove.
30981         ($(elf-objpfx)runtime-linker.h): Generate header with linker
30982         path string.
30983         * elf/interp.c: Include generated runtime-linker.h
30985         * Makerules (lib%.so): Don't include $(+interp) in
30986         prerequisites.
30987         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
30988         * dlfcn/eval.c: Remove file.
30990         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
30991         macros.
30993         [BZ #17266]
30994         * misc/sys/cdefs.h: Define __extern_always_inline for clang
30995         4.2 and newer.
30997         [BZ #17370]
30998         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31000 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31001             Jakub Jelinek  <jakub@redhat.com>
31003         [BZ #17266]
31004         * libio/stdio.h: Check definition of __fortify_function
31005         instead of __extern_always_inline to include bits/stdio2.h.
31006         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
31007         check if __extern_always_inline is defined.
31008         [__USE_MISC || __USE_XOPEN]: Likewise.
31009         [__USE_ISOC99] Likewise.
31010         * misc/sys/cdefs.h (__fortify_function): Define only if
31011         __extern_always_inline is defined.
31012         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31013         __extern_always_inline and __extern_inline only for g++-4.3
31014         and newer or a compatible gcc.
31016 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31018         [BZ #17371]
31019         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31020         last change to handle zero prefix length.
31022 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31024         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31025         _SC_REGEX_VERSION.
31027         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31028         _POSIX_RAW_SOCKETS.
31030 2014-09-13  Allan McRae  <allan@archlinux.org>
31032         * po/ru.po: Update Russian translation from translation project.
31034 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31036         * locale/programs/locale.c (show_locale_vars): Inline local function
31037         into its sole call site.  Clean up some style nits.
31038         (print_item): New function, broken out of ...
31039         (show_info): ... local function here.  Clean up style nits.
31041         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31042         out of ...
31043         (set_class_defaults): ... local function set_default here.
31044         Define set_default as a macro locally to pass constant parameters.
31045         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31046         rather than a shared local.
31048         * stdlib/rpmatch.c (try): New function, broken out of ...
31049         (rpmatch): ... local function here.  Also, prototypify definition.
31051 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31053         * scripts/soversions.awk: Do not handle configuration names.
31054         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31055         vendor and os variables to soversions.awk.
31056         * configure.ac: Do not modify gnu-* host_os.
31057         * configure: Regenerated
31058         * shlib-versions: Remove first column with configuration names.
31059         * nptl/shlib-versions: Likewise.
31060         * nptl_db/shlib-versions: Likewise.
31061         * sysdeps/hppa/shlib-versions: Likewise.
31062         * sysdeps/m68k/shlib-versions: Likewise.
31063         * sysdeps/mach/hurd/shlib-versions: Likewise.
31064         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31065         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31066         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31067         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31068         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31069         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31070         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31071         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31073         Likewise.
31074         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31075         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31076         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31077         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31078         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31079         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31080         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31081         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31084         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31086         Regenerated.
31087         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31089         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31091         * shlib-versions: Remove OS-specific entries.  Moved to files in
31092         sysdeps.
31093         * sysdeps/mach/hurd/shlib-versions: New file.
31094         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31096         * nptl/shlib-versions: Remove architecture-specific entries.
31097         Moved to files in sysdeps.
31098         * shlib-versions: Likewise.
31099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31100         file.
31101         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31102         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31103         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31104         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31106         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31107         (UDP_NO_CHECK6_RX): Likewise.
31109 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31111         * sysdeps/posix/sysconf.c (__sysconf): Spell
31112         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31114 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31116         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31117         loading.
31118         * iconv/Versions (__gconv_transliterate): Export for use from
31119         gconv modules.
31120         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31121         (struct __gconv_trans_data, __gconv_trans_fct,
31122         __gconv_trans_context_fct, __gconv_trans_query_fct,
31123         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31124         definitions.
31125         (struct __gconv_step_data): Remove __trans member.
31126         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31127         longer hidden.  Remove unused trans_data argument.
31128         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31129         (__gconv_translit_find): Remove declaration.
31130         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31131         prototype.
31132         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31133         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31134         trans_data argument.  Add hidden definition.
31135         (__gconv_translit_find): Remove.
31136         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31137         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31138         * iconv/skeleton.c: Remove transliteration initialization.
31139         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31140         __gconv_step_data initialization.
31141         * libio/iofwide.c (__libio_translit_): Remove.
31142         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31143         * wcsmbs/btowc.c (__btowc): Likewise.
31144         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31145         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31146         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31147         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31148         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31149         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31150         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31151         * wcsmbs/wctob.c (wctob): Likewise.
31153 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31155         [BZ #16194]
31156         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31157         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31158         register usage.
31159         * sysdeps/x86/Makefile: Adjust.
31161 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31162             Roland McGrath  <roland@hack.frob.com>
31164         * locale/weight.h: Add include guard.
31165         (findidx): Make static rather than auto; take new parameters
31166         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31167         * locale/weightwc.h: Likewise.
31168         * posix/fnmatch_loop.c
31169         (FCT): Change type of EXTRA from int32_t to wint_t.
31170         Don't include either header inside the function.
31171         Call FINDIDX rather than findidx, and pass new arguments.
31172         #undef FINDIDX at the end of the file.
31173         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31174         FINDIDX before including fnmatch_loop.c for the non-wide version.
31175         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31176         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31177         for the wide version.
31178         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31179         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31180         Pass new arguments to findidx.
31181         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31182         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31183         Don't #include it inside the function.  Pass new arguments to findidx.
31184         * posix/regex_internal.h
31185         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31186         (re_string_elem_size_at): Don't #include it inside the function.
31187         Pass new arguments to findidx.
31188         * string/strcoll_l.c: #include WEIGHT_H at top level.
31189         (get_next_seq): Don't #include it inside the function.
31190         Pass new arguments to findidx.
31191         (get_next_seq_nocache): Likewise.
31192         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31193         (STRXFRM): Don't #include it inside the function.
31194         Pass new arguments to findidx.
31196 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31198         [BZ #17344]
31199         * malloc/malloc.c (unlink): Turn asserts into a call to
31200         malloc_printerr.
31202 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31204         [BZ #17370]
31205         * libio/wfileops (do_ftell_wide): Free OUT.
31207 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31209         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31211 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31213         [BZ #17363]
31214         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31215         group if the current group is empty.
31217 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31219         * benchtests/bench-memset.c (test_main): Add more test from size
31220         from 32 to 512 bytes.
31221         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31222         Add POWER8 memset object.
31223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31224         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31225         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31226         implementation.
31227         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31228         Likewise.
31229         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31230         multiarch POWER8 memset optimization.
31231         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31232         POWER8 memset optimization.
31234         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31235         Remove bzero multiarch objects.
31236         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31237         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31238         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31239         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31240         Remove define.
31241         [__bzero]: Redefine to specific name.
31242         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31243         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31244         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31245         define.
31246         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31247         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31249 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31251         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31252         warnings into errors.
31254         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31255         __cxa_thread_atexit_impl prototype.
31257 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31259         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31260         Fix capitalization of error message.
31262 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31264         * sysdeps/mips/preconfigure: Modify ABI tests.
31266 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31268         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31270 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31271             Carlos O'Donell  <carlos@systemhalted.org>
31273         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31274         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31275         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31276         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31277         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31278         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31279         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31280         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31281         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31282         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31283         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31284         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31286         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31287         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31288         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31289         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31292         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31293         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31294         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31295         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31296         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31297         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31298         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31299         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31300         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31301         Deconditionalize the code that was previously under [RESET_PID].
31302         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31303         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31304         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31305         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31306         include sysdep.h.
31308 2014-09-08  Allan McRae  <allan@archlinux.org>
31310         * version.h (RELEASE): Set to "development".
31311         (VERSION): Set to "2.20.90"
31313 2014-09-07  Allan McRae  <allan@archlinux.org
31315         * version.h (RELEASE): Set to "stable".
31316         (VERSION): Set to "2.20"
31317         * include/features.h (__GLIBC_MINOR__): Set to 20.
31319         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31320         Liebler.
31322         * po/ko.po: Update Korean translation from translation project.
31324 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31326         [BZ #17354]
31327         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31328         macro for handling signed relocations.
31330 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31332         [BZ #17325]
31333         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31334         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31335         assert.
31336         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31337         * iconvdata/ibm935.c (BODY): Likewise.
31338         * iconvdata/ibm937.c (BODY): Likewise.
31339         * iconvdata/ibm939.c (BODY): Likewise.
31340         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31341         assert.
31342         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31343         script.
31344         * iconvdata/run-iconv-test.sh: New test loop for checking for
31345         decoder crashers.
31347 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31349         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31350         libm_hidden_ver.
31352 2014-09-01  Allan McRae  <allan@archlinux.org>
31354         * po/eo.po: Update Esperanto translation from translation project.
31356         * po/ca.po: Update Catalan translation from translation project.
31358 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31360         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31361         __proc_dostop call.
31363 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31365         [BZ #17319]
31366         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31367         to call set_thread_area instead of hand written asm.
31368         (__NR_set_thread_area): Removed define.
31369         (TLS_FLAG_WRITABLE): Likewise.
31370         (__ASSUME_SET_THREAD_AREA): Remove check.
31371         (TLS_EBX_ARG): Remove define.
31372         (TLS_LOAD_EBX): Likewise.
31374 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31376         Simplify atomicity of socket creation in bind.
31378         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31379         looking up the name after linking the file.
31381 2014-08-27  Allan McRae  <allan@archlinux.org>
31383         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31385 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31387         [BZ #17187]
31388         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31389         trans_compare, open_translit, __gconv_translit_find):
31390         Remove module loading code.
31392 2014-08-26  Allan McRae  <allan@archlinux.org>
31394         * po/vi.po: Update Vietnamese translation from translation project.
31396         * po/uk.po: Update Ukrainian translation from translation project.
31398         * po/fr.po: Update French translation from translation project.
31400         * po/ru.po: Update Russian translation from translation project.
31402         * po/pl.po: Update Polish translation from translation project.
31404         * po/cs.po: Update Czech translation from translation project.
31406         * po/de.po: Update German translation from translation project.
31408         * po/bg.po: Update Bulgarian translation from translation project.
31410         * po/sv.po: Update Sweedish translation from translation project.
31412         * po/nl.po: Update Dutch translation from translation project.
31414         * po/es.po: Update Spanish translation from translation project.
31416 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31418         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31420         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31421         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31422         (CPPFLAGS-iconvconfig): Likewise.
31423         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31425         * include/libc-symbols.h: Remove unnecessary check for
31426         NOT_IN_libc.
31427         * nptl/pthreadP.h: Likewise.
31428         * sysdeps/aarch64/setjmp.S: Likewise.
31429         * sysdeps/alpha/setjmp.S: Likewise.
31430         * sysdeps/arm/sysdep.h: Likewise.
31431         * sysdeps/i386/setjmp.S: Likewise.
31432         * sysdeps/m68k/setjmp.c: Likewise.
31433         * sysdeps/posix/getcwd.c: Likewise.
31434         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31435         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31436         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31437         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31438         * sysdeps/sh/sh3/setjmp.S: Likewise.
31439         * sysdeps/sh/sh4/setjmp.S: Likewise.
31440         * sysdeps/unix/alpha/sysdep.h: Likewise.
31441         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31442         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31443         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31444         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31447         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31448         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31449         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31450         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31451         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31452         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31453         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31454         * sysdeps/x86_64/setjmp.S: Likewise.
31456 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31458         [BZ #17263]
31459         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31460         <stdint.h>.
31461         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31462         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31464 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31466         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31468         [BZ #17262]
31469         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31470         and __x86_64__ when disabling x87 inline functions.
31472 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31474         [BZ #17259]
31475         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31476         asm statement with __cpuid_count.
31478 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31480         * configure.ac: Change __ehdr_start code to dereference the struct.
31481         Run readelf on the output to look for relocations.
31482         * configure: Regenerated.
31484 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31486         [BZ #17261]
31487         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31488         value to 0.
31489         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31491 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31493         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31495 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31497         [BZ #16892]
31498         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31499         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31501 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31503         * malloc/malloc.c: Fix typo in comment.
31505 2014-08-09  Allan McRae  <allan@archlinux.org>
31507         * Regenerate libc.po.
31509 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31511         * intl/tst-gettext2.sh: Check every lang file for creation.
31513 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31515         * sysdeps/aarch64/fpu/math_private.h
31516         (libc_feholdsetround_noex_aarch64_ctx): New function.
31518 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31520         * sysdeps/arm/armv6/strcpy.S (strcpy):
31521         Fix performance issue in misaligned cases.
31523 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31525         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31526         Move definition from termios.h.
31527         (struct termio): Likewise.
31528         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31529         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31530         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31531         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31532         Likewise.
31533         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
31534         Move definition to ioctl-types.h
31535         (struct termio): Likewise.
31536         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31537         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31538         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31539         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31540         Likewise.
31542 2014-08-05  Richard Henderson  <rth@redhat.com>
31544         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
31545         exceptions.
31546         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
31547         Add fraiseexcpt.
31548         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
31549         Use __feraiseexcept.
31550         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
31551         Protect libm symbols with IS_IN_libm.
31553         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
31555 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
31557         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
31559 2014-08-04  Will Newton  <will.newton@linaro.org>
31561         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
31562         file.
31564 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
31566         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
31567         variants for each function.
31569 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31571         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
31572         appended ...
31573         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
31574         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
31575         appended ...
31576         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
31577         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
31578         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
31579         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
31580         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
31581         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
31582         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
31583         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
31584         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
31585         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
31586         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
31587         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
31588         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
31589         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
31590         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
31591         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
31592         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
31593         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
31594         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
31595         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
31596         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
31597         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
31598         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
31599         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
31600         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
31601         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
31602         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
31603         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
31604         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
31605         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
31606         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
31607         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
31608         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
31609         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
31610         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
31611         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
31612         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
31613         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
31614         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
31615         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
31616         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
31617         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
31618         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
31619         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
31620         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
31621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
31622         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
31623         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
31624         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
31625         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
31626         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
31627         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
31628         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
31629         Update #include.
31630         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
31631         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
31633 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31635         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
31636         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
31637         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
31638         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
31639         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
31640         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
31642 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31644         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
31645         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
31646         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
31647         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
31649 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31651         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
31652         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
31653         (__libc_vfork): Define function under this name.
31654         (__vfork): Define as an alias.
31655         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
31656         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
31658 2014-08-04  Roland McGrath  <roland@hack.frob.com>
31660         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
31661         that was previously under [RESET_PID].
31662         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
31664 2014-08-04  Andreas Schwab  <schwab@suse.de>
31666         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
31668 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
31670         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
31671         (main): Likewise.
31673 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31675         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
31677 2014-08-01  Richard Henderon  <rth@redhat.com>
31679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
31680         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
31681         typo in exact zero test.
31682         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31683         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31684         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31686 2014-08-01  Roland McGrath  <roland@hack.frob.com>
31688         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
31689         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
31690         * sysdeps/arm/sysdep.h: ... here.
31691         [!__ASSEMBLER__]: Include <stdint.h>.
31693 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31695         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
31696         (HAVE_WCTYPE_H): Likewise.
31697         (HAVE_ISWCTYPE): Likewise.
31698         (ENABLE_NLS): Likewise.
31699         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
31700         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
31702         * posix/regex_internal.c: Check if DEBUG is defined and is
31703         set.
31705         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
31706         (HAVE_MBSRTOWCS): Likewise.
31707         * posix/fnmatch.c: Include string.h unconditionally.
31709 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31711         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
31712         reversal.
31714 2014-07-31  Roland McGrath  <roland@hack.frob.com>
31716         * sysdeps/generic/safe-fatal.h: New file.
31717         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
31718         * nptl/forward.c: Include it.
31719         (__pthread_unwind): Use __safe_fatal as default action, rather
31720         than a bogus use of INTERNAL_SYSCALL that could never work.
31722         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
31723         * configure.ac (libc_cv_builtin_trap): New test.
31724         * configure: Regenerated.
31725         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
31726         (ABORT_INSTRUCTION): Define using __builtin_trap.
31728         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
31729         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
31730         * sysdeps/nptl/nptl-signals.h: New file.
31731         * nptl/pthreadP.h: Include <nptl-signals.h>.
31733 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31735         * sysdeps/s390/s390-64/utf16-utf32-z9.c
31736         (ONE_DIRECTION): Define.
31737         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31738         (ONE_DIRECTION): Define.
31739         * sysdeps/s390/s390-64/utf8-utf32-z9.c
31740         (ONE_DIRECTION): Define.
31742 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
31744         * sysdeps/s390/Makefile: Delete file.
31745         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
31746         * sysdeps/s390/__longjmp.c: Delete file.
31747         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
31748         Remove fields __flags and __reserved.
31749         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
31750         and add versioning.
31751         * sysdeps/s390/rtld-__longjmp.c: Delete file.
31752         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
31753         * sysdeps/s390/rtld-setjmp.S: Likewise.
31754         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
31755         * sysdeps/s390/s390-32/__longjmp.c: ... here.
31756         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
31757         * sysdeps/s390/s390-32/setjmp.S: ... here.
31758         Add versioning.
31759         (__sigsetjmp): Remove setting __flags field.
31760         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
31761         * sysdeps/s390/s390-64/__longjmp.c: ... here.
31762         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
31763         * sysdeps/s390/s390-64/setjmp.S: ... here.
31764         Add versioning.
31765         (__sigsetjmp): Remove setting __flags field.
31766         * sysdeps/s390/setjmp.S: Delete file.
31767         * sysdeps/s390/sigjmp.c: Likewise.
31768         * sysdeps/s390/v1-longjmp.c: Likewise.
31769         * sysdeps/s390/v1-setjmp.h: Likewise.
31770         * sysdeps/s390/v1-sigjmp.c: Likewise.
31771         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
31772         Remove v1-longjmp_chk.
31773         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
31774         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
31775         Include debug/longjmp_chk.c and add versioning.
31776         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
31777         Include nptl/pt-longjmp.c and add versioning.
31778         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
31779         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
31780         Include __longjmp.c.
31781         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
31782         Move to ...
31783         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
31784         (__getcontext): Remove setting __flags field.
31785         Add versioning.
31786         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31787         Don't restore upper high grps.
31788         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
31789         Likewise.
31790         (__swapcontext): Remove setting uc_flags field.
31791         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
31792         Delete file.
31793         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
31794         Include __longjmp.c.
31795         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
31796         Move to ...
31797         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
31798         (__getcontext): Remove setting __flags field.
31799         Add versioning.
31800         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
31801         (__swapcontext): Remove setting uc_flags field.
31802         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
31803         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
31804         Remove fields uc_high_gprs and __reserved.
31805         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
31806         New file with reverted content.
31807         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
31808         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
31809         Regenerated.
31810         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
31811         Regenerated.
31813 2014-07-31  Andreas Schwab  <schwab@suse.de>
31815         * config.h.in (HAVE_IFUNC): Define to 0.
31816         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
31817         definedness.
31819 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
31821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31822         memmove-avx-unaligned, memcpy-avx-unaligned and
31823         mempcpy-avx-unaligned.
31824         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31825         Add tests for AVX memcpy functions.
31826         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
31827         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
31828         memcpy_chk.
31829         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
31830         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
31831         memmove_chk.
31832         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
31833         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
31834         mempcpy_chk.
31835         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
31836         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
31837         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
31839 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31841         [BZ #17213]
31842         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
31843         powerpc64le.
31845 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
31847         [BZ #16839]
31848         * manual/llio.texi: Add section about open file description locks.
31849         * manual/examples/ofdlocks.c: Example of open file description
31850         lock usage.
31851         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
31852         F_OFD_SETLK, and F_OFD_SETLKW.
31854 2014-07-23  Allan McRae  <allan@archlinux.org>
31856         * po/es.po: Update Spanish translation from translation project.
31858 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
31860         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
31862 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
31864         [BZ #17078]
31865         * sysdeps/arm/dl-machine.h (elf_machine_rela)
31866         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
31867         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
31869 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
31871         [BZ #17088]
31872         * math/fesetenv.c (__fesetenv)
31873         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
31874         * math/feupdateenv.c (__feupdateenv)
31875         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
31877         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
31878         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31879         (__ASSUME_SOCKETCALL): Do not define.
31881         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
31882         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
31883         (__ASSUME_SOCKETCALL): Do not define.
31884         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
31885         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31886         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31887         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
31888         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31889         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
31890         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31891         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31893         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
31894         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
31895         (__ASSUME_SOCKETCALL): Do not define.
31896         (__ASSUME_IPC64): Define unconditionally.
31897         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31898         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31899         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
31900         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31901         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
31902         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31903         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
31904         Likewise.
31906         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
31907         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
31908         (__ASSUME_SOCKETCALL): Do not define.
31909         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
31910         (__ASSUME_FUTEX_LOCK_PI): Likewise.
31911         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31912         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
31913         (__ASSUME_REQUEUE_PI): Define unconditionally.
31914         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
31915         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
31916         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31917         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
31918         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31919         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31921         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
31922         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
31923         (__ASSUME_SOCKETCALL): Do not define.
31924         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
31925         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31926         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31927         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
31928         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31929         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
31931         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
31932         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
31933         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
31934         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
31935         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
31936         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
31937         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
31938         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
31939         (__ASSUME_GETCPU_SYSCALL): Likewise.
31941         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
31942         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
31943         cases for individual architectures.
31944         * sysdeps/gnu/configure: Regenerated.
31945         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
31946         LIBC_SLIBDIR_RTLDDIR.
31947         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
31948         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
31949         LIBC_SLIBDIR_RTLDDIR.
31950         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
31951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
31952         LIBC_SLIBDIR_RTLDDIR.
31953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31954         Regenerated.
31955         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
31956         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
31957         file.
31958         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
31959         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
31960         file.
31961         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
31962         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
31963         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
31964         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
31966         * sysdeps/aarch64/shlib-versions: Move to ...
31967         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
31968         * sysdeps/alpha/shlib-versions: Move to ...
31969         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
31970         * sysdeps/arm/shlib-versions: Move to ...
31971         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
31972         * sysdeps/hppa/shlib-versions: Move all contents except for
31973         libgcc_s entry to ...
31974         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
31975         entry from ...
31976         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
31977         * sysdeps/ia64/shlib-versions: Move to ...
31978         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
31979         entry from ...
31980         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
31981         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
31982         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
31983         * sysdeps/microblaze/shlib-versions: Move to ...
31984         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
31985         * sysdeps/mips/shlib-versions: Move to ...
31986         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
31987         entry from ...
31988         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
31989         * sysdeps/tile/shlib-versions: Move to ...
31990         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
31991         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
31992         from ...
31993         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
31994         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
31995         entry from ...
31996         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
31998 2014-07-17  Will Newton  <will.newton@linaro.org>
32000         * sysdeps/arm/bits/atomic.h
32001         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
32002         (__arch_compare_and_exchange_bool_16_int): Likewise.
32003         (__arch_compare_and_exchange_bool_64_int): Likewise.
32005         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
32006         into an #else block.
32008 2014-07-16  Roland McGrath  <roland@hack.frob.com>
32010         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32011         just Linux configurations.  Test empirically that the compiler sets
32012         __ARM_EABI__, rather than using the tuple to decide.
32013         * sysdeps/arm/preconfigure: Regenerated.
32014         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32015         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32016         contents appended ...
32017         * sysdeps/arm/configure.ac: ... here.
32018         * sysdeps/arm/configure: Regenerated.
32020 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32022         * nptl/pthread_kill.c: New file.
32023         * nptl/pthread_sigmask.c: New file.
32024         * nptl/pthread_sigqueue.c: New file.
32026         * sysdeps/nptl/lowlevellock.h: New file.
32027         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32028         * sysdeps/nptl/lowlevellock-futex.h: New file.
32030         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32031         Remove dead declarations.
32033 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32035         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32036         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32037         config-cflags-avx2.
32038         * sysdeps/x86_64/configure.ac: Likewise.
32039         * sysdeps/i386/configure: Regenerated.
32040         * sysdeps/x86_64/configure: Likewise.
32041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32042         memset-avx2 only if config-cflags-avx2 is yes.
32043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32044         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32045         defined.
32046         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32047         only if HAVE_AVX2_SUPPORT is defined.
32048         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32050 2014-07-14  Alan Modra  <amodra@gmail.com>
32052         [BZ #17153]
32053         * elf/elf.h (DT_PPC64_NUM): Correct value.
32054         * NEWS: Add to fixed bug list.
32056 2014-07-13  Jim Meyering  <meyering@fb.com>
32058         [BZ 17150]
32059         regex: don't deref NULL upon heap allocation failure
32060         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32061         failure in one more place.
32062         To trigger the segfault, configure grep -with-included-regex,
32063         build it, and run these commands:
32064         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32066 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32068         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32070 2014-07-11  Richard Henderson  <rth@redhat.com>
32072         * sysdeps/aarch64/libm-test-ulps: Update.
32074 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32076         [BZ #17135]
32077         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32078         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32079         (__nptl_setxid): Initialize error member.  Call
32080         __nptl_setxid_error.
32081         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32082         * nptl/descr.h (struct xid_command): Add error member.
32083         * nptl/tst-setuid3.c: New file.
32084         * nptl/Makefile (tests): Add it.
32086 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32088         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32089         New define.
32090         (__lll_trylock): Use __lll_base_trylock.
32091         (__lll_cond_trylock): Likewise.
32093 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32095         * nptl/pthread_create.c (start_thread): Use atomic_or and
32096         lll_futex_wake directly rather than lll_robust_dead.
32097         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32098         (lll_robust_dead): Macro removed.
32099         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32100         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32101         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32102         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32103         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32104         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32105         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32106         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32107         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32108         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32109         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32110         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32111         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32112         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32113         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32115         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32116         Use atomic_compare_and_exchange_val_acq directly rather than
32117         lll_robust_trylock.
32118         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32119         (__lll_robust_trylock, lll_robust_trylock): Removed.
32120         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32121         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32122         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32123         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32124         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32125         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32126         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32127         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32128         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32129         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32130         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32131         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32132         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32133         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32135 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32137         * manual/locale.texi (Locale Names): New section documenting
32138         locale name syntax.  Adjust menu and node chaining accordingly.
32139         (Choosing Locale): Reference Locale Names, Locale Categories.
32140         Mention setting LC_ALL=C.  Reflect that name syntax is now
32141         documented.
32142         (Locale Categories): New section title.  Reference Locale Names.
32143         LC_ALL is an environment variable, but not a category.
32144         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32145         description, now in Locale Name.  Reference that section.  Locale
32146         name syntax is now documented.
32148 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32150         [BZ #17137]
32151         * locale/findlocale.c (name_present, valid_locale_name): New
32152         functions.
32153         (_nl_find_locale): Use the loc_name variable to store name
32154         candidates.  Call name_present and valid_locale_name to check and
32155         validate locale names.  Return an error if the locale is invalid.
32157 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32159         * locale/setlocale.c (setlocale): Use strdup for allocating
32160         composite name copy.
32162 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32164         Sync up with gnulib.
32165         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32166         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32167         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32168         and _GL_ARG_NONNULL.
32169         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32170         [!_LIBC]: Include code for Windows and Cygwin.
32171         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32172         Include prototype for int strerror_r.
32173         [!_LIBC] (is_open): New function.
32174         (flush_stdout): New function.
32175         (print_errno_message): Use it.
32176         (error): Likewise.
32177         (error_at_line): Likewise.
32178         (error_tail) Add function attribute macros.  Use
32179         __builtin_expect.
32181         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32183         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32185         * io/ftw.c: Include sys/param.h unconditionally.
32187         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32189         [BZ #17125]
32190         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32191         libc_freeres_ptr.
32192         (freecache): New function to free CACHE on exit.
32194         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32195         initialization.
32197 2014-07-09  David S. Miller  <davem@davemloft.net>
32199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32201         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32202         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32203         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32204         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32205         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32206         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32207         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32208         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32209         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32210         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32211         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32212         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32213         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32215 2014-07-09  Andreas Schwab  <schwab@suse.de>
32217         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32218         output.
32219         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32220         (do_test): Likewise.
32222         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32224 2014-07-09  Will Newton  <will.newton@linaro.org>
32226         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32227         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32228         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32229         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32230         * sysdeps/hppa/start.S (_start): Likewise.
32232 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32234         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32236         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32237         defined.
32239 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32241         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32242         after checking that it is non-NULL.
32244         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32246 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32248         * sysdeps/powerpc/memmove.c: Remove file.
32249         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32250         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32251         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32252         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32253         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32254         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32255         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32256         string memmove instead of removed powerpc one.
32258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32259         [weak_alias]: Fix compiler warning due trailing data.
32260         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32261         [weak_alias]: Likewise.
32262         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32263         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32265         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32266         (__libc_ifunc_impl_list): Add memmove functions.
32268 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32270         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32271         Remove code.
32272         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32273         Likewise.
32274         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32275         Likewise.
32276         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32277         Likewise.
32278         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32279         Likewise.
32280         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32281         Likewise.
32282         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32283         Likewise.
32284         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32285         Likewise.
32286         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32287         Likewise.
32288         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32289         Likewise.
32290         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32291         Likewise.
32292         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32293         Likewise.
32294         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32295         Likewise.
32296         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32297         Likewise.
32298         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32299         Likewise.
32300         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32301         Likewise.
32302         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32303         Likewise.
32305 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32307         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32308         to avoid alignment traps in non-cacheable memory.
32309         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32311         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32312         multiarch objects.
32313         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32314         file: multiarch power7 memmove.
32315         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32316         multiarch default memmove.
32317         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32318         multiarch memove for powerpc32/power4.
32320         * string/bcopy.c: Use full path to include memmove.c.
32321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32322         multiarch objects.
32323         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32324         bcopy for powerpc64.
32325         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32326         bcopy for powerpc64.
32327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32328         and memmove implementations.
32329         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32330         optimized multiarch memmove for POWER7/powerpc64.
32331         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32332         default multiarch memmove for powerpc64.
32333         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32334         multiarch for powerpc64.
32335         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32336         for POWER7/powerpc64.
32337         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32338         memmove for POWER7/powerpc64.
32340         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32341         glibc default one.
32343         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32344         __ELF_NATIVE_CLASS equal to 64.
32346 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32348         * sysdeps/nptl/lowlevellock.h: File removed.
32350         * NEWS: NPTL is no longer an add-on!
32351         * nptl/internaltypes.h: Moved ...
32352         * sysdeps/nptl/internaltypes.h: ... here.
32353         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32354         * sysdeps/nptl/fork.c: Likewise.
32355         * sysdeps/nptl/gai_misc.h: Likewise.
32356         * sysdeps/nptl/librt-cancellation.c: Likewise.
32357         * sysdeps/nptl/jmp-unwind.c: Likewise.
32358         * sysdeps/nptl/setxid.h: Likewise.
32359         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32360         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32361         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32362         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32363         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32364         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32365         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32366         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32367         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32368         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32369         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32370         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32371         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32372         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32373         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32374         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32375         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32376         * nptl/Makeconfig: Moved ...
32377         * sysdeps/nptl/Makeconfig: ... here.
32378         * nptl/configure: File removed.
32379         * nptl/ANNOUNCE: File removed.
32380         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32381         * sysdeps/unix/sysv/linux/configure: Regenerated.
32383         * nptl/Makefile (routines): Add libc_pthread_init,
32384         libc_multiple_threads, register-atfork and unregister-atfork.
32385         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32386         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32387         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32388         pthread-pi-defines.sym, structsem.sym.
32389         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32390         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32391         [$(subdir) = nptl] (tests): Add tst-setgetname.
32392         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32393         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32394         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32395         [!LIBC_SIGACTION]: Remove aliases.
32396         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32397         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32398         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32399         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32400         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32401         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32402         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32403         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32404         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32405         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32406         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32407         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32408         __libc_allocate_rtsig_private.
32409         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32410         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32411         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32412         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32413         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32414         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32415         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32416         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32417         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32418         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32419         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32420         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32421         * nptl/internaltypes.h: ... here.
32422         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32423         * sysdeps/nptl/jmp-unwind.c: ... here.
32424         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32425         * nptl/libc-lowlevellock.c: ... here.
32426         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32427         * nptl/libc_multiple_threads.c: ... here.
32428         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32429         * nptl/libc_pthread_init.c: ... here.
32430         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32431         * nptl/lowlevelbarrier.sym: ... here.
32432         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32433         * nptl/lowlevelcond.sym: ... here.
32434         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32435         * nptl/lowlevellock.c: ... here.
32436         * nptl/lowlevellock.h: Moved ...
32437         * sysdeps/nptl/lowlevellock.h: ... here.
32438         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32439         * nptl/lowlevelrobustlock.c: ... here.
32440         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32441         * nptl/lowlevelrobustlock.sym: ... here.
32442         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32443         * nptl/lowlevelrwlock.sym: ... here.
32444         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32445         * nptl/pt-fork.c: ... here.
32446         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32447         * nptl/pthread-pi-defines.sym: ... here.
32448         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32449         * nptl/pthread_attr_getaffinity.c: ... here.
32450         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32451         * nptl/pthread_attr_setaffinity.c: ... here.
32452         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32453         * nptl/pthread_mutex_cond_lock.c: ... here.
32454         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32455         Update #include.
32456         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32457         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32458         * nptl/pthread_once.c: ... here, replacing old file.
32459         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32460         * nptl/pthread_yield.c: ... here.
32461         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32462         * nptl/register-atfork.c: ... here.
32463         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32464         * nptl/sem_post.c: ... here.
32465         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32466         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32467         * nptl/sem_timedwait.c: ... here.
32468         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32469         * nptl/sem_trywait.c: ... here.
32470         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32471         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32472         * nptl/sem_wait.c: ... here.
32473         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32474         * nptl/structsem.sym: ... here.
32475         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32476         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32477         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32478         * nptl/unregister-atfork.c: ... here.
32479         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32480         * nptl/unwindbuf.sym: ... here.
32481         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32482         * sysdeps/nptl/fork.c: ... here.
32483         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32484         * sysdeps/nptl/fork.h: ... here.
32485         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32486         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32487         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32488         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32489         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32490         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32491         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32492         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32493         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32494         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32495         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32496         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32497         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32498         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32499         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32500         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32501         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32502         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32503         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32504         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32505         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32506         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32507         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32508         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32509         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32510         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32511         * sysdeps/unix/sysv/linux/raise.c: ... here.
32512         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32513         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32514         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32515         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32516         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32517         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32518         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32519         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32520         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32521         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32522         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32523         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32524         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32525         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32526         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32528 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32530         * sysdeps/generic/memcopy.h: Add comment for
32531         MEMCPY_OK_FOR_FWD_MEMMOVE.
32533 2014-07-04  Will Newton  <will.newton@linaro.org>
32535         * string/memchr.c: Merge from gnulib.
32536         [_LIBC]: Remove conditionals.
32537         (__ptr_t): Remove define.
32538         (LONG_MAX_32_BITS): Likewise.
32539         (LONG_MAX): Likewise.
32540         (MEMCHR): Use ANSI prototype and optimize algorithm.
32542         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
32544 2014-07-03  Roland McGrath  <roland@hack.frob.com>
32546         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
32547         (lll_futex_timed_wait_bitset): Fix syscall argument count.
32549         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
32550         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
32551         in a bare environment with no <stdlib.h> installed.
32552         * sysdeps/nptl/configure: Regenerated.
32554         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
32556         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
32557         AC_EGREP_CPP for kernel header checks, so they only succeed if
32558         including <linux/version.h> actually works right.
32559         * sysdeps/unix/sysv/linux/configure: Regenerated.
32561         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
32562         value so it's not diagnosed as unused.
32564         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
32565         thing) with "ifeq ($(subdir),rt)".
32567 2014-07-03  Richard Henderson  <rth@redhat.com>
32569         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
32570         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
32571         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
32573         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
32574         (math_force_eval): New.
32576         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
32577         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
32579         * sysdeps/alpha/fpu/s_round.c: Remove file.
32580         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
32582         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
32583         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
32584         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
32585         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
32586         (_dl_start, print_statistics): Likewise.
32587         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
32588         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
32590         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32591         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32592         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32593         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32594         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32595         (HP_SMALL_TIMING_AVAIL): Define.
32596         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32597         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32598         (HP_SMALL_TIMING_AVAIL): Define.
32599         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32600         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
32602         * sysdeps/aarch64/hp-timing.h: New file.
32604         * sysdeps/generic/hp-timing.h: Remove dead comment.
32605         * sysdeps/generic/hp-timing-common.h: New file.
32606         * sysdeps/alpha/hp-timing.h: Include it.
32607         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
32608         * sysdeps/i386/i686/hp-timing.h: Likewise.
32609         * sysdeps/ia64/hp-timing.h: Likewise.
32610         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32611         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32612         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32613         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32614         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
32615         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
32616         (hp_timing_t): New.
32618         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
32619         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
32620         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
32621         * elf/rtld.c (_dl_start_final): Likewise.
32622         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
32623         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32624         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32625         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32626         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32627         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32628         (HP_TIMING_DIFF_INIT): Remove.
32629         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32630         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
32631         (HP_TIMING_DIFF_INIT): Remove.
32632         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
32633         * sysdeps/i386/i686/hp-timing.c: Remove file.
32634         * sysdeps/x86_64/hp-timing.c: Remove file.
32635         * sysdeps/ia64/hp-timing.c: Remove file.
32636         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
32637         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
32638         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
32639         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
32641         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
32642         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
32643         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
32644         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32645         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
32646         (HP_TIMING_ACCUM): Remove.
32647         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32648         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
32649         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
32651         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
32652         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
32653         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
32654         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
32655         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
32656         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32657         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
32658         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
32660         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
32662 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
32664         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
32666 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32668         Sync up with gettext.
32669         * intl/loadmsgcat.c: Define O_BINARY if not defined.
32670         [_MSC_VER]: Include malloc.h
32671         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
32672         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
32673         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
32674         TEMP_FAILURE_RETRY.  Cast return of alloca.
32675         [!_LIBC] Call gl_rwlock_init.
32676         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
32678 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32680         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
32681         before checking its value.
32683 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32685         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
32687         * debug/memcpy_chk.c: Don't include pagecopy.h.
32688         * debug/mempcpy_chk.c: Likewise.
32689         * string/memcpy.c: Likewise.
32690         * string/memmove.c: Likewise.
32691         * sysdeps/powerpc/memmove.c: Likewise.
32692         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
32693         definition of PAGE_COPY_FWD_MAYBE here...
32694         * sysdeps/generic/pagecopy.h: ... from here.
32695         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
32697 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32698             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32700         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
32701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
32702         optimizations.
32703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32704         (__libc_ifunc_impl_list): Likewise.
32705         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
32706         multiarch strcat for PPC64.
32707         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
32708         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
32710 2014-07-02  Roland McGrath  <roland@hack.frob.com>
32712         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
32714 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32716         * intl/loadmsgcat.c: Remove declaration of
32717         get_sysdep_segment_value.
32718         (get_sysdep_segment_value): Use ISO C style.
32719         (_nl_load_domain): Use ISO C style.  Get rid of redundant
32720         semicolon.  Fix typo and formatting in comment.
32721         (_nl_unload_domain): Use ISO C style.
32723         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
32725 2014-07-02  Will Newton  <will.newton@linaro.org>
32727         * malloc/obstack.c: Merge from gnulib master.
32728         [HAVE_CONFIG_H]: Remove conditional code.
32729         [!_LIBC]: Include config.h.
32730         [!ELIDE_CODE]: Don't include inttypes.h, include
32731         stdint.h unconditionally.
32732         (print_and_abort): Mark as _Noreturn.
32733         (_obstack_allocated_p): Mark as __attribute_pure__.
32734         (obstack_free): Rename to __obstack_free.
32735         [!__attribute__]: Remove conditional code.
32736         * malloc/obstack.h: Merge from gnulib master.
32737         [__cplusplus]: Move conditional down.
32738         [!__attribute_pure__]: Define __attribute_pure__ here
32739         if it is not already defined.
32740         (_obstack_memory_used): Mark as __attribute_pure__.
32741         [!__obstack_free]: Define as obstack_free.
32742         [__GNUC__]: Remove check for ancient NeXT gcc.
32744 2014-07-02  Will Newton  <will.newton@linaro.org>
32745             Paul Eggert  <eggert@cs.ucla.edu>
32747         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
32749 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32751         * resolv/gethnamaddr.c: Add comment warning that the file is
32752         not maintained.
32754 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
32756         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
32757         entries.
32759         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
32760         entry for aio_cancel and aio_cancel64.
32761         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
32762         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
32763         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
32764         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
32765         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
32766         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
32767         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
32768         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
32769         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
32770         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
32771         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
32772         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
32773         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
32775 2014-07-01  Roland McGrath  <roland@hack.frob.com>
32777         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
32778         * nptl/pthread_mutex_lock.c: Likewise.
32779         * nptl/pthread_mutex_timedlock.c: Likewise.
32780         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
32782 2014-07-01  Richard henderson  <rth@redhat.com>
32784         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
32785         (__isnan, __isnanl): Remove.
32786         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
32788         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32790 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32792         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32794 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32796         * resolv/nss_dns/dns-host.c (getanswer_r)
32797         [MULTI_PTRS_ARE_ALIASES]: Remove code.
32799 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
32801         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
32802         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
32803         undefine.
32804         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
32805         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
32807 2014-07-01  Roland McGrath <roland@hack.frob.com>
32809         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
32810         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
32812         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
32813         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
32815         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
32816         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
32817         ... here.
32818         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
32819         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
32821         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
32822         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
32823         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
32824         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
32826         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
32827         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
32828         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
32829         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
32830         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
32831         Moved ...
32832         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
32833         ... here.
32834         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
32835         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
32836         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
32837         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
32838         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
32839         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
32840         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
32841         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
32842         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
32843         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
32844         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
32845         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
32846         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
32847         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
32848         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
32849         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
32850         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
32851         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
32852         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
32853         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
32854         ... here.
32855         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
32856         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
32857         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
32858         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
32859         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
32860         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
32861         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
32862         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
32864 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
32866         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
32867         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
32868         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
32869         Add sysdep.
32871 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32875 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32877         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
32878         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32880         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
32882         * sysdeps/arm/libm-test-ulps: Regenerated.
32884 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32885             Roland McGrath <roland@hack.frob.com>
32887         * test-skeleton.c (signal_handler): Kill the whole process group
32888         before killing the child individually.
32889         (main): Report any failure on `setpgid'.
32891 2014-06-30  Roland McGrath  <roland@hack.frob.com>
32893         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
32894         from _TLS_H to _ARM_NPTL_TLS_H.
32895         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
32896         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
32898 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
32900         [BZ #16539]
32901         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
32902         (__expm1l): Return argument unchanged when small but not
32903         subnormal.
32905         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
32906         include macro name.
32907         (_FP_UNPACK_RAW_1_P): Likewise.
32908         (_FP_PACK_RAW_1): Likewise.
32909         (_FP_PACK_RAW_1_P): Likewise.
32910         (_FP_MUL_MEAT_1_wide): Likewise.
32911         (_FP_MUL_MEAT_DW_1_hard): Likewise.
32912         (_FP_MUL_MEAT_1_hard): Likewise.
32913         (_FP_DIV_MEAT_1_imm): Likewise.
32914         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
32915         (_FP_DIV_MEAT_1_udiv): Likewise.
32916         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
32917         (_FP_UNPACK_RAW_2): Likewise.
32918         (_FP_UNPACK_RAW_2_P): Likewise.
32919         (_FP_PACK_RAW_2): Likewise.
32920         (_FP_PACK_RAW_2_P): Likewise.
32921         (_FP_MUL_MEAT_DW_2_wide): Likewise.
32922         (_FP_MUL_MEAT_2_wide): Likewise.
32923         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
32924         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32925         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
32926         (_FP_MUL_MEAT_2_gmp): Likewise.
32927         (_FP_DIV_MEAT_2_udiv): Likewise.
32928         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
32929         (_FP_FRAC_SRL_4): Likewise.
32930         (_FP_FRAC_SRST_4): Likewise.
32931         (_FP_FRAC_SRS_4): Likewise.
32932         (_FP_UNPACK_RAW_4): Likewise.
32933         (_FP_UNPACK_RAW_4_P): Likewise.
32934         (_FP_PACK_RAW_4): Likewise.
32935         (_FP_PACK_RAW_4_P): Likewise.
32936         (_FP_MUL_MEAT_DW_4_wide): Likewise.
32937         (_FP_MUL_MEAT_4_wide): Likewise.
32938         (_FP_MUL_MEAT_4_gmp): Likewise.
32939         (umul_ppppmnnn): Likewise.
32940         (_FP_DIV_MEAT_4_udiv): Likewise.
32941         (__FP_FRAC_ADD_4): Likewise.
32942         (__FP_FRAC_SUB_3): Likewise.
32943         (__FP_FRAC_SUB_4): Likewise.
32944         (__FP_FRAC_DEC_3): Likewise.
32945         (__FP_FRAC_DEC_4): Likewise.
32946         (__FP_FRAC_ADDI_4): Likewise.
32947         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
32948         (_FP_FRAC_SRL_8): Likewise.
32949         (_FP_FRAC_SRS_8): Likewise.
32951         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
32952         include macro name.
32953         (FP_UNPACK_RAW_EP): Likewise.
32954         (FP_PACK_RAW_E): Likewise.
32955         (FP_PACK_RAW_EP): Likewise.
32956         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
32957         (_FP_ISSIGNAN): Likewise.
32958         (_FP_ADD_INTERNAL): Likewise.
32959         (_FP_FMA): Likewise.
32960         (_FP_CMP): Likewise.
32961         (_FP_SQRT): Likewise.
32962         (_FP_TO_INT): Likewise.
32963         (_FP_FROM_INT): Likewise.
32964         (FP_EXTEND): Likewise.
32965         (_FP_DIV_MEAT_N_loop): Likewise.
32967 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
32969         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
32970         throughout.
32972 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
32974         [BZ #17097]
32975         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
32976         result with correct sign in case of exponents that produce
32977         overflow except for X very close to 1.
32979 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
32981         mktime: merge #if/#ifdef usage from glibc
32982         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
32983         as that works with both Glibc's and Gnulib's style.
32984         See thread starting at Siddhesh Poyarekar's bug report at:
32985         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
32987 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32989         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
32990         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
32991         * sysdeps/tile/tilegx/memmove.c: Remove file.
32993 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
32995         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
32996         abi-name definition.
32997         * scripts/soversions.awk: Do not handle or generate ABI lines.
32998         * shlib-versions: Remove ABI entries.
32999         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33000         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
33002 2014-06-27  Roland McGrath  <roland@hack.frob.com>
33004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
33005         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
33006         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
33007         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
33008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33009         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33011         Moved ...
33012         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33013         ... here.
33014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33015         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33017         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33019         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33020         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33021         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33023         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33025         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33027         Moved ...
33028         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33029         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33030         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33031         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33032         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33033         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33034         Moved ...
33035         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33037         Moved ...
33038         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33040         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33042         Moved ...
33043         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33045         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33046         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33047         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33048         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33049         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33050         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33051         Moved ...
33052         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33053         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33054         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33055         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33056         Moved ...
33057         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33059         Moved ...
33060         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33061         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33062         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33063         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33064         Moved ...
33065         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33066         ... here.
33067         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33068         Identical file removed.
33069         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33070         Moved ...
33071         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33072         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33073         Identical file removed.
33074         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33075         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33076         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33077         Moved ...
33078         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33079         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33080         Identical file removed.
33081         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33082         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33083         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33084         Identical file removed.
33085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33086         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33088         Identical file removed.
33089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33090         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33092         Identical file removed.
33093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33094         Moved ...
33095         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33096         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33097         Identical file removed.
33098         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33099         Moved ...
33100         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33102         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33103         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33104         Identical file removed.
33105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33106         Moved ...
33107         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33108         ... here.
33109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33110         Identical file removed.
33111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33112         Moved ...
33113         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33114         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33115         Identical file removed.
33116         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33117         Moved ...
33118         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33120         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33121         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33122         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33124         Moved ...
33125         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33126         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33127         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33129         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33130         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33131         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33132         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33133         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33135 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33137         [BZ #17092]
33138         * nscd/nscd.c (monitor_child): Return exit status of child
33139         instead of return value from wait syscall.
33141 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33143         * configure.ac (libc_commonpagesize): Remove variable.
33144         (libc_relro_required): Likewise.
33145         (libc_cv_z_relro): Remove configure test.
33146         * configure: Regenerated.
33147         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33148         variable.
33149         (libc_relro_required): Likewise.
33150         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33151         (libc_relro_required): Likewise.
33152         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33153         (libc_relro_required): Likewise.
33154         * sysdeps/arm/preconfigure: Regenerated.
33155         * sysdeps/ia64/preconfigure: Remove file.
33156         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33157         variable.
33158         (libc_relro_required): Likewise.
33160         [BZ #16561]
33161         [BZ #16562]
33162         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33163         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33164         recompute overflowing results in original rounding mode.
33165         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33166         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33167         recompute overflowing results in original rounding mode.
33168         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33169         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33170         recompute overflowing results in original rounding mode.
33171         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33172         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33173         recompute overflowing results in original rounding mode.
33174         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33175         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33176         recompute overflowing results in original rounding mode.
33177         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33178         (libc_feholdsetround_ctx): New macro.
33179         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33180         * sysdeps/i386/fpu/libm-test-ulps: Update.
33181         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33183 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33185         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33186         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33187         corresponding .cpsetup call.
33189 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33191         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33192         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33193         * sysdeps/arm/Makefile [$(subdir) = csu]
33194         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33195         (static-only-routines): Add aeabi_read_tp here.
33196         (shared-only-routines): Add libc-aeabi_read_tp here.
33197         (CFLAGS-libc-start.c): Add -fexceptions here.
33198         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33199         (sysdep_routines, static-only-routines, shared-only-routines):
33200         Don't add to these here.
33201         (CFLAGS-libc-start.c): Likewise.
33203         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33204         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33205         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33206         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33207         * sysdeps/arm/Makefile [$(subdir) = rt]
33208         (librt-sysdep_routines, librt-shared-only-routines):
33209         Append rt-aeabi_unwind_cpp_pr1 here.
33210         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33211         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33212         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33213         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33214         Append nptl-aeabi_unwind_cpp_pr1 here.
33215         (tests): Filter out tst-cleanupx4 here.
33216         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33217         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33218         Don't do those here.
33220 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33222         * scripts/list-sources.sh: Do not handle ports specially.
33224 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33226         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33227         * sysdeps/arm/feupdateenv.c: Likewise.
33229         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33231 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33233         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33234         trailing whitespace removed.
33235         * scripts/config.guess: Update to version 2014-03-23.
33236         * scripts/config.sub: Update to version 2014-05-01
33237         * scripts/install-sh: Update to version 2013-12-25.23.
33238         * scripts/move-if-change: Update from gnulib.
33240 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33242         * debug/memmove_chk.c: Remove pagecopy.h include.
33244 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33246         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33247         identical to gnulib mktime.
33249 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33251         * configure.ac: Do not test for machine being rs6000.  Do not test
33252         for powerpc*-*soft.
33253         * configure: Regenerated.
33255         [BZ #11505]
33256         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33257         test.
33258         * configure: Regenerated.
33259         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33260         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33261         Remove configure test.
33262         * sysdeps/arm/configure: Regenerated.
33263         * sysdeps/nptl/configure.ac: Do not check
33264         libc_cv_asm_cfi_directives.
33265         * sysdeps/nptl/configure: Regenerated.
33266         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33267         * sysdeps/x86_64/nptl/configure: Remove generated file.
33268         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33269         unconditional.
33270         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33272 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33274         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33275         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33276         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33277         it is defined.
33279         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33280         instead of whether it is defined.
33281         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33282         * sysdeps/hppa/dl-machine.h: Likewise.
33283         * sysdeps/ia64/dl-machine.h: Likewise.
33284         * sysdeps/m68k/dl-machine.h: Likewise.
33285         * sysdeps/microblaze/dl-machine.h: Likewise.
33286         * sysdeps/mips/dl-machine.: Likewise.
33287         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33288         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33289         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33290         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33291         * sysdeps/sh/dl-machine.h: Likewise.
33292         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33293         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33294         * sysdeps/tile/dl-machine.h: Likewise.
33295         * sysdeps/x86_64/dl-machine.h: Likewise.
33297         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33298         code.
33299         (verify_persistent_db): Likewise.
33301 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33304         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33306         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33308         Moved ...
33309         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33310         ... here.
33311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33312         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33314         Identical file removed.
33315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33316         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33318         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33320         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33322         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33324         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33326         Moved ...
33327         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33329         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33331         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33333         Moved ...
33334         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33336         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33338         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33340         Identical file removed.
33341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33342         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33344         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33346         Moved ...
33347         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33348         ... here.
33349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33350         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33352         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33354         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33356         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33358         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33359         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33360         Moved ...
33361         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33363         Moved ...
33364         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33365         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33366         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33368         Moved ...
33369         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33370         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33371         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33373         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33374         folded into ...
33375         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33376         * sysdeps/unix/sysv/linux/s390/Versions
33377         (libpthread: GLIBC_2.19): New version set.
33378         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33379         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33380         (librt: GLIBC_2.3.3): New version set.
33381         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33382         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33383         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33384         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33385         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33386         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33387         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33388         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33389         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33390         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33391         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33392         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33393         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33394         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33395         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33396         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33397         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33398         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33399         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33400         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33401         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33402         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33403         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33404         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33405         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33406         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33407         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33408         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33409         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33410         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33411         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33412         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33413         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33414         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33415         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33417         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33419         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33420         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33421         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33422         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33423         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33424         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33425         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33427         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33428         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33429         (__libc_vfork): Define the function under this name.
33430         [!NOT_IN_libc] (__vfork): Make this an alias.
33431         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33432         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33433         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33434         (__libc_vfork): Define the function under this name.
33435         [!NOT_IN_libc] (__vfork): Make this an alias.
33436         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33437         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33438         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33439         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33440         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33441         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33443         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33444         code that was previously under [RESET_PID].
33445         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33446         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33449         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33450         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33451         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33452         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33453         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33454         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33455         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33456         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33457         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33458         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33459         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33460         Moved ...
33461         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33462         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33463         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33464         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33465         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33466         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33467         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33468         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33469         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33470         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33471         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33472         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33473         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33474         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33475         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33476         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33477         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33478         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33479         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33480         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33481         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33482         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33483         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33484         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33485         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33486         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33487         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33488         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33489         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33491 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33493         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33494         that was previously under [RESET_PID].
33495         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33497 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33499         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33500         not undefine and redefine.
33501         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33502         [O_CLOEXEC]: Make code unconditional.
33503         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33504         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33505         <kernel-features.h>.
33506         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33507         conditional variable definition.
33508         (shm_open) [O_CLOEXEC]: Make code unconditional.
33509         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33510         code.
33512         * configure.ac (USE_REGPARMS): Don't define here.
33513         * configure: Regenerated.
33514         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33515         * sysdeps/i386/configure: Regenerated.
33517         * nptl/createthread.c: Don't include kernel-features.h.
33518         * nptl/pthread_cancel.c: Likewise.
33519         * nptl/pthread_condattr_setclock.c: Likewise.
33520         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33521         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33522         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33523         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33524         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33525         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33526         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33527         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33528         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33529         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33530         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33531         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33532         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
33533         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
33534         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
33535         * nscd/gai.c: Likewise.
33536         * nss/nss_db/db-open.c: Likewise.
33537         * sysdeps/generic/ldsodefs.h: Likewise.
33538         * sysdeps/sh/nptl/tls.h: Likewise.
33539         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
33540         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
33541         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
33542         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
33543         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
33544         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
33545         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
33546         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33547         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33548         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
33549         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
33550         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33551         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
33552         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
33553         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
33554         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
33555         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
33556         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
33557         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
33558         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
33559         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
33560         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
33561         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
33562         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
33563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
33564         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
33565         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
33566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
33567         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33568         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
33569         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
33570         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
33571         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
33572         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
33573         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
33574         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
33575         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
33576         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
33577         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
33578         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
33579         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33580         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
33581         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
33582         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33583         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
33584         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
33585         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
33586         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
33587         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
33588         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
33589         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
33590         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
33591         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
33592         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
33593         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
33594         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
33595         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
33596         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
33597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
33598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
33599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
33600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
33601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
33602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
33603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
33604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
33605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
33606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
33607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
33608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
33609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
33610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
33611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
33613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
33617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
33618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
33619         * sysdeps/unix/sysv/linux/pread.c: Likewise.
33620         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
33621         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
33622         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
33623         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
33624         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
33625         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
33626         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
33627         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
33628         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
33629         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
33630         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
33631         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
33632         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
33633         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
33634         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
33635         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
33636         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
33637         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
33638         * sysdeps/unix/sysv/linux/system.c: Likewise.
33639         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
33640         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
33641         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
33642         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
33643         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33644         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
33645         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33647         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
33648         * configure: Regenerated.
33649         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
33651         * configure.ac (base_machine): Do not set specially for particular
33652         machines here.
33653         * configure: Regenerated.
33654         * sysdeps/powerpc/preconfigure: Move machine and base_machine
33655         settings from configure.ac.
33656         * sysdeps/i386/preconfigure: New file.
33657         * sysdeps/s390/preconfigure: Likewise.
33658         * sysdeps/sh/preconfigure: Likewise.
33659         * sysdeps/sparc/preconfigure: Likewise.
33661 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33663         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
33664         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
33665         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
33666         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
33667         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
33668         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
33669         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
33670         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
33671         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
33672         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
33673         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
33674         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
33675         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
33676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
33677         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
33678         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
33679         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
33680         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
33681         * sysdeps/sparc/sparc64/Makefile: ... appended here.
33683         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
33684         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
33685         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
33686         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
33687         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
33688         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
33689         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
33690         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
33691         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
33692         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
33693         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
33694         * sysdeps/sparc/sparc32/sem_post.c: ... here.
33695         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
33696         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
33697         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
33698         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
33699         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
33700         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
33701         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
33702         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
33703         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
33704         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
33705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
33706         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
33707         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
33708         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
33709         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
33710         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
33711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
33712         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
33713         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
33714         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
33715         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
33716         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
33717         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
33718         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
33719         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
33720         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
33722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
33723         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
33724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
33725         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
33726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
33727         Moved ...
33728         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
33729         ... here.
33730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
33731         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
33732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
33733         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
33734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
33735         Moved ...
33736         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
33737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
33738         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
33739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
33740         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
33741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
33742         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
33743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33744         Moved ...
33745         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
33746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
33747         Moved ...
33748         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
33749         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
33750         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
33751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
33752         Moved ...
33753         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
33754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
33755         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
33756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
33757         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
33758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
33759         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
33760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
33761         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
33762         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
33763         Moved ...
33764         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
33765         ... here.
33766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
33767         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
33768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
33769         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
33770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
33771         Moved ...
33772         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
33773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
33774         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
33775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
33776         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
33777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
33778         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
33779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33780         Moved ...
33781         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
33782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
33783         Moved ...
33784         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
33785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
33786         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
33787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
33788         Moved ...
33789         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
33790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
33791         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
33792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
33793         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
33795 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33797         * timezone/checktab.awk: Update from tzcode 2014e.
33798         * timezone/private.h: Likewise.
33799         * timezone/tzfile.h: Likewise.
33800         * timezone/zdump.c: Likewise.
33801         * timezone/zic.c: Likewise.
33803         * sysdeps/unix/sysv/linux/kernel-features.h
33804         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
33805         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
33806         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
33807         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33808         Remove conditional code.
33810 2014-06-25  Will Newton  <will.newton@linaro.org>
33812         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
33813         (_dl_arm_cap_flags): Add HWCAP2 values.
33814         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
33815         (_DL_HWCAP_COUNT): Increase to 37.
33816         (_DL_HWCAP_LAST): New define.
33817         (_DL_HWCAP2_LAST): New define.
33818         (_dl_procinfo): Add support for printing
33819         AT_HWCAP2 entries.
33820         (_dl_string_hwcap): Use _dl_hwcap_string.
33822 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33824         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33826 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33828         * README: Do not mention ports directory.
33830         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
33831         Remove macro.
33832         * sysdeps/unix/sysv/linux/futimes.c: Do not include
33833         <kernel-features.h>.
33834         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
33835         conditional variable definition.
33836         (__futimes): Update comment.
33837         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
33838         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
33840         [BZ #16560]
33841         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
33842         arguments close to 0.
33843         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
33844         Likewise.
33845         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
33846         Likewise.
33847         * math/auto-libm-test-in: Add more tests of exp10.
33848         * math/auto-libm-test-out: Regenerated.
33849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33851         * sysdeps/unix/sysv/linux/kernel-features.h
33852         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
33853         * sysdeps/unix/sysv/linux/readv.c: Do not include
33854         <kernel-features.h>.
33855         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33856         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33857         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33858         unconditional.
33859         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33860         conditional code.
33861         * sysdeps/unix/sysv/linux/writev.c: Do not include
33862         <kernel-features.h>.
33863         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
33864         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
33865         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
33866         unconditional.
33867         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
33868         conditional code.
33870 2014-06-25  Will Newton  <will.newton@linaro.org>
33872         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
33873         comment changes throughout the file.  Remove checks
33874         for HAVE_*_H definitions that are not required.
33875         (__gen_tempname): Call abort if an unknown kind value is
33876         passed.
33878 2014-06-25  Andreas Schwab  <schwab@suse.de>
33880         [BZ #17086]
33881         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
33882         scalbln, scalblnf, scalblnl in libc.
33884 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33886         [BZ #17086]
33887         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
33888         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33889         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33891 2014-06-24  Roland McGrath  <roland@hack.frob.com>
33893         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
33894         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
33895         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
33896         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
33897         Update #include.
33898         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
33899         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
33900         Update #include.
33901         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
33902         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
33903         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
33904         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
33905         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
33906         * sysdeps/x86/bits/pthreadtypes.h: ... here.
33907         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
33908         * sysdeps/x86/bits/semaphore.h: ... here.
33909         * sysdeps/x86/nptl/elide.h: Moved ...
33910         * sysdeps/x86/elide.h: ... here.
33911         * sysdeps/x86_64/nptl/Implies: File removed.
33912         * sysdeps/i386/nptl/Implies: File removed.
33914 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
33916         [BZ #16539]
33917         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
33918         return the argument for normal arguments with exponent below -64.
33919         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
33920         Likewise.
33921         * math/auto-libm-test-in: Add another test of expm1.
33922         * math/auto-libm-test-out: Regenerated.
33924         [BZ #16287]
33925         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
33926         calling __erfcl for arguments at least 16.
33927         * math/auto-libm-test-in: Add more tests of erf.
33928         * math/auto-libm-test-out: Regenerated.
33930         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
33931         individual architectures.
33932         * sysdeps/unix/sysv/linux/configure: Regenerated.
33933         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
33934         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
33935         * sysdeps/unix/sysv/linux/powerpc/configure.ac
33936         (ldd_rewrite_script): Define variable.
33937         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
33939         file.
33940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
33941         generated file.
33942         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
33943         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
33944         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
33945         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
33946         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
33947         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
33948         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
33949         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
33951 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33953         [BZ #17084]
33954         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
33955         Rename member __data.d to __data.__elision_data.
33957 2014-06-24  Wilco  <wdijkstr@arm.com>
33959         * NEWS: Add 16918 to fixed bug list.
33961 2014-06-24  Wilco  <wdijkstr@arm.com>
33963         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
33965 2014-06-24  Wilco  <wdijkstr@arm.com>
33967         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
33968         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
33969         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
33970         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
33971         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
33972         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
33973         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
33974         Use _FPU_MASK_RM.
33976 2014-06-24  Wilco  <wdijkstr@arm.com>
33978         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
33980 2014-06-24  Wilco  <wdijkstr@arm.com>
33982         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
33983         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
33984         * sysdeps/arm/fesetround.c (fesetround): Remove space.
33985         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
33987 2014-06-24  Wilco  <wdijkstr@arm.com>
33989         [BZ #16918]
33990         * sysdeps/arm/feupdateenv.c (feupdateenv):
33991         Rewrite to reduce FPSCR accesses and fix return value.
33993 2014-06-24  Wilco  <wdijkstr@arm.com>
33995         * sysdeps/arm/fclrexcpt.c (feclearexcept):
33996         Optimize to avoid unnecessary FPSCR writes.
33997         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
33998         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
33999         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34000         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
34002 2014-06-24  Wilco  <wdijkstr@arm.com>
34004         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
34005         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
34006         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
34007         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
34008         Call libc_fetestexcept_vfp.
34009         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34010         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34011         __SOFTFP__ ifdef so that they can be built for softfp.
34013 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34015         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34016         argument type signed char.
34018         * Makerules (check-abi): Dump diff of symlist if the test
34019         fails.
34021 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34023         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34024         using abort.
34026         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34027         Remove unused variable ST.
34029 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34031         [BZ #16354]
34032         [BZ #17061]
34033         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34034         small arguments before calling __expm1.
34035         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34036         small arguments before calling __expm1f.
34037         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34038         small arguments before calling __expm1l.
34039         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34040         Likewise.
34041         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34042         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34043         spurious underflow for some cosh tests.
34044         * math/auto-libm-test-out: Regenerated.
34045         * sysdeps/i386/fpu/libm-test-ulps: Update.
34047         [BZ #17050]
34048         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34049         (__ieee754_y1): Set errno if return value overflows.
34050         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34051         (__ieee754_y1f): Set errno if return value overflows.
34052         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34053         (__ieee754_y1l): Set errno if return value overflows.
34054         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34055         (__ieee754_y1l): Set errno if return value overflows.
34056         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34057         * math/auto-libm-test-out: Regenerated.
34059         * math/gen-auto-libm-tests.c: Document use of
34060         ignore-zero-inf-sign.
34061         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34062         (input_flags): Add ignore-zero-inf-sign.
34063         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34064         * math/gen-libm-test.pl (generate_testfile): Handle
34065         ignore-zero-inf-sign.
34066         * math/auto-libm-test-in: Mark some cpow tests with
34067         ignore-zero-inf-sign and some with xfail-rounding.
34068         * math/auto-libm-test-out: Regenerated.
34069         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34070         * sysdeps/i386/fpu/libm-test-ulps: Update.
34071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34073         [BZ #16315]
34074         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34075         overflowing or underflowing operations take place with sign of
34076         result.
34077         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34078         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34079         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34080         (__ieee754_pow): Recompute overflowing and underflowing results in
34081         original rounding mode.
34082         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34083         (__powl_helper): Allow negative argument X and scale negated value
34084         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34085         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34086         overflowing or underflowing operations take place with sign of
34087         result.
34088         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34089         Include <math.h>.
34090         * math/auto-libm-test-in: Add more tests of pow.
34091         * math/auto-libm-test-out: Regenerated.
34092         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34093         (pow_tonearest_test_data): Remove.
34094         (pow_test_tonearest): Likewise.
34095         (pow_towardzero_test_data): Likewise.
34096         (pow_test_towardzero): Likewise.
34097         (pow_downward_test_data): Likewise.
34098         (pow_test_downward): Likewise.
34099         (pow_upward_test_data): Likewise.
34100         (pow_test_upward): Likewise.
34101         (main): Don't call removed functions.
34102         * sysdeps/i386/fpu/libm-test-ulps: Update.
34103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34105 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34108         Moved ...
34109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34111         Moved ...
34112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34114         Moved ...
34115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34117         Moved ...
34118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34120         File removed.
34121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34122         File removed.
34123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34124         File removed.
34125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34126         File removed.
34127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34128         File removed.
34129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34130         File removed.
34131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34132         File removed.
34133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34134         File removed.
34135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34136         File removed.
34137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34138         File removed.
34139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34140         File removed.
34141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34142         File removed.
34143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34144         Moved ...
34145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34147         Moved ...
34148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34149         ... here.
34150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34151         Moved ...
34152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34154         Moved ...
34155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34157         Moved ...
34158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34160         Moved ...
34161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34163         Moved ...
34164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34166         Moved ...
34167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34169         Moved ...
34170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34173         ... here.
34174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34175         Moved ...
34176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34178         Moved ...
34179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34180         ... here.
34181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34182         Moved ...
34183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34184         ... here.
34185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34186         Moved ...
34187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34188         ... here.
34189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34190         Moved ...
34191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34193         Moved ...
34194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34198         Moved ...
34199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34200         ... here.
34201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34202         Moved ...
34203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34204         ... here.
34205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34206         Moved ...
34207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34209         Moved ...
34210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34212         Moved ...
34213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34215         Moved ...
34216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34218         Moved ...
34219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34220         ... here.
34221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34222         Moved ...
34223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34225         Moved ...
34226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34228         Moved ...
34229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34231         Moved ...
34232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34236         Moved ...
34237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34239         Moved ...
34240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34242         Moved ...
34243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34244         ... here.
34245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34246         Moved ...
34247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34248         ... here.
34249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34250         Moved ...
34251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34252         ... here.
34253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34254         Moved ...
34255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34257         Moved ...
34258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34260         Moved ...
34261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34263         Moved ...
34264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34265         ... here.
34266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34267         Moved ...
34268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34269         ... here.
34270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34271         Moved ...
34272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34273         ... here.
34274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34275         Moved ...
34276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34278         Moved ...
34279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34281 2014-06-23  Will Newton  <will.newton@linaro.org>
34282             Wilco  <wdijkstr@arm.com>
34284         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34285         implementation.  Include get-rounding-mode.h.
34286         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34287         [!libc_feholdsetround_noex_ctx]: Define
34288         libc_feholdsetround_noex_ctx.
34289         [!libc_feholdsetround_noexf_ctx]: Define
34290         libc_feholdsetround_noexf_ctx.
34291         [!libc_feholdsetround_noexl_ctx]: Define
34292         libc_feholdsetround_noexl_ctx.
34293         (libc_feholdsetround_ctx): New function.
34294         (libc_feresetround_ctx): New function.
34295         (libc_feholdsetround_noex_ctx): New function.
34296         (libc_feresetround_noex_ctx): New function.
34298 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34300         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34301         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34302         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34303         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34304         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34305         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34307         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34308         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34309         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34310         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34311         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34312         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34313         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34314         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34315         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34316         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34317         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34318         Moved ...
34319         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34320         ... here.
34321         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34322         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34324         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34325         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34326         Moved ...
34327         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34329         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34331         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34333         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34334         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34335         Moved ...
34336         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34338         Moved ...
34339         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34340         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34341         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34342         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34343         Moved ...
34344         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34345         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34346         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34347         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34348         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34349         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34350         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34352         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34353         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34354         Moved ...
34355         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34356         ... here.
34357         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34358         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34359         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34360         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34361         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34362         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34363         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34364         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34366         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34367         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34368         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34369         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34370         Moved ...
34371         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34372         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34373         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34374         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34375         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34377         Moved ...
34378         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34380         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34381         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34382         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34384         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34385         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34386         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34387         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34388         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34389         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34390         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34391         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34392         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34393         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34394         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34395         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34396         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34397         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34398         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34399         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34400         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34401         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34402         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34403         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34404         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34405         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34406         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34407         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34408         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34409         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34410         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34411         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34413 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34415         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34416         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34417         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34418         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34419         (IPV6_PMTUDISC_INTERFACE): Likewise.
34420         (IPV6_PMTUDISC_OMIT): Likewise.
34422 2014-06-23  Andreas Schwab  <schwab@suse.de>
34424         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34425         Remove unused errout label.
34427 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34429         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34430         macro: hardware supports Vector Crypto instructions.
34432 2014-06-23  Will Newton  <will.newton@linaro.org>
34434         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34435         rather than __builtin_expect.
34437         * elf/dl-lookup.c (undefined_msg): Remove variable.
34438         (_dl_lookup_symbol_x): Replace undefined_msg with string
34439         literal.
34441         * elf/dl-lookup.c (do_lookup_unique): New function.
34442         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34443         to a separate function.
34445 2014-06-23  Andreas Schwab  <schwab@suse.de>
34447         [BZ #17079]
34448         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34449         before reading the next line.
34451 2014-06-23  Will Newton  <will.newton@linaro.org>
34453         * test-skeleton.c (signal_handler): Use printf and %m
34454         rather than perror.  Use printf rather than fprintf to
34455         stderr.  Use puts rather than fputs to stderr.
34456         (main): Likewise.
34458 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34460         * nscd/nscd.c (thread_info_t): Remove typedef.
34461         (thread_info): Remove variable.
34463 2014-06-21  Allan McRae  <allan@archlinux.org>
34465         * NEWS: Mention CVE-2014-4043.
34467 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34469         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34470         * nptl/smp.h: ... here.
34472         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34474         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34475         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34476         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34477         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34479         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34480         * nptl/stack-aliasing.h: New file.
34481         * sysdeps/i386/i686/stack-aliasing.h: New file.
34482         * sysdeps/i386/i686/nptl/Makefile: File removed.
34483         * sysdeps/x86_64/stack-aliasing.h: New file.
34484         * sysdeps/x86_64/nptl/Makefile
34485         (CFLAGS-pthread_create.c): Variable removed.
34487         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34488         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34489         old file.
34490         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34491         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34492         old file.
34494 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34496         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34497         (__ASSUME_SIGFRAME_V2): Remove macro.
34498         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34499         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34500         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34501         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34502         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34503         Declare as function.  Remove conditional macro definitions.
34504         (__default_rt_sa_restorer): Likewise.
34505         (__default_sa_restorer_v1): Remove declaration.
34506         (__default_sa_restorer_v2): Likewise.
34507         (__default_rt_sa_restorer_v1): Likewise.
34508         (__default_rt_sa_restorer_v2): Likewise.
34509         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34510         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34511         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34513 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34515         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34516         (libpthread-routines): Add sysdep.
34517         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34518         * sysdeps/unix/sysv/linux/sparc/Versions
34519         (libpthread: GLIBC_2.3.3): New version set.
34520         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34521         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34522         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34523         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34524         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34525         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34526         Moved ...
34527         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34528         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34529         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34530         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34531         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34532         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
34533         * sysdeps/sparc/nptl/sem_init.c: ... here.
34534         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
34535         * sysdeps/sparc/nptl/sem_post.c: ... here.
34536         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
34537         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
34538         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
34539         * sysdeps/sparc/nptl/sem_wait.c: ... here.
34540         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
34541         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
34542         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
34543         (libpthread-routines): Add cpu_relax.
34544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
34545         File removed.
34546         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
34547         (librt: GLIBC_2.3.3): New version set.
34548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
34549         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
34550         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
34551         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
34552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
34553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
34554         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
34555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
34556         Moved ...
34557         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
34558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
34559         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
34560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
34561         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
34562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
34563         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
34564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
34565         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
34566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
34567         Moved ...
34568         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
34569         Update #include.
34570         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
34571         Moved ...
34572         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
34573         Update #include.
34574         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
34575         Moved ...
34576         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
34577         Update #include.
34578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
34579         Moved ...
34580         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
34581         Update #include.
34582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
34583         Moved ...
34584         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
34585         Update #include.
34586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
34587         Moved ...
34588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
34589         Update #include.
34590         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
34591         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
34592         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
34593         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
34594         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
34595         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
34596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
34597         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
34598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
34599         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
34600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34601         Moved ...
34602         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
34603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
34604         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
34605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
34606         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
34608 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34610         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
34611         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
34612         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34613         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
34614         * nscd/nscd.c: Likewise.
34615         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
34616         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
34617         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
34618         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
34620         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
34621         <kernel-features.h>.
34622         (init_mq_netlink): Remove conditional have_sock_cloexec
34623         definitions.  Remove code conditional on have_sock_cloexec < 0.
34624         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
34625         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
34626         * sysdeps/unix/sysv/linux/opensock.c: Do not include
34627         <kernel-features.h>.
34628         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
34629         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
34631 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34633         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34634         Add tests for memset_chk and memset.
34636         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
34637         with AVX2_Usable.
34639 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34641         [BZ #16046]
34642         * elf/tst-dl-iter-static.c: New file.
34643         * elf/Makefile (tests-static): Add tst-dl-iter-static.
34645         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
34646         error.
34648 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34650         * sysdeps/unix/sysv/linux/kernel-features.h
34651         (__ASSUME_F_GETOWN_EX): Remove macro.
34652         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
34653         <kernel-features.h>.
34654         (miss_F_GETOWN_EX): Remove variable or macro.
34655         (do_fcntl): Do not check miss_F_GETOWN_EX.
34656         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
34658         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
34659         Remove macro.
34660         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
34661         [!__ASSUME_AT_RANDOM]: Remove conditional code.
34662         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
34664         * sysdeps/unix/sysv/linux/kernel-features.h
34665         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
34666         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
34667         [ADJ_OFFSET_SS_READ]: Make code unconditional.
34668         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
34670 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
34672         [BZ #17075]
34673         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
34674         Fix calculation of the symbol's value.
34675         * sysdeps/arm/tst-armtlsdescloc.c: New file.
34676         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
34677         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
34678         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
34679         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
34680         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
34681         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
34682         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
34683         (modules-names): Add `tst-armtlsdescmod',
34684         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
34685         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
34686         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34687         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
34688         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
34689         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
34690         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
34691         ($(objpfx)tst-armtlsdescloc): New dependency.
34692         ($(objpfx)tst-armtlsdescextnow): Likewise.
34693         ($(objpfx)tst-armtlsdescextlazy): Likewise.
34694         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
34695         TLS scheme support.
34696         * sysdeps/arm/configure: Regenerate.
34698 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
34700         * include/fcntl.h (__atfct_seterrno): Remove prototype.
34701         (__atfct_seterrno_2): Likewise.
34702         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
34703         <kernel-features.h>.
34704         (__ASSUME_ATFCTS): Do not undefine and redefine.
34705         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
34706         (__have_atfcts): Remove conditional definition.
34707         (__fxstatat([__NR_fstatat64]: Make code unconditional.
34708         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
34709         unreachable if [__ASSUME_ATFCTS].
34710         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
34711         not undefine and redefine.
34712         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
34713         <kernel-features.h>.
34714         (faccessat) [__NR_faccessat]: Make code unconditional.
34715         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
34716         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
34717         <kernel-features.h>.
34718         (fchmodat) [__NR_fchmodat]: Make code unconditional.
34719         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34720         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
34721         <kernel-features.h>.
34722         (fchownat) [__NR_fchownat]: Make code unconditional.
34723         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
34724         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
34725         <kernel-features.h>.
34726         (futimesat) [__NR_futimesat]: Make code unconditional.
34727         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
34728         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
34729         <kernel-features.h>.
34730         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34731         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34732         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
34733         <kernel-features.h>.
34734         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
34735         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34736         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
34737         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
34738         <kernel-features.h>.
34739         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
34740         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34741         * sysdeps/unix/sysv/linux/linkat.c: Do not include
34742         <kernel-features.h>.
34743         (linkat) [__NR_linkat]: Make code unconditional.
34744         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34745         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
34746         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
34747         <kernel-features.h>.
34748         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
34749         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
34750         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
34751         <kernel-features.h>.
34752         (mkdirat) [__NR_mkdirat]: Make code unconditional.
34753         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
34754         * sysdeps/unix/sysv/linux/openat.c: Do not include
34755         <kernel-features.h>.
34756         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
34757         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
34758         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
34759         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
34760         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
34761         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
34762         <kernel-features.h>.
34763         (readlinkat) [__NR_readlinkat]: Make code unconditional.
34764         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
34765         result of INLINE_SYSCALL directly, not via int variable.
34766         * sysdeps/unix/sysv/linux/renameat.c: Do not include
34767         <kernel-features.h>.
34768         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
34769         (renameat) [__NR_renameat]: Make code unconditional.
34770         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
34771         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
34772         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
34773         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
34774         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
34775         (__ASSUME_ATFCTS): Do not undefine and redefine.
34776         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
34777         <kernel-features.h>.
34778         (symlinkat) [__NR_symlinkat]: Make code unconditional.
34779         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34780         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
34781         <kernel-features.h>.
34782         (unlinkat) [__NR_unlinkat]: Make code unconditional.
34783         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
34784         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
34785         (__ASSUME_ATFCTS): Do not undefine and redefine.
34786         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
34787         <kernel-features.h>.
34788         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
34789         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
34790         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
34791         <kernel-features.h>.
34792         (__xmknodat) [__NR_mknodat]: Make code unconditional.
34793         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
34795 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
34797         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
34799 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
34801         [BZ #17069]
34802         * posix/regcomp.c (parse_reg_exp): Deallocate partially
34803         constructed tree before returning error.
34804         * posix/bug-regexp36.c: Expand test case.
34806 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
34808         [BZ #6803]
34809         * math/libm-test.inc (scalbln_test_date):
34810         Add errno expectations.
34811         * math/w_scalblnf.c: New File.
34812         Add wrapper which checks for setting errno to ERANGE.
34813         Add weak_alias for corresponding scalbln function.
34814         * math/w_scalbln.c: Likewise.
34815         * math/w_scalblnl.c: Likewise.
34816         * math/Makefile (libm-calls): Add w_scalbln.
34817         * sysdeps/ieee754/flt-32/s_scalblnf.c:
34818         Remove weak_alias for corresponding scalbln function.
34819         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34820         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34821         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34822         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34823         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
34824         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34825         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
34826         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34827         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
34828         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
34829         Remove long_double_symbol for scalblnl function in libm, libc.
34830         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
34831         Add wrapper which checks for setting errno to ERANGE.
34832         Add long_double_symbol for scalblnl function in libm, libc.
34833         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
34834         Remove long_double_symbol for scalblnl in libm.
34835         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
34836         Add wrapper which checks for setting errno to ERANGE.
34837         Add long_double_symbol for scalblnl function in libm.
34838         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
34839         Do not use wrapper because of own implementation.
34841 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
34843         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
34844         3 bytes for __pad1 for x32.
34845         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
34847 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
34848             H.J. Lu  <hongjiu.lu@intel.com>
34850         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
34851         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
34852         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34853         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34854         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
34856 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
34858         [BZ #17069]
34859         * posix/regcomp.c (parse_expression): Deallocate partially
34860         constructed tree before returning error.
34861         * posix/Makefile.c (tests): Add bug-regex36.
34862         (generated): Add bug-regex36.mtrace.
34863         (tests-special): Add $(objpfx)bug-regex36-mem.out
34864         (bug-regex36-ENV): New variable.
34865         ($(objpfx)bug-regex36-mem.out): New rule.
34866         * posix/bug-regex36.c: New file.
34868 2014-06-19  Will Newton  <will.newton@linaro.org>
34870         * malloc/malloc.c (systrim): If extra is zero then return
34871         early.
34873 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34875         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
34877 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
34879         * sysdeps/aarch64/strchr.S: New file.
34881 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34883         [BZ #17022]
34884         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
34885         from arguments -2 or below.
34886         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
34887         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
34889 2014-06-18  Andreas Schwab  <schwab@suse.de>
34891         [BZ #17062]
34892         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
34893         of a bracket expr not to run off the end of the string.
34894         * posix/Makefile (tests): Add tst-fnmatch3.
34895         * posix/tst-fnmatch3.c: New file.
34897 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
34899         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
34900         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34901         [$(cross-compiling) = no]: Likewise.
34902         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34903         [$(cross-compiling) = no]: Likewise.
34905 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
34907         [BZ #17031]
34908         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
34909         double, adjusted for any remainder from the high double.
34910         * math/libm-test.inc (nearbyint): Add tests.
34911         (rint): Likewise.
34913 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34915         * nptl/sysdeps/powerpc/Makefile: Moved ...
34916         * sysdeps/powerpc/nptl/Makefile: ... here.
34917         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
34918         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
34919         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
34920         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
34921         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
34922         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
34923         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
34924         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
34925         * nptl/sysdeps/powerpc/tls.h: Moved ...
34926         * sysdeps/powerpc/nptl/tls.h: ... here.
34928 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
34930         [BZ #16681]
34931         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
34932         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
34933         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
34934         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
34935         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
34936         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
34937         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
34938         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
34939         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
34941 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
34943         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34945 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
34947         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
34948         defined operator.
34950         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
34951         $TIMEOUTFACTOR.
34953 2014-06-16  Florian Weimer  <fweimer@redhat.com>
34955         [BZ #17058]
34956         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
34957         non-executed part of the test.
34959 2014-06-16  Andreas Schwab  <schwab@suse.de>
34961         * string/bits/string2.h (strdup, strndup): Update feature guard.
34963 2014-06-14  David S. Miller  <davem@davemloft.net>
34965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34967 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
34969         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
34970         that was previously under [RESET_PID].
34971         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
34973         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
34974         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
34975         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
34976         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34977         (__libc_vfork): New strong alias.
34978         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
34980 2014-06-14 Andi Kleen  <ak@linux.intel.com>
34982         * sysdeps/generic/elide.h: New file.
34984 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34986         * Makefile (installed-headers): Adjust path of pthread.h header.
34988 2014-06-13  Roland McGrath  <roland@hack.frob.com>
34990         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
34991         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
34992         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
34993         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
34995         * nptl/sysdeps/s390/Makefile: Moved ...
34996         * sysdeps/s390/nptl/Makefile: ... here.
34997         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
34998         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
34999         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35000         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35001         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
35002         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
35003         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
35004         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35005         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
35006         * sysdeps/s390/nptl/pthreaddef.h: ... here.
35007         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
35008         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35009         * nptl/sysdeps/s390/tls.h: Moved ...
35010         * sysdeps/s390/nptl/tls.h: ... here.
35012         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35013         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35015 2014-06-13  David S. Miller  <davem@davemloft.net>
35017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35020         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35021         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35023         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35024         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35025         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35026         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35027         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35028         Remove RESET_PID cpp guards.
35029         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35030         Remove RESET_PID cpp guards.
35031         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35033 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35035         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35036         __sp to uintptr_t.
35038 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35040         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35042         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35043         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35044         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35045         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35046         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35047         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35048         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35049         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35050         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35051         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35052         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35053         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35054         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35055         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35057         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35058         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35059         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35061         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35062         (pthread_rwlock_rdlock): Add elision.
35063         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35064         (pthread_rwlock_wrlock): Add elision.
35065         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35066         (pthread_rwlock_trywrlock): Add elision.
35067         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35068         (pthread_rwlock_tryrdlock): Add elision.
35069         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35070         (pthread_rwlock_tryrdlock): Add elision unlock.
35071         * nptl/sysdeps/pthread/pthread.h:
35072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35073         (PTHREAD_RWLOCK_INITIALIZER,
35074         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35075         Handle new elision field.
35076         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35077         * sysdeps/arm/nptl/bits/pthreadtypes.h
35078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35079         * sysdeps/sh/nptl/bits/pthreadtypes.h
35080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35081         * sysdeps/tile/nptl/bits/pthreadtypes.h
35082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35083         * sysdeps/a/nptl/bits/pthreadtypes.h
35084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35085         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35087         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35088         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35089         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35090         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35091         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35092         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35093         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35094         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35095         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35096         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35097         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35098         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35099         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35100         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35101         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35102         (elision_init): Set try_xbegin to zero when no RTM.
35103         * sysdeps/x86/nptl/bits/pthreadtypes.h
35104         (pthread_rwlock_t): Change __pad1 to __rwelision.
35105         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35107 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35109         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35110         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35111         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35112         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35114 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35116         [BZ #16996]
35117         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35118         that the cached result has been set before returning it.
35120 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35122         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35123         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35124         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35125         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35126         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35127         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35129         * nptl/sysdeps/sparc/Makefile: Moved ...
35130         * sysdeps/sparc/nptl/Makefile: ... here.
35131         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35132         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35133         * nptl/sysdeps/sparc/tls.h: Moved ...
35134         * sysdeps/sparc/nptl/tls.h: ... here.
35135         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35136         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35137         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35138         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35139         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35140         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35141         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35142         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35143         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35144         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35145         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35146         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35147         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35148         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35149         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35150         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35151         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35152         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35153         Update #include.
35154         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35155         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35156         Update #include.
35157         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35158         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35159         Update #include.
35160         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35161         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35162         Update #include.
35164         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35166         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35167         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35169         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35170         (struct list_links): Type removed.
35171         (struct thread_node, struct timer_node): Replace struct list_links
35172         with struct list_head.
35173         (list_unlink_ip): Likewise.
35174         * sysdeps/pthread/timer_routines.c
35175         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35176         (list_append, list_insbefore): Likewise.
35177         (list_init): Function removed.
35178         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35179         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35180         * sysdeps/pthread/Makefile: ... here, new file.
35182         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35183         * sysdeps/nptl/Implies: ... here.
35184         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35185         * nptl/sysdeps/pthread/list.h: Moved ...
35186         * include/list.h: ... here.
35187         * nptl/sysdeps/pthread/createthread.c: Moved ...
35188         * nptl/createthread.c: ... here.
35189         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35190         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35191         * nptl/pt-longjmp.c: ... here.
35192         * nptl/sysdeps/pthread/Makefile: Moved ...
35193         * sysdeps/nptl/Makefile: ... here.
35194         * nptl/sysdeps/pthread/Subdirs: Moved ...
35195         * sysdeps/nptl/Subdirs: ... here.
35196         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35197         * sysdeps/nptl/aio_misc.h: ... here.
35198         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35199         * sysdeps/nptl/bits/libc-lock.h: ... here.
35200         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35201         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35202         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35203         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35204         * nptl/sysdeps/pthread/configure: Moved ...
35205         * sysdeps/nptl/configure: ... here.
35206         * nptl/sysdeps/pthread/configure.ac: Moved ...
35207         * sysdeps/nptl/configure.ac: ... here.
35208         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35209         * sysdeps/nptl/gai_misc.h: ... here.
35210         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35211         * sysdeps/nptl/librt-cancellation.c: ... here.
35212         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35213         * sysdeps/nptl/malloc-machine.h: ... here.
35214         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35215         * sysdeps/nptl/pthread-functions.h: ... here.
35216         * nptl/sysdeps/pthread/pthread.h: Moved ...
35217         * sysdeps/nptl/pthread.h: ... here.
35218         * nptl/sysdeps/pthread/setxid.h: Moved ...
35219         * sysdeps/nptl/setxid.h: ... here.
35220         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35221         * sysdeps/nptl/sigfillset.c: ... here.
35222         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35223         * sysdeps/nptl/tcb-offsets.h: ... here.
35224         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35225         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35226         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35227         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35228         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35229         * sysdeps/pthread/allocalim.h: ... here.
35230         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35231         * sysdeps/pthread/bits/sigthread.h: ... here.
35232         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35233         * sysdeps/pthread/flockfile.c: ... here.
35234         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35235         * sysdeps/pthread/ftrylockfile.c: ... here.
35236         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35237         * sysdeps/pthread/funlockfile.c: ... here.
35238         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35239         * sysdeps/pthread/posix-timer.h: ... here.
35240         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35241         * sysdeps/pthread/timer_create.c: ... here.
35242         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35243         * sysdeps/pthread/timer_delete.c: ... here.
35244         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35245         * sysdeps/pthread/timer_getoverr.c: ... here.
35246         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35247         * sysdeps/pthread/timer_gettime.c: ... here.
35248         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35249         * sysdeps/pthread/timer_routines.c: ... here.
35250         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35251         * sysdeps/pthread/timer_settime.c: ... here.
35252         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35253         * sysdeps/pthread/tst-timer.c: ... here.
35254         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35255         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35257         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35258         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35260         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35261         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35262         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35263         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35264         Update #include target.
35265         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35266         * sysdeps/i386/i686/nptl/Makefile: ... here.
35267         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35268         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35269         Update #include target.
35270         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35271         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35272         * nptl/sysdeps/i386/Makefile: Moved ...
35273         * sysdeps/i386/nptl/Makefile: ... here.
35274         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35275         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35276         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35277         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35278         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35279         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35280         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35281         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35282         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35283         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35284         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35285         * nptl/sysdeps/i386/tls.h: Moved ...
35286         * sysdeps/i386/nptl/tls.h: ... here.
35288         * sysdeps/sh/Makefile [$(subdir) = csu]
35289         (gen-as-const-headers): Add tcb-offsets.sym.
35290         * nptl/sysdeps/sh/Makefile: File removed.
35291         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35292         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35293         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35294         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35295         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35296         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35297         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35298         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35299         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35300         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35301         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35302         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35303         * nptl/sysdeps/sh/tls.h: Moved ...
35304         * sysdeps/sh/nptl/tls.h: ... here.
35305         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35306         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35307         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35308         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35309         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35310         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35311         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35312         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35313         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35314         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35315         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35316         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35317         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35318         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35319         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35320         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35322         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35324         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35325         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35326         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35327         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35328         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35329         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35330         Moved ...
35331         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35332         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35333         Moved ...
35334         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35335         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35337         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35338         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35339         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35340         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35341         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35342         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35343         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35344         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35345         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35346         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35347         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35348         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35349         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35350         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35351         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35352         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35354 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35356         * posix/spawn_faction_addopen.c: Include string.h.
35358 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35360         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35361         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35362         * nptl/sysdeps/x86_64/Makefile: Moved ...
35363         * sysdeps/x86_64/nptl/Makefile: ... here.
35364         * nptl/sysdeps/x86_64/configure: Moved ...
35365         * sysdeps/x86_64/nptl/configure: ... here.
35366         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35367         * sysdeps/x86_64/nptl/configure.ac: ... here.
35368         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35369         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35370         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35371         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35372         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35373         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35374         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35375         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35376         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35377         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35378         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35379         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35380         * nptl/sysdeps/x86_64/tls.h: Moved ...
35381         * sysdeps/x86_64/nptl/tls.h: ... here.
35382         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35383         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35384         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35385         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35387         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35389 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35393 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35395         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35396         type.
35397         [POSIX] (off_t): Likewise.
35398         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35399         [POSIX] (S_ISBLK): Require macro.
35400         [POSIX] (S_ISCHR): Likewise.
35401         [POSIX] (S_ISDIR): Likewise.
35402         [POSIX] (S_ISFIFO): Likewise.
35403         [POSIX] (S_ISREG): Likewise.
35404         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35405         optional-macro.
35406         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35407         type.
35408         [POSIX] (time_t): Likewise.
35409         [POSIX] (timer_t): Likewise.
35411 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35413         [BZ #17048]
35414         * posix/spawn_int.h (struct __spawn_action): Make the path string
35415         non-const to support deallocation.
35416         * posix/spawn_faction_addopen.c
35417         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35418         * posix/spawn_faction_destroy.c
35419         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35420         path in all spawn_do_open actions.
35421         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35422         posix_spawn_file_actions_addopen.
35424 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35426         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35427         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35428         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35429         conditional code always true.
35430         (__libc_vfork): New alias.
35432 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35434         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35435         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35437         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35439         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35440         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35442         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35443         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35445         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35446         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35448 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35450         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35451         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35452         multiarch strcmp for PPC64.
35453         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35454         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35456         multiarch optimizations.
35457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35458         (__libc_ifunc_impl_list): Likewise.
35460 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35462         * benchtests/scripts/validate_benchout.py: New script.
35463         * benchtests/Makefile (bench-func): Call it.
35464         * benchtests/scripts/benchout.schema.json: New file.
35466 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35468         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35469         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35470         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35471         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35472         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35473         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35474         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35475         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35476         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35477         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35478         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35479         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35480         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35481         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35482         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35483         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35484         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35485         Moved ...
35486         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35487         ... here.
35488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35489         Moved ...
35490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35492         Moved ...
35493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35494         ... here.
35495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35496         Moved ...
35497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35498         ... here.
35499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35500         Moved ...
35501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35503         Moved ...
35504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35505         ... here.
35506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35507         Moved ...
35508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35509         ... here.
35510         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35511         Moved ...
35512         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35514         Moved ...
35515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35516         ... here.
35517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35518         Moved ...
35519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35520         ... here.
35521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35522         Moved ...
35523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35524         ... here.
35525         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35526         Moved ...
35527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35529         Moved ...
35530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35531         ... here.
35532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
35533         Moved ...
35534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
35535         ... here.
35536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
35537         Moved ...
35538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
35539         ... here.
35540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
35541         Moved ...
35542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
35543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
35544         Moved ...
35545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
35546         ... here.
35547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
35548         Moved ...
35549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
35550         ... here.
35551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
35552         Moved ...
35553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
35554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
35555         Moved ...
35556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
35557         ... here.
35558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
35559         Moved ...
35560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
35561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
35562         Moved ...
35563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
35564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
35565         Moved ...
35566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
35567         ... here.
35568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
35569         Moved ...
35570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
35571         ... here.
35572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
35573         Moved ...
35574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
35575         ... here.
35576         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
35577         Moved ...
35578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
35579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
35580         Moved ...
35581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
35582         ... here.
35583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
35584         Moved ...
35585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
35586         ... here.
35587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
35588         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
35589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
35590         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
35591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
35592         Moved ...
35593         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
35594         ... here.
35595         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
35596         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
35597         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
35598         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
35599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
35600         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
35601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
35602         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
35603         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
35604         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
35605         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
35606         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
35607         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
35608         Moved ...
35609         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
35610         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
35611         Moved ...
35612         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
35613         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
35614         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
35615         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
35616         Moved ...
35617         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
35618         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
35619         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
35620         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
35621         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
35622         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
35623         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
35625 2014-06-10  Wilco  <wdijkstr@arm.com>
35627         * math/test-fenv-return.c: New file.
35628         * math/Makefile: Add new test test-fenv-return.
35630 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
35632         [BZ #17042]
35633         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
35634         when x - 1 is zero.
35635         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
35636         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
35637         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
35638         0.0L for an argument of 1.0L.
35639         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
35640         Likewise.
35641         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
35642         value when x - 1 is zero.
35643         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
35644         * sysdeps/i386/fpu/libm-test-ulps: Update.
35645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35647 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
35649         [BZ #15119]
35650         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
35652 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35654         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
35655         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
35657 2014-06-09  Roland McGrath  <roland@hack.frob.com>
35659         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35660         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
35662         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35663         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
35665         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35666         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
35668         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35669         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
35671         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
35672         if not already defined.
35673         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
35674         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
35675         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
35676         (TLS_INIT_TP): Use it.
35677         (TLS_DEFINE_INIT_TP): New macro.
35678         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
35680 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
35682         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
35683         constant.
35684         [POSIX] (IXANY): Likewise.
35685         [POSIX] (OLCUC): Likewise.
35686         [POSIX || POSIX2008] (CBAUD): Do not allow.
35687         [POSIX || POSIX2008] (DEFECHO): Likewise.
35688         [POSIX || POSIX2008] (ECHOCTL): Likewise.
35689         [POSIX || POSIX2008] (ECHOKE): Likewise.
35690         [POSIX || POSIX2008] (ECHOPRT): Likewise.
35691         [POSIX || POSIX2008] (EXTA): Likewise.
35692         [POSIX || POSIX2008] (EXTB): Likewise.
35693         [POSIX || POSIX2008] (FLUSHO): Likewise.
35694         [POSIX || POSIX2008] (LOBLK): Likewise.
35695         [POSIX || POSIX2008] (PENDIN): Likewise.
35696         [POSIX || POSIX2008] (SWTCH): Likewise.
35697         [POSIX || POSIX2008] (VDISCARD): Likewise.
35698         [POSIX || POSIX2008] (VDSUSP): Likewise.
35699         [POSIX || POSIX2008] (VLNEXT): Likewise.
35700         [POSIX || POSIX2008] (VREPRINT): Likewise.
35701         [POSIX || POSIX2008] (VSTATUS): Likewise.
35702         [POSIX || POSIX2008] (VWERASE): Likewise.
35703         (B*): Change to B[0123456789]*.
35704         * conform/data/time.h-data [POSIX || UNIX98]
35705         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
35706         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35707         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
35708         [POSIX] (tm_*): Do not allow.
35710 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
35712         * Makefile (install): Don't set LANGUAGE.
35713         * Makefile.in (install): Likewise.
35714         * assert/Makefile (test-assert-ENV): Remove variable.
35715         (test-assert-perr-ENV): Likewise.
35716         * elf/Makefile (neededtest4-ENV): Likewise.
35717         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35718         [$(cross-compiling) = no]: Don't set LANGUAGE.
35719         * io/ftwtest-sh (LANG): Remove variable.
35720         * libio/Makefile (tst-widetext-ENV): Likewise.
35721         * manual/install.texi (Running make install): Don't refer to
35722         environment settings for make install.
35723         * INSTALL: Regenerated.
35724         * nptl/tst-tls6.sh: Don't set LANG.
35725         * posix/globtest.sh (LANG): Remove variable.
35726         * string/Makefile (tester-ENV): Likewise.
35727         (inl-tester-ENV): Likewise.
35728         (noinl-tester-ENV): Likewise.
35729         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35730         [$(cross-compiling) = no]: Don't set LANGUAGE.
35731         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
35732         without explicit environment settings.
35734 2014-06-06  Roland McGrath  <roland@hack.frob.com>
35736         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
35737         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
35738         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
35739         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
35741 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
35743         * crypt/crypt-private.h [DOS]: Add some includes taken from the
35744         other files in the crypt directory.
35745         * crypt/crypt.c: Remove duplicate includes.
35746         * crypt/crypt-entry.c: Likewise.
35747         * crypt/crypt_util.c: Likewise.
35749 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
35751         * Makeconfig (run-program-env): New variable.
35752         (run-program-prefix-before-env): Likewise.
35753         (run-program-prefix-after-env): Likewise.
35754         (run-program-prefix): Define in terms of new variables.
35755         (built-program-cmd-before-env): New variable.
35756         (built-program-cmd-after-env): Likewise.
35757         (built-program-cmd): Define in terms of new variables.
35758         (test-program-prefix-before-env): New variable.
35759         (test-program-prefix-after-env): Likewise.
35760         (test-program-prefix): Define in terms of new variables.
35761         (test-program-cmd-before-env): New variable.
35762         (test-program-cmd-after-env): Likewise.
35763         (test-program-cmd): Define in terms of new variables.
35764         * Rules (make-test-out): Use $(run-program-env).
35765         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
35766         (help): Do not mention environment variables.  Mention
35767         --timeoutfactor option.
35768         (timeoutfactor): New variable.
35769         (blacklist_exports): Remove function.
35770         (exports): Remove variable.
35771         (command): Do not include ${exports}.
35772         * manual/install.texi (Configuring and compiling): Do not mention
35773         test wrappers preserving environment variables.  Mention that last
35774         assignment to a variable must take precedence.
35775         * INSTALL: Regenerated.
35776         * benchtests/Makefile (run-bench): Use $(run-program-env).
35777         * catgets/Makefile ($(objpfx)test1.cat): Use
35778         $(built-program-cmd-before-env), $(run-program-env) and
35779         $(built-program-cmd-after-env).
35780         ($(objpfx)test2.cat): Do not specify environment variables
35781         explicitly.
35782         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
35783         $(run-program-env) and $(built-program-cmd-after-env).
35784         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
35785         $(run-program-env) and $(test-program-cmd-after-env).
35786         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
35787         explicitly.
35788         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
35789         run_program_env and test_program_cmd_after_env arguments.
35790         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
35791         * elf/tst-pathopt.sh: Use run_program_env argument.
35792         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
35793         $(test-wrapper-env) and $(run-program-env).
35794         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
35795         run_program_env arguments.
35796         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
35797         * intl/Makefile ($(objpfx)tst-gettext.out): Use
35798         $(test-program-prefix-before-env), $(run-program-env) and
35799         $(test-program-prefix-after-env).
35800         ($(objpfx)tst-gettext2.out): Likewise.
35801         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
35802         run_program_env and test_program_prefix_after_env arguments.
35803         * intl/tst-gettext2.sh: Likewise.
35804         * intl/tst-gettext4.sh: Do not set environment variables
35805         explicitly.
35806         * intl/tst-gettext6.sh: Likewise.
35807         * intl/tst-translit.sh: Likewise.
35808         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
35809         $(test-program-prefix-before-env), $(run-program-env) and
35810         $(test-program-prefix-after-env).
35811         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
35812         run_program_env and test_program_prefix_after_env arguments.
35813         * math/Makefile (run-regen-ulps): Use $(run-program-env).
35814         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
35815         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
35816         explicitly with each use of ${test_wrapper_env}.
35817         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
35818         $(test-program-prefix-before-env), $(run-program-env) and
35819         $(test-program-prefix-after-env).
35820         * posix/tst-getconf.sh: Do not set environment variables
35821         explicitly.
35822         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
35823         run_program_env and test_program_prefix_after_env arguments.
35824         * stdio-common/tst-printf.sh: Do not set environment variables
35825         explicitly.
35826         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
35827         $(test-program-prefix-before-env), $(run-program-env) and
35828         $(test-program-prefix-after-env).
35829         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
35830         run_program_env and test_program_prefix_after_env arguments.
35831         Split $test calls into $test_pre and $test.
35832         * timezone/Makefile (build-testdata): Use
35833         $(built-program-cmd-before-env), $(run-program-env) and
35834         $(built-program-cmd-after-env).
35836 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35838         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
35839         strlen for non SHARED builds.
35841 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35843         * nptl/allocatestack.c (check_list): Inlined function...
35844         (__reclaim_stacks): ... here.
35846 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35848         [BZ #15698]
35849         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35850         memory overrun.
35852 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
35854         * Rules (make-test-out): Include
35855         LOCPATH=$(common-objpfx)localedata in default environment.
35856         * debug/Makefile (tst-chk1-ENV): Remove variable.
35857         (tst-chk2-ENV): Likewise.
35858         (tst-chk3-ENV): Likewise.
35859         (tst-chk4-ENV): Likewise.
35860         (tst-chk5-ENV): Likewise.
35861         (tst-chk6-ENV): Likewise.
35862         (tst-lfschk1-ENV): Likewise.
35863         (tst-lfschk2-ENV): Likewise.
35864         (tst-lfschk3-ENV): Likewise.
35865         (tst-lfschk4-ENV): Likewise.
35866         (tst-lfschk5-ENV): Likewise.
35867         (tst-lfschk6-ENV): Likewise.
35868         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
35869         (tst-iconv7-ENV): Likewise.
35870         * intl/Makefile (LOCPATH-ENV): Likewise.
35871         (tst-codeset-ENV): Likewise.
35872         (tst-gettext3-ENV): Likewise.
35873         (tst-gettext5-ENV): Likewise.
35874         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
35875         (tst-fopenloc-ENV): Likewise.
35876         (tst-fgetws-ENV): Remove variable.
35877         (tst-ungetwc1-ENV): Likewise.
35878         (tst-ungetwc2-ENV): Likewise.
35879         (bug-ungetwc2-ENV): Likewise.
35880         (tst-swscanf-ENV): Likewise.
35881         (bug-ftell-ENV): Likewise.
35882         (tst-fgetwc-ENV): Likewise.
35883         (tst-fseek-ENV): Likewise.
35884         (tst-ftell-partial-wide-ENV): Likewise.
35885         (tst-ftell-active-handler-ENV): Likewise.
35886         (tst-ftell-append-ENV): Likewise.
35887         * posix/Makefile (tst-fnmatch-ENV): Likewise.
35888         (tst-regexloc-ENV): Likewise.
35889         (bug-regex1-ENV): Likewise.
35890         (tst-regex-ENV): Likewise.
35891         (tst-regex2-ENV): Likewise.
35892         (bug-regex5-ENV): Likewise.
35893         (bug-regex6-ENV): Likewise.
35894         (bug-regex17-ENV): Likewise.
35895         (bug-regex18-ENV): Likewise.
35896         (bug-regex19-ENV): Likewise.
35897         (bug-regex20-ENV): Likewise.
35898         (bug-regex22-ENV): Likewise.
35899         (bug-regex23-ENV): Likewise.
35900         (bug-regex25-ENV): Likewise.
35901         (bug-regex26-ENV): Likewise.
35902         (bug-regex30-ENV): Likewise.
35903         (bug-regex32-ENV): Likewise.
35904         (bug-regex33-ENV): Likewise.
35905         (bug-regex34-ENV): Likewise.
35906         (bug-regex35-ENV): Likewise.
35907         (tst-rxspencer-ENV): Likewise.
35908         (tst-rxspencer-no-utf8-ENV): Likewise.
35909         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
35910         (tst-sscanf-ENV): Likewise.
35911         (tst-swprintf-ENV): Likewise.
35912         (tst-swscanf-ENV): Likewise.
35913         (test-vfprintf-ENV): Likewise.
35914         (scanf13-ENV): Likewise.
35915         (bug14-ENV): Likewise.
35916         (tst-grouping-ENV): Likewise.
35917         * stdlib/Makefile (tst-strtod-ENV): Likewise.
35918         (tst-strtod3-ENV): Likewise.
35919         (tst-strtod4-ENV): Likewise.
35920         (tst-strtod5-ENV): Likewise.
35921         (testmb2-ENV): Likewise./
35922         * string/Makefile (tst-strxfrm-ENV): Likewise.
35923         (tst-strxfrm2-ENV): Likewise.
35924         (bug-strcoll1-ENV): Likewise.
35925         (test-strcasecmp-ENV): Likewise.
35926         (test-strncasecmp-ENV): Likewise.
35927         * time/Makefile (tst-strptime-ENV): Likewise.
35928         (tst-ftime_l-ENV): Likewise.
35929         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
35930         (tst-mbrtowc-ENV): Likewise.
35931         (tst-wcrtomb-ENV): Likewise.
35932         (tst-mbrtowc2-ENV): Likewise.
35933         (tst-c16c32-1-ENV): Likewise.
35934         (tst-mbsnrtowcs-ENV): Likewise.
35936 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
35938         * manual/resource.texi (How to get information about the memory
35939         subsystem?): Fix typo.
35940         Reported by Peon de la Parra Ivan <peon@keba.com>
35942 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
35944         [BZ #16882]
35945         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
35946         (pthread_spin_lock): Branch out of spin loop to proper location.
35947         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
35948         (pthread_spin_lock): Likewise.
35950         * nptl/tst-spin4.c: New test.
35951         * nptl/Makefile (tests): Add tst-spin4.
35953 2014-06-03  Andreas Schwab  <schwab@suse.de>
35955         [BZ #15946]
35956         * resolv/res_send.c (send_dg): Reload file descriptor after
35957         calling reopen.
35959 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
35961         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35963 2014-06-03  Richard Henderson  <rth@redhat.com>
35965         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
35966         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
35967         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
35968         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
35969         in the SAVE_PID block.
35970         (__libc_vfork): New alias.
35971         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
35973         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
35974         child in registers, not on the stack.  Remove RESET_PID conditionals.
35975         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
35977 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35979         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35981 2014-06-03  Wilco  <wdijkstr@arm.com>
35983         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
35984         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
35985         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35986         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
35987         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
35988         Likewise.
35990 2014-06-03  Wilco  <wdijkstr@arm.com>
35992         * sysdeps/aarch64/fpu/math_private.h
35993         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
35994         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
35995         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
35996         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
35997         Fix declarations.
35999 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36001         * crypt/crypt-private.h: Include ufc-crypt.h.
36002         (__b64_from_24bit): Declare extern.
36003         * crypt/crypt_util.c(__b64_from_24bit): New function.
36004         (b64t): New static const variable.
36005         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
36006         (b64t): Remove variable.
36007         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
36008         * crypt/sha256-crypt.c: Include crypt-private.h.
36009         (b64t): Remove variable.
36010         (__sha256_crypt_r): Remove b64_from_24bit and replace
36011         with __b64_from_24bit.
36012         * crypt/sha512-crypt.c: Likewise.
36014 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36016         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36017         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36018         Label the code __libc_vfork rather than __vfork.
36019         [!NOT_IN_libc] (vfork): Define as weak alias.
36020         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36021         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36022         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36024 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36026         * malloc/malloc.c (malloc_info): Fix format specifier for
36027         n_mmaps.
36029 2014-06-02  Wilco  <wdijkstr@arm.com>
36031         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36032         FPCR write.
36034 2014-06-02  Wilco  <wdijkstr@arm.com>
36036         [BZ #17009]
36037         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36038         Rewrite to reduce FPCR/FPSR accesses.
36040 2014-06-01  David S. Miller  <davem@davemloft.net>
36042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36044 2014-05-31  David S. Miller  <davem@davemloft.net>
36046         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36047         to occur in round to nearest mode when |x| >= 2.0
36049 2014-05-30  Richard Henderson  <rth@twiddle.net>
36051         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36052         (PSEUDO_RET_NOERRNO): Remove.
36053         (ret): Don't redefine.
36054         (ret_NOERRNO): Define in terms of ret.
36055         (ret_ERRVAL): Likewise.
36057         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36058         use of PSEUDO_RET; perform the error check directly.
36060 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36062         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36063         with __int128_t.
36065 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36067         * malloc/malloc (malloc_info): Fix formatting.
36069 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36070             Roland McGrath  <roland@hack.frob.com>
36072         * malloc/malloc (malloc_info): Also print mmapped statistics.
36074 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36076         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36077         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36079 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36081         * malloc/malloc.c (malloc_info): Inline mi_arena.
36083 2014-05-29  Richard Henderson  <rth@twiddle.net>
36085         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36086         Remove comma before expanding ASM_ARGS_##nr.
36087         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36088         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36089         of ASM_ARGS_##nr.
36090         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36091         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36092         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36093         (ASM_ARGS_1): Add leading comma.
36095         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36096         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36097         to __errno_location.
36098         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36099         Remove the expected plt for __errno_location.
36101         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36102         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36103         call to __read_tp.
36105         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36106         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36107         it and break it down.
36108         (DOCARGS_0, DOCARGS_1): Do nothing.
36109         (DOCARGS_2): Update to store into the new stack frame.
36110         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36111         (UNDOCARGS_1): Update to restore from the new stack frame.
36112         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36113         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36115         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36116         (SINGLE_THREAD_P): New parameter for result regno.
36117         (PSEUDO): Update to match; use cbz instead of beq.
36119         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36120         Use ENTRY to define the _nocancel entry point.  Share the syscall
36121         and syscall error check paths with the cancel path.
36122         (PSEUDO_END): New.
36124         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36125         whitespace; tabs before and after asm mnemonics.
36127 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36129         [BZ #15132]
36130         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36131         Call fstat64 or stat64 internally, depending on arguments passed.
36132         Replace stat buffer argument with file descriptor argument.
36133         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36134         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36135         Pass fd to __internal_statvfs instead of calling fstat64.
36136         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36137         Pass fd to __internal_statvfs64 instead of calling fstat64.
36138         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36139         Pass -1 to __internal_statvfs instead of calling stat64.
36140         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36141         Pass -1 to __internal_statvfs64 instead of calling stat64.
36143 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36145         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36146         that was previously under [RESET_PID].
36147         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36149         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36150         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36152 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36154         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36156         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36157         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36159 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36161         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36163 2014-05-27  Andreas Schwab  <schwab@suse.de>
36165         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36166         TLS_INIT_TP macro.
36167         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36168         * elf/rtld.c (init_tls, dl_main): Likewise.
36169         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36170         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36171         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36172         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36173         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36174         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36175         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36176         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36177         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36178         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36179         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36180         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36181         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36182         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36183         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36184         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36185         * sysdeps/generic/tls.h: Update description.
36187 2014-05-27  Will Newton  <will.newton@linaro.org>
36189         [BZ #16990]
36190         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36191         and restore r2 rather than just restoring.
36193 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36195         [BZ #16724]
36196         * libio/tst-ftell-append.c: New test case.
36197         * libio/Makefile (tests): Add test case.
36198         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36199         append mode.
36200         * libio/wfileops.c (do_ftell_wide): Likewise.
36202 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36206         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36207         ...
36208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36210         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36211         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36212         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36213         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36214         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36215         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36217         Moved ...
36218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36220         Moved ...
36221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36222         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36223         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36224         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36225         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36226         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36227         ...
36228         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36229         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36230         Moved ...
36231         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36232         here.
36233         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36234         ...
36235         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36236         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36237         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36239         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36240         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36241         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36242         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36245         merge into ...
36246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36247         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36248         ...
36249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36251         ...
36252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36253         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36254         Moved ...
36255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36256         here.
36257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36258         Moved ...
36259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36261         Moved ...
36262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36265         conditional [RESET_PID].
36266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36268         removed.
36269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36270         removed.
36272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36273         <tcb-offsets.h>.
36274         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36275         (__libc_vfork): New strong alias.
36276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36277         removed.
36278         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36279         Removed.
36281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36282         <tcb-offsets.h>.
36283         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36284         (__libc_vfork): New strong alias.
36285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36286         removed.
36287         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36288         removed.
36290 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36292         * malloc/malloc.c (mi_arena): New function.
36293         (malloc_info): Remove nested function mi_arena. Call non-nosted
36294         function mi_arena.
36296 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36298         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36299         by insrwi.
36300         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36301         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36302         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36303         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36304         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36305         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36306         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36308 2014-05-26  Andreas Schwab  <schwab@suse.de>
36310         [BZ #16984]
36311         * locale/programs/repertoire.c (repertoire_read): Add slash
36312         between I18NPATH element and file name.
36313         * locale/programs/locfile.c (locfile_read): Likewise.
36315 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36317         * nptl/pthread_mutexattr_settype.c
36318         (__pthread_mutexattr_settype):
36319         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36321 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36323         * nptl/tst-mutex5 (do_test):
36324         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36326 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36328         * benchtests/README: Document 'init' directive.
36329         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36330         BENCH_INIT.
36331         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36332         (parse_file): Recognize 'init' directive.
36334 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36336         [BZ #16796]
36337         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36338         alignment of struct pthread.
36340 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36342         [BZ #16878]
36343         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36344         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36345         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36346         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36348 2014-05-25  Richard Henderson  <rth@twiddle.net>
36350         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36351         (SINGLE_THREAD_P_PIC): Remove.
36352         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36353         (SINGLE_THREAD_P_PIC): Remove.
36355         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36356         branch to syscall error ...
36357         (PSEUDO): ... here.
36358         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36359         from __local_syscall_error to .Lsyscall_error.
36360         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36361         (SYSCALL_ERROR): Update label name.
36363         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36364         Do not use DOARGS/UNDOARGS.
36365         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36366         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36367         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36368         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36369         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36371         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36372         block comment.
36374         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36375         define if !NOT_IN_libc.
36376         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36377         define with non-default symbol versions.
36379 2014-05-23  Richard Henderson  <rth@twiddle.net>
36381         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36382         (vfork, __vfork): Define via compat_symbol.
36384         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36385         [!HAVE_IFUNC] (vfork_compat): Remove.
36386         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36388 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36390         [BZ #16978]
36391         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36392         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36393         variable.
36395 2014-05-23  Richard Henderson  <rth@twiddle.net>
36397         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36398         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36399         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36400         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36402         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36403         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36404         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36405         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36406         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36407         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36408         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36409         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36410         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36411         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36412         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36413         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36414         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36415         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36416         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36417         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36418         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36419         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36420         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36421         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36422         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36423         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36424         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36425         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36426         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36427         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36428         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36429         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36430         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36431         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36432         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36433         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36434         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36435         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36436         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36437         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36438         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36439         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36440         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36441         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36442         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36443         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36444         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36445         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36446         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36447         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36448         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36449         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36450         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36451         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36453         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36455         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36456         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36457         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36459         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36460         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36461         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36462         before exiting on error.
36463         (__libc_vfork): New strong alias.
36464         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36465         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36467         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36468         that was previously under [RESET_PID].
36469         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36471         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36473 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36475         [BZ #16977]
36476         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36477         value when x - 1 is zero.
36478         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36479         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36480         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36481         0.0L for an argument of 1.0L.
36482         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36483         Likewise.
36484         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36485         value when x - 1 is zero.
36486         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36487         * sysdeps/i386/fpu/libm-test-ulps: Update.
36488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36490 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36492         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36493         alphasort and versionsort.
36495 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36497         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36498         macro.
36499         [copysignf]: Likewise.
36501 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36503         * crypt/md5-crypt.c: Fix formatting.
36505 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36507         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36508         (b64_from_24bit): New function.
36510 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36512         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36513         libc_hidden_builtin_def to ifunc.
36514         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36515         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36517 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36519         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36520         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36522 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36524         * nscd/Depend (linuxthreads): Remove.
36525         (nptl): Add.
36526         * resolv/Depend (linuxthreads): Remove.
36527         * rt/Depend (linuxthreads): Remove.
36529         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36530         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36531         $(common-objpfx)elf/.
36532         (link-libc-before-gnulib): Likewise.
36533         (elfobjdir): Remove variable.
36534         * Makefile (install): Use $(elf-objpfx) instead of
36535         $(common-objpfx)elf/.
36536         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
36537         $(elfobjdir)/.
36538         (link-libc-deps): Likewise.
36539         ($(common-objpfx)libc.so): Likewise.
36540         ($(common-objpfx)linkobj/libc.so): Likewise.
36541         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
36542         instead of $(common-objpfx)elf/.
36543         (symbolic-link-list): Likewise.
36544         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36545         [$(cross-compiling) = no]: Likewise.
36546         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
36547         $(elfobjdir)/.
36548         (static-gnulib-arch): Likewise.
36549         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36550         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
36551         $(common-objpfx)elf/.
36553 2014-05-21  Richard Henderson  <rth@redhat.com>
36555         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36556         (SINGLE_THREAD_P): Use the correct width load.  Fold
36557         into the ldr offset.
36559         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
36560         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
36562 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
36564         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
36565         (libgcc_s_resume): Use __attribute_used__.
36566         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
36567         Likewise.
36569 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36571         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
36572         optimization when used with float constants.
36574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36576 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
36578         [BZ #16915]
36579         * locale/nl_langinfo_l.c: Make direct reference to every
36580         _nl_current_CATEGORY symbol.
36581         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
36582         (tests-static): Add tst-langinfo-static.
36583         (tests-special): Add tst-langinfo-static.out.
36584         ($(objpfx)tst-langinfo.out): Redirect output.
36585         ($(objpfx)tst-langinfo-static.out): New.
36586         * localedata/tst-langinfo.sh: Send output to stdout.
36587         * localedata/tst-langinfo-static.c: New file.
36589         [BZ #16965]
36590         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
36591         when the shift amount is modulo the limb size.
36593 2014-05-20  Richard Henderson  <rth@redhat.com>
36595         [BZ #16967]
36596         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
36597         Change type of sa_flags from unsigned int to int.
36599         [BZ #16966]
36600         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
36602         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
36604 2014-05-20  Will Newton  <will.newton@linaro.org>
36606         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36607         Test the return value of the system call in the nocancel case.
36609 2014-05-20  Will Newton  <will.newton@linaro.org>
36610             Yvan Roux  <yvan.roux@linaro.org>
36612         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
36613         #include of asm/ptrace.h.
36614         (PTRACE_GET_THREAD_AREA): Remove #undef.
36615         (PTRACE_GETHBPREGS): Likewise.
36616         (PTRACE_SETHBPREGS): Likewise.
36617         (struct user_regs_struct): New structure.
36618         (struct user_fpsimd_struct): New structure.
36619         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
36620         #include of asm/ptrace.h and second #include of sys/user.h.
36621         (PTRACE_GET_THREAD_AREA): Remove #undef.
36622         (PTRACE_GETHBPREGS): Likewise.
36623         (PTRACE_SETHBPREGS): Likewise.
36624         (ELF_NGREG): Use new struct user_regs_struct.
36625         (elf_fpregset_t): Use new struct user_fpsimd_struct.
36627 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36629         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
36630         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36632 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
36634         [BZ #16958]
36635         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
36636         membar to avoid block loads/stores to overlap previous stores.
36638 2014-05-17  Richard Henderson  <rth@redhat.com>
36640         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
36641         Create the __##syscall_name##_nocancel entry point.
36642         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
36643         Remove; let the sysdep-cancel.h code create it.
36645 2014-05-17  David S. Miller  <davem@davemloft.net>
36647         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
36648         Protect with __USE_GNU.
36649         (TIOCSET_TEMPT): Likewise.
36650         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36651         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
36652         these are already provided in bits/ioctl-types.h
36654 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36656         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
36657         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
36659         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
36660         Use wait4 regardless of [__NR_waitpid].
36662 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
36664         PR libgcc/60166
36665         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
36666         (_FP_NANSIGN_Q): Set the quiet bit.
36668 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
36670         * benchtests/Makefile
36671         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
36672         not $(common-objpfx)math/libm.so.
36673         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
36674         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
36675         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
36676         $(common-objpfx)dlfcn/libdl.so.
36677         ($(objpfx)tst-audit8): Depend on $(libm), not
36678         $(common-objpfx)math/libm.so.
36679         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36680         not $(common-objpfx)dlfcn/libdl.so.
36681         * math/Makefile
36682         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
36683         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
36684         [$(build-shared) = yes].
36685         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
36686         $(common-objpfx)nptl/libpthread.so.
36687         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
36688         $(common-objpfx)math/libm.so$(libm.so-version) or
36689         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
36690         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
36691         $(common-objpfx)dlfcn/libdl.so.
36692         * setjmp/Makefile (link-libm): Remove variable.
36693         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
36694         * stdio-common/Makefile (link-libm): Remove variable.
36695         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
36696         * stdlib/Makefile (link-libm): Remove variable.
36697         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
36698         ($(objpfx)tst-strtod-round): Likewise.
36699         ($(objpfx)tst-tininess): Likewise.
36700         ($(objpfx)tst-strtod-underflow): Likewise.
36701         ($(objpfx)tst-strtod6): Likewise.
36702         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
36703         $(libdl), not $(common-objpfx)nptl/libpthread.so and
36704         $(common-objpfx)dlfcn/libdl.so.
36706 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36708         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
36709         BSD terminal modes definitions.
36711 2014-05-16  Roland McGrath  <roland@hack.frob.com>
36713         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
36714         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
36716         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
36717         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
36718         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
36719         Don't do #include_next.
36720         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
36721         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
36722         Don't do #include_next.
36723         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
36724         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
36725         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
36726         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
36728 2014-05-16  Allan McRae  <allan@archlinux.org>
36730         * po/sv.po: Update Swedish translation from translation project.
36732         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
36733         in sed expression.
36735 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
36737         [BZ #16917]
36738         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
36739         errno if the TIOCGPTN ioctl fails with an error different than
36740         EINVAL.
36741         * login/tst-ptsname.c: New file.
36742         * login/Makefile (tests): Add tst-ptsname.
36744         [BZ #16943]
36745         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
36746         and prlimit64.
36748 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36750         [BZ #16849]
36751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
36752         herrno to return EAI_AGAIN.
36754 2014-05-14  Roland McGrath  <roland@hack.frob.com>
36756         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
36757         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
36758         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
36759         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
36760         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
36761         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
36762         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
36763         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
36764         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
36765         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
36766         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
36767         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
36768         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
36769         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
36770         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
36771         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
36772         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
36773         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
36774         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
36775         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
36776         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
36777         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
36778         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
36779         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
36780         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
36781         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
36782         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
36783         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
36784         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
36785         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
36786         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
36787         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
36788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
36789         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
36790         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36791         Moved ...
36792         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
36793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
36794         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
36795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
36796         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
36797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
36798         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
36799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
36800         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
36801         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
36802         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
36803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
36804         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
36805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
36806         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
36807         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
36808         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
36809         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
36810         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
36811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
36812         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
36813         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
36814         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
36815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
36816         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
36817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
36818         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
36819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
36820         Moved ...
36821         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
36822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
36823         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
36824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
36825         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
36826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
36827         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
36828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
36829         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
36830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
36831         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
36832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
36833         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
36834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
36835         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
36836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
36837         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
36838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
36839         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
36840         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
36841         Moved ...
36842         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
36843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
36844         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
36846         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
36847         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
36848         (libpthread-sysdep_routines): Add elision-related stuff here instead.
36849         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
36850         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
36851         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
36852         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
36853         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
36854         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
36855         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
36856         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
36857         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
36858         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
36859         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
36860         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
36861         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
36862         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
36863         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
36864         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
36865         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
36866         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
36867         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
36868         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
36869         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
36870         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
36871         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
36872         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
36873         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
36874         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
36875         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
36876         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
36878         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
36879         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
36881         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
36882         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
36883         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
36884         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
36885         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
36886         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
36887         Moved ...
36888         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
36889         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
36890         Moved ...
36891         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
36892         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
36893         Moved ...
36894         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
36895         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
36896         Moved ...
36897         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
36898         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
36899         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
36900         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
36901         Moved ...
36902         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
36903         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
36904         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
36905         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
36906         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
36907         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
36908         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
36909         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
36910         Moved ...
36911         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
36912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36913         Moved ...
36914         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
36915         ... here.
36916         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
36917         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
36918         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
36919         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
36920         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36921         Moved ...
36922         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
36923         ... here.
36924         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
36925         Moved ...
36926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
36927         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
36928         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
36929         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
36930         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
36931         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
36932         Moved ...
36933         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
36934         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
36935         Moved ...
36936         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
36937         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
36938         Moved ...
36939         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
36940         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
36941         Moved ...
36942         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
36943         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
36944         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
36945         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
36946         Moved ...
36947         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
36948         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
36949         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
36950         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
36951         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
36952         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
36953         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
36954         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
36955         Moved ...
36956         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
36957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36958         Moved ...
36959         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
36960         ... here.
36961         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
36962         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
36963         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
36964         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
36965         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36966         Moved ...
36967         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
36968         ... here.
36969         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
36970         Moved ...
36971         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
36972         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
36973         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
36974         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
36975         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
36976         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
36977         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
36978         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
36979         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
36980         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
36981         Moved ...
36982         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
36983         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
36984         Moved ...
36985         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
36986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
36987         Moved ...
36988         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
36989         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
36990         Moved ...
36991         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
36992         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
36993         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
36994         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
36995         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
36996         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
36997         Moved ...
36998         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
36999         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37000         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37001         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
37002         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
37003         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
37004         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
37005         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
37006         Moved ...
37007         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
37008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37009         Moved ...
37010         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37011         ... here.
37012         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37013         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37014         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37015         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37016         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37017         Moved ...
37018         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37019         ... here.
37020         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37021         Moved ...
37022         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37023         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37024         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37025         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37026         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37027         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37028         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37029         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37030         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37031         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37032         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37034         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37035         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37037         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37038         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37040         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37041         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37042         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37043         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37044         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37045         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37046         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37047         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37048         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37049         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37050         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37051         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37052         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37053         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37054         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37056         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37057         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37058         Moved ...
37059         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37061         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37063         Moved ...
37064         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37066         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37068         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37070         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37071         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37072         Moved ...
37073         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37075         Moved ...
37076         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37078         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37079         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37080         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37082         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37083         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37084         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37085         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37086         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37087         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37088         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37089         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37090         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37091         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37092         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37094         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37095         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37096         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37097         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37098         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37100         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37101         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37102         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37103         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37104         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37105         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37106         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37107         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37108         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37109         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37111         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37114         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37115         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37116         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37117         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37118         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37119         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37120         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37121         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37122         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37123         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37124         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37125         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37126         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37127         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37128         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37129         Update #include.
37130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37131         Likewise.
37132         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37133         Likewise.
37134         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37135         Likewise.
37136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37137         Likewise.
37138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37139         Likewise.
37140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37141         Likewise.
37142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37143         Likewise.
37144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37145         Likewise.
37146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37147         Likewise.
37148         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37150         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37151         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37152         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37153         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37155         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37156         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37157         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37159         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37160         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37161         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37162         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37164         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37165         that was previously under [RESET_PID].
37166         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37167         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37168         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37170         * sysdeps/i386/nptl/Implies: New file.
37171         * sysdeps/x86_64/nptl/Implies: New file.
37172         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37173         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37174         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37175         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37177         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37178         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37179         (__libc_vfork): New strong alias.
37180         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37181         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37183         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37184         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37185         (__libc_vfork): New strong alias.
37186         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37187         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37189         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37190         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37191         (__libc_vfork): New strong alias.
37192         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37193         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37194         * nptl/pt-vfork.c: New file.
37195         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37196         (libpthread: GLIBC_2.20): New version set (empty).
37198 2014-05-14  Will Newton  <will.newton@linaro.org>
37200         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37201         rather than #if.
37203 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37205         [BZ #16564]
37206         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37207         arguments with exponent 65 or above.
37208         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37209         arguments 0x1p113L or above.
37210         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37211         to arguments 0x1p107L or above.
37212         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37213         positive arguments with exponent 65 or above.
37214         * math/auto-libm-test-in: Add more tests of log1p.
37215         * math/auto-libm-test-out: Regenerated.
37217         [BZ #16928]
37218         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37219         non-finite arguments is +0.
37220         * math/s_cacosf.c (__cacosf): Likewise.
37221         * math/s_cacosl.c (__cacosl): Likewise.
37222         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37223         * sysdeps/i386/fpu/libm-test-ulps: Update.
37224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37226         [BZ #16927]
37227         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37228         value.
37229         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37230         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37231         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37232         for explicit high bit of mantissa when testing for argument equal
37233         to 1.
37234         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37235         * sysdeps/i386/fpu/libm-test-ulps: Update.
37236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37238         [BZ #16516]
37239         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37240         (__erf): Scale by 16 instead of 8 in potentially underflowing
37241         case.  Ensure exception if result actually underflows.
37242         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37243         (__erff): Scale by 16 instead of 8 in potentially underflowing
37244         case.  Ensure exception if result actually underflows.
37245         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37246         (efx8): Remove variable.
37247         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37248         case.  Ensure exception if result actually underflows.
37249         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37250         (efx8): Remove variable.
37251         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37252         case.  Ensure exception if result actually underflows.
37253         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37254         (efx8): Remove variable.
37255         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37256         case.  Ensure exception if result actually underflows.
37257         * math/auto-libm-test-in: Add more tests of erf.
37258         * math/auto-libm-test-out: Regenerated.
37260 2014-05-14  Andreas Schwab  <schwab@suse.de>
37262         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37263         Remove code conditionalized on USE___THREAD.
37265         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37266         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37267         not definedness.
37269 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37271         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37272         Define unconditionally.
37273         (__ASSUME_O_CLOEXEC): Likewise.
37274         (__ASSUME_SOCK_CLOEXEC): Likewise.
37275         (__ASSUME_IN_NONBLOCK): Likewise.
37276         (__ASSUME_PIPE2): Likewise.
37277         (__ASSUME_EVENTFD2): Likewise.
37278         (__ASSUME_SIGNALFD4): Likewise.
37279         (__ASSUME_DUP3): Likewise.
37280         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37281         (__ASSUME_DUP3): Do not define.
37282         (__ASSUME_EVENTFD2): Likewise.
37283         (__ASSUME_IN_NONBLOCK): Likewise.
37284         (__ASSUME_O_CLOEXEC): Likewise.
37285         (__ASSUME_PIPE2): Likewise.
37286         (__ASSUME_SIGNALFD4): Likewise.
37287         (__ASSUME_SOCK_CLOEXEC): Likewise.
37288         (__ASSUME_UTIMES): Undefine.
37289         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37290         (__ASSUME_UTIMES): Do not define.
37291         (__ASSUME_O_CLOEXEC): Likewise.
37292         (__ASSUME_SOCK_CLOEXEC): Likewise.
37293         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37294         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37295         0x020621].
37296         (__ASSUME_PIPE2): Likewise.
37297         (__ASSUME_EVENTFD2): Likewise.
37298         (__ASSUME_SIGNALFD4): Likewise.
37299         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37300         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37301         Do not define.
37302         (__ASSUME_EVENTFD2): Likewise.
37303         (__ASSUME_SIGNALFD4): Likewise.
37304         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37305         (__ASSUME_32BITUIDS): Likewise.
37306         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37307         (__ASSUME_IPC64): Likewise.
37308         (__ASSUME_ST_INO_64_BIT): Likewise.
37309         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37310         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37311         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37312         (__ASSUME_UTIMES): Do not define.
37313         (__ASSUME_PSELECT): Likewise.
37314         (__ASSUME_PPOLL): Likewise.
37315         (__ASSUME_O_CLOEXEC): Likewise.
37316         (__ASSUME_SOCK_CLOEXEC): Likewise.
37317         (__ASSUME_IN_NONBLOCK): Likewise.
37318         (__ASSUME_PIPE2): Likewise.
37319         (__ASSUME_EVENTFD2): Likewise.
37320         (__ASSUME_SIGNALFD4): Likewise.
37321         (__ASSUME_DUP3): Likewise.
37322         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37323         (__ASSUME_UTIMES): Likewise.
37324         (__ASSUME_O_CLOEXEC): Likewise.
37325         (__ASSUME_SOCK_CLOEXEC): Likewise.
37326         (__ASSUME_IN_NONBLOCK): Likewise.
37327         (__ASSUME_PIPE2): Likewise.
37328         (__ASSUME_EVENTFD2): Likewise.
37329         (__ASSUME_SIGNALFD4): Likewise.
37330         (__ASSUME_DUP3): Likewise.
37331         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37332         (__ASSUME_UTIMES): Likewise.
37333         (__ASSUME_O_CLOEXEC): Likewise.
37334         (__ASSUME_SOCK_CLOEXEC): Likewise.
37335         (__ASSUME_IN_NONBLOCK): Likewise.
37336         (__ASSUME_PIPE2): Likewise.
37337         (__ASSUME_EVENTFD2): Likewise.
37338         (__ASSUME_SIGNALFD4): Likewise.
37339         (__ASSUME_DUP3): Likewise.
37340         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37341         Likewise.
37342         (__ASSUME_UTIMES): Likewise.
37343         (__ASSUME_EVENTFD2): Likewise.
37344         (__ASSUME_SIGNALFD4): Likewise.
37345         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37346         (__ASSUME_O_CLOEXEC): Likewise.
37347         (__ASSUME_SOCK_CLOEXEC): Likewise.
37348         (__ASSUME_IN_NONBLOCK): Likewise.
37349         (__ASSUME_PIPE2): Likewise.
37350         (__ASSUME_EVENTFD2): Likewise.
37351         (__ASSUME_SIGNALFD4): Likewise.
37352         (__ASSUME_DUP3): Likewise.
37353         (__ASSUME_UTIMES): Undefine.
37355         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37356         feclearexcept.  Remove symbol versioning code.
37357         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37358         symbol versioning code.
37359         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37360         symbol versioning code.
37361         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37362         feupdateenv.  Remove symbol versioning code.
37363         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37364         fegetexceptflag.  Remove symbol versioning code.
37365         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37366         fesetexceptflag.  Remove symbol versioning code.
37367         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37368         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37369         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37370         (__posix_fadvise64_l32): Remove prototype.
37371         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37372         code.
37374 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37376         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37377         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37378         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37379         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37381 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37383         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37384         current working directory
37386 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37388         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37389         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37390         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37391         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37392         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37393         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37394         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37395         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37396         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37397         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37398         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37399         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37400         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37401         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37402         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37403         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37404         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37405         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37406         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37407         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37408         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37409         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37410         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37411         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37412         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37413         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37414         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37415         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37416         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37417         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37418         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37419         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37420         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37421         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37422         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37423         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37424         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37425         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37426         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37427         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37428         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37429         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37431         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37432         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37434         * sysdeps/unix/sysv/linux/arm/Makefile
37435         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37436         Add rt-aeabi_unwind_cpp_pr1.
37437         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37438         Add nptl-aeabi_unwind_cpp_pr1.
37439         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37440         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37441         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37442         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37443         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37444         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37446         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37447         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37448         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37449         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37451         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37452         Deconditionalize the code that was previously under [RESET_PID].
37453         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37455         * sysdeps/generic/exit-thread.h: New file.
37456         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37457         * include/unistd.h (__exit_thread): Remove declaration.
37458         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37459         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37460         * csu/libc-start.c: Include <exit-thread.h>.
37461         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37462         * nptl/pthread_create.c: Include <exit-thread.h>.
37463         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37464         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37465         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37466         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37467         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37468         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37469         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37470         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37471         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37472         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37473         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37474         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37475         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37476         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37477         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37478         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37479         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37481 2014-05-13  Andreas Schwab  <schwab@suse.de>
37483         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37485 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37487         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37488         (__ASSUME_UTIMES): Do not condition on kernel version.
37489         (__ASSUME_PSELECT): Define unconditionally.
37490         (__ASSUME_PPOLL): Likewise.
37491         (__ASSUME_ATFCTS): Likewise.
37492         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37493         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37494         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37495         (__ASSUME_UTIMENSAT): Define unconditionally.
37496         (__ASSUME_PRIVATE_FUTEX): Likewise.
37497         (__ASSUME_FALLOCATE): Likewise.
37498         (__ASSUME_O_CLOEXEC): Likewise.
37499         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37500         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37501         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37502         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37503         (__ASSUME_IN_NONBLOCK): Likewise.
37504         (__ASSUME_PIPE2): Likewise.
37505         (__ASSUME_EVENTFD2): Likewise.
37506         (__ASSUME_SIGNALFD4): Likewise.
37507         (__ASSUME_DUP3): Likewise.
37508         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37509         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37510         (__ASSUME_AT_RANDOM): Likewise.
37511         (__ASSUME_PREADV): Likewise.
37512         (__ASSUME_PWRITEV): Likewise.
37513         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37514         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37515         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37516         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37517         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37518         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37519         (__ASSUME_O_CLOEXEC): Define unconditionally.
37520         (__ASSUME_PSELECT): Do not undefine conditionally.
37521         (__ASSUME_PPOLL): Likewise.
37522         (__ASSUME_ATFCTS): Likewise.
37523         (__ASSUME_SET_ROBUST_LIST): Likewise.
37524         (__ASSUME_UTIMENSAT): Likewise.
37525         (__ASSUME_FDATASYNC): Define unconditionally.
37526         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37527         (__ASSUME_SIGFRAME_V2): Likewise.
37528         )__ASSUME_EVENTFD2): Likewise.
37529         (__ASSUME_SIGNALFD4): Likewise.
37530         (__ASSUME_PSELECT): Do not undefine conditionally.
37531         (__ASSUME_PPOLL): Likewise.
37532         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37533         (__ASSUME_PSELECT): Define unconditionally.
37534         (__ASSUME_PPOLL): Likewise.
37535         (__ASSUME_O_CLOEXEC): Likewise.
37536         (__ASSUME_SOCK_CLOEXEC): Likewise.
37537         (__ASSUME_IN_NONBLOCK): Likewise.
37538         (__ASSUME_PIPE2): Likewise.
37539         (__ASSUME_EVENTFD2): Likewise.
37540         (__ASSUME_SIGNALFD4): Likewise.
37541         (__ASSUME_DUP3): Likewise.
37542         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37543         (__ASSUME_O_CLOEXEC): Likewise.
37544         (__ASSUME_SOCK_CLOEXEC): Likewise.
37545         (__ASSUME_IN_NONBLOCK): Likewise.
37546         (__ASSUME_PIPE2): Likewise.
37547         (__ASSUME_EVENTFD2): Likewise.
37548         (__ASSUME_SIGNALFD4): Likewise.
37549         (__ASSUME_DUP3): Likewise.
37550         * sysdeps/unix/sysv/linux/mips/kernel-features.h
37551         (__ASSUME_EVENTFD2): Likewise.
37552         (__ASSUME_SIGNALFD4): Likewise.
37553         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37555 2014-05-12  Andreas Schwab  <schwab@suse.de>
37557         [BZ #16932]
37558         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
37559         (_nss_nis_gethostbyname4_r): Return error if item length is larger
37560         than maximum RPC packet size.
37561         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
37562         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
37563         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
37564         (_nss_nis_getservbyport_r): Likewise.
37566 2014-05-12  Will Newton  <will.newton@linaro.org>
37568         * malloc/Makefile (tests): Add tst-mallopt.
37569         * malloc/tst-mallopt.c: New file.
37571 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37573         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
37574         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
37576 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37578         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
37579         (tst-tlsmod6.so): Likewise.
37581 2014-05-09  Roland McGrath  <roland@hack.frob.com>
37583         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
37585 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
37587         [BZ #16064]
37588         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
37589         and <dl-procinfo.h>.
37590         (__fegetenv): Save SSE state in envp->__eip if supported.
37591         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
37592         envp->__eip if supported.
37593         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
37594         and <dl-procinfo.h>.
37595         (__fesetenv): Always set __eip, __cs_selector, __opcode,
37596         __data_offset and __data_selector in environment to 0.  Set SSE
37597         state if supported.
37598         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
37599         test-fenv-sse.
37600         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
37601         -mfpmath=sse.
37602         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
37604 2014-05-09  Will Newton  <will.newton@linaro.org>
37606         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
37607         and libc_relro_required for ARM.
37608         * sysdeps/arm/preconfigure: Regenerate.
37610 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
37611             Stefan Liebler  <stli@linux.vnet.ibm.com>
37613         * config.make.in (enable-lock-elision): New Makefile variable.
37614         * configure.ac: Likewise.
37615         * configure: Regenerate.
37616         * sysdeps/s390/configure.ac:
37617         Add check for gcc transactions support.
37618         * sysdeps/s390/configure: Regenerate.
37619         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
37620         Build elision files if enabled.
37621         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
37622         Add lock elision support for s390.
37623         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
37624         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
37625         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
37626         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
37627         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
37628         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
37629         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37630         Likewise.
37631         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
37632         Likewise.
37633         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
37634         Likewise.
37635         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
37636         Likewise.
37637         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
37638         (__lll_timedlock_elision, __lll_lock_elision)
37639         (__lll_unlock_elision, __lll_trylock_elision)
37640         (lll_timedlock_elision, lll_lock_elision)
37641         (lll_unlock_elision, lll_trylock_elision): Add.
37642         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37643         (pthread_mutex_t): Add lock elision support for s390.
37645 2014-05-14  Wilco  <wdijkstr@arm.com>
37647         * sysdeps/arm/fclrexcpt.c: Cleanup.
37648         * sysdeps/arm/fedisblxcpt.c: Cleanup.
37649         * sysdeps/arm/feenablxcpt.c: Cleanup.
37650         * sysdeps/arm/fegetenv.c: Cleanup.
37651         * sysdeps/arm/fegetexcept.c: Cleanup.
37652         * sysdeps/arm/fegetround.c: Cleanup.
37653         * sysdeps/arm/feholdexcpt.c: Cleanup.
37654         * sysdeps/arm/fesetenv.c: Cleanup.
37655         * sysdeps/arm/fesetround.c: Cleanup.
37656         * sysdeps/arm/feupdateenv.c: Cleanup.
37657         * sysdeps/arm/fgetexcptflg.c: Cleanup.
37658         * sysdeps/arm/fraiseexcpt.c: Cleanup.
37659         * sysdeps/arm/fsetexcptflg.c: Cleanup.
37660         * sysdeps/arm/ftestexcept.c: Cleanup.
37661         * sysdeps/arm/get-rounding-mode.h: Cleanup.
37662         * sysdeps/arm/setfpucw.c: Cleanup.
37664 2014-05-09  Will Newton  <will.newton@linaro.org>
37666         * sysdeps/arm/armv7/strcmp.S: New file.
37667         * NEWS: Mention addition of ARMv7 optimized strcmp.
37669 2014-05-08  Roland McGrath  <roland@hack.frob.com>
37671         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
37672         look for %.ac rather than %.in.
37674         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
37675         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
37676         * sysdeps/mach/hurd/configure: Regenerated.
37677         * sysdeps/unix/sysv/linux/configure: Regenerated.
37679         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
37681 2014-05-07  Steve Ellcey  <sellcey@mips.com>
37683         [BZ# 16922]
37684         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
37685         (LONG_SUB): Ditto.
37686         (PTR_SUB): Ditto.
37688 2014-05-07  Andreas Schwab  <schwab@suse.de>
37690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
37691         when skipping over non-matching result from nscd.
37693 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
37695         [BZ #16876]
37696         * nptl/sockperf.c (client): Check socket return value.
37698         [BZ #16877]
37699         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
37700         nscd security class.
37702 2014-05-06  Roland McGrath  <roland@hack.frob.com>
37704         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
37705         * sysdeps/arm/unwind.h: ... here.
37707 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
37709         [BZ# 16916]
37710         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
37711         Define.
37713 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37715         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
37716         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
37717         multiarch strncpy for PPC64.
37718         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
37719         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
37720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
37721         multiarch optimizations.
37722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37723         (__libc_ifunc_impl_list): Likewise.
37724         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
37725         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
37726         multiarch stpncpy for PPC64.
37727         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
37728         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
37730 2014-05-06  Andreas Schwab  <schwab@suse.de>
37732         [BZ #16912]
37733         * gmon/mcount.c (_MCOUNT_DECL): Use
37734         atomic_compare_and_exchange_bool_acq instead of
37735         catomic_compare_and_exchange_bool_acq.
37737 2014-05-05  Roland McGrath  <roland@hack.frob.com>
37739         * elf/Makefile (others, install-bin): Remove pldd.
37740         (pldd-modules): Variable removed.
37741         ($(objpfx)pldd): Target removed.
37742         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
37743         (others, install-bin): Append pldd here.
37744         ($(objpfx)pldd): New target.
37746         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
37747         to 0, so the first #if test emitted later doesn't see it undefined.
37748         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
37749         * sysdeps/gnu/errlist.c: Regenerated.
37751 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37753         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
37754         [libc_hidden_builtin_def]: Define to empty value.
37755         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
37756         [libc_hidden_builtin_def]: Likewise.
37757         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
37758         [libc_hidden_builtin_def]: Likewise.
37759         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
37760         [libc_hidden_builtin_def]: Likewise.
37761         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
37762         __redirect_memcpy and define ifunc as default hidden symbol.
37763         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
37764         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
37766 2014-05-04  Adam Conrad  <adconrad@0c3.net>
37768         * locale/iso-4217.def: Reintroduce XDR currency.
37770 2014-05-04  Allan McRae  <allan@archlinux.org>
37772         * po/eo.po: Update Esperanto translation from translation project.
37774 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
37776         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
37777         and FEATURE_INDEX_MAX to 1.
37778         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
37780 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37782         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
37783         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
37784         * iconvdata/big5.c (ONE_DIRECTION): Define.
37785         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
37786         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
37787         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
37788         * iconvdata/cp932.c (ONE_DIRECTION): Define.
37789         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
37790         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
37791         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
37792         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
37793         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
37794         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
37795         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
37796         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
37797         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
37798         * iconvdata/gbk.c (ONE_DIRECTION): Define.
37799         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
37800         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
37801         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
37802         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
37803         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
37804         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
37805         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
37806         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
37807         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
37808         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
37809         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
37810         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
37811         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
37812         * iconvdata/iso646.c (ONE_DIRECTION): Define.
37813         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
37814         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
37815         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
37816         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
37817         * iconvdata/johab.c (ONE_DIRECTION): Define.
37818         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
37819         * iconvdata/sjis.c (ONE_DIRECTION): Define.
37820         * iconvdata/t.61.c (ONE_DIRECTION): Define.
37821         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
37822         * iconvdata/tscii.c (ONE_DIRECTION): Define.
37823         * iconvdata/uhc.c (ONE_DIRECTION): Define.
37824         * iconvdata/unicode.c (ONE_DIRECTION): Define.
37825         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
37826         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
37827         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
37829 2014-05-01  Roland McGrath  <roland@hack.frob.com>
37831         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
37832         (_IO_JUMPS_OFFSET): Define to 0.
37834         * nptl/sysdeps/pthread/bits/libc-lock.h
37835         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37836         (__libc_lock_define_initialized_recursive): Always define using
37837         initializer.  Modern compilers treat uninitialized (implicit zero) and
37838         explicit zero initializers the same (i.e. put the datum in bss).
37840 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37842         * nscd/nscd-client.h: Include <string.h>.
37844 2014-05-01  David S. Miller  <davem@davemloft.net>
37846         [BZ #16885]
37847         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
37848         multiple zero bytes exist at the end of a string.
37849         Reported by Aurelien Jarno <aurelien@aurel32.net>
37851         * string/test-strcmp.c (check): Add explicit test for situations where
37852         there are multiple zero bytes after the first.
37854 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37856         [BZ #16890]
37857         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
37858         when compiling wprintf.
37859         * stdio-common/tstdiomisc.c (t3): New function.
37860         (main): Call it.
37862 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37864         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
37865         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
37866         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
37867         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
37869 2014-05-01  Steve Ellcey  <sellcey@mips.com>
37871         * stdlib/longlong.h: Updated from GCC.
37873 2014-05-01  Will Newton  <will.newton@linaro.org>
37874             Bernard Ogden  <bernie.ogden@linaro.org>
37876         * NEWS: Update fixed bug list.
37878         [BZ #15119]
37879         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
37881 2014-04-30  David S. Miller  <davem@davemloft.net>
37883         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
37884         (libc_feholdexcept_setround_sparc_ctx): New function.
37885         (libc_fesetenv_sparc_ctx): Likewise.
37886         (libc_feupdateenv_sparc_ctx): Likewise.
37887         (libc_feholdsetround_sparc_ctx): Likewise.
37888         (libc_feholdexcept_setround_ctx): Define.
37889         (libc_feholdexcept_setroundf_ctx): Likewise.
37890         (libc_feholdexcept_setroundl_ctx): Likewise.
37891         (libc_fesetenv_ctx): Likewise.
37892         (libc_fesetenvf_ctx): Likewise.
37893         (libc_fesetenvl_ctx): Likewise.
37894         (libc_feupdateenv_ctx): Likewise.
37895         (libc_feupdateenvf_ctx): Likewise.
37896         (libc_feupdateenvl_ctx): Likewise.
37897         (libc_feresetround_ctx): Likewise.
37898         (libc_feresetroundf_ctx): Likewise.
37899         (libc_feresetroundl_ctx): Likewise.
37900         (libc_feholdsetround_ctx): Likewise.
37901         (libc_feholdsetroundf_ctx): Likewise.
37902         (libc_feholdsetroundl_ctx): Likewise.
37904         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37905         with __USE_GNU instead of XOPEN cpp guards.
37907         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
37908         0.
37910         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
37911         with XOPEN cpp guards.
37913 2014-04-30  Julian Brown  <julian@codesourcery.com>
37915         [BZ #16888]
37916         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
37917         handling.
37919 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
37921         [BZ #9894]
37922         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
37923         Change to 2.6.32.
37924         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
37925         * sysdeps/unix/sysv/linux/configure: Regenerated.
37926         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
37927         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
37928         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
37929         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
37930         * README: Update reference to required Linux kernel version.
37931         * manual/install.texi (Linux): Update reference to required Linux
37932         kernel headers version.
37933         * INSTALL: Regenerated.
37935         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
37936         header inclusion.
37937         [POSIX] (limits.h): Likewise.
37938         [POSIX] (math.h): Likewise.
37939         [POSIX] (sys/wait.h): Likewise.
37940         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
37941         function.
37942         [POSIX] (stddef.h): Do not allow header inclusion.
37944 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37946         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
37948 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
37950         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
37951         Return immediately after lll_futex_wake.
37953 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37955         [BZ #16791]
37956         * nscd/nscd-client.h (datahead_init_common): Initialize entire
37957         structure.
37958         (datahead_init_pos): Call datahead_init_common early.
37959         (datahead_init_neg): Likewise.
37961         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
37962         datahead_init_neg): New functions.
37963         * nscd/aicache.c (addhstaiX): Use them.
37964         * nscd/grpcache.c (cache_addgr): Likewise.
37965         * nscd/hstcache.c (cache_addhst): Likewise.
37966         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37967         * nscd/netgroupcache.c (do_notfound): Likewise.
37968         (addgetnetgrentX): Likewise.
37969         (addinnetgrX): Likewise.
37970         * nscd/pwdcache.c (cache_addpw): Likewise.
37971         * nscd/servicescache.c (cache_addserv): Likewise.
37973 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37974             Atsushi Onoe  <atsushi@onoe.org>
37976         [BZ #14308]
37977         [BZ #12994]
37978         [BZ #13651]
37979         * resolv/res_query.c (__libc_res_nsearch): Return if at least
37980         one response is valid.
37981         * resolv/res_send.c (send_dg): Check for validity of other
37982         response if the current response is a referral.
37984 2014-04-29  Steve Ellcey  <sellcey@mips.com>
37986         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
37988 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
37990         [BZ #16823]
37991         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
37992         Always divide by positive zero when computing -Inf result.
37993         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
37994         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
37996 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37998         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
37999         FPSCR if value do not change.
38000         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38001         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
38002         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38003         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38004         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
38005         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
38006         function.
38008 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
38010         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38011         * sysdeps/unix/sysv/linux/hppa: Move directory from
38012         ports/systeps/unix/sysv/linux/hppa.
38013         * README: Update listing for hppa-*-linux-gnu.
38015 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38017         [BZ #16754]
38018         * manual/stdio.texi (Hook functions): Fix types of stream hook
38019         functions.
38020         [BZ #16854]
38021         * socket/sys/socket.h: Fix typo in comment.
38023 2014-04-28  Wilco  <wdijkstr@arm.com>
38025         * sysdeps/arm/fenv_private.h: New file.
38026         * sysdeps/arm/math_private.h: New file.
38027         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38029 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38031         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38032         with __int128_t.
38033         (La_x86_64_retval): Likewise.
38035 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38037         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38038         fpsr if value didn't change.
38039         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38040         to fpcr if value didn't change.
38041         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38042         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38043         fpsr or fpcr if value didn't change.
38044         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38045         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38046         fpcr if value didn't change.
38047         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38048         to fpsr if value didn't change.
38050 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38052         * nptl/tst-sem3.c: Use test-skeleton.c
38053         (main): Rename to do_test.  Use return instead of
38054         exit.
38055         * nptl/tst-sem4.c: Use test-skeleton.c
38056         (main): Rename to do_test.
38058 2014-04-22  David S. Miller  <davem@davemloft.net>
38060         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38061         (struct sigaction): New struct member __glibc_reserved0, change
38062         type of sa_flags to int.
38064 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38066         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38067         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38069 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38071         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38072         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38074 2014-04-22  Will Newton  <will.newton@linaro.org>
38075             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38077         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38078         (__longjmp): Add longjmp and longjmp_target SystemTap
38079         probes.
38080         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38081         (__sigsetjmp): Add setjmp SystemTap probe.
38083 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38085         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38086         match manual order.
38088 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38090         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38092         * sysdeps/powerpc/fpu/fenv_private.h
38093         (libc_feholdexcept_setroundl_ctx): Define to
38094         libc_feholdexcept_setround_ppc_ctx.
38095         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38096         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38097         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38098         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38100 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38102         * sysdeps/aarch64/math-tests.h: New file.
38104 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38106         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38107         New.
38108         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38109         Check and set bit_AVX2_Usable.
38110         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38111         macro.
38112         (bit_AVX2): Likewise.
38113         (index_AVX2_Usable): Likewise.
38114         (CPUID_AVX2): Likewise.
38115         (HAS_AVX2): Likewise.
38117 2014-04-17  Will Newton  <will.newton@linaro.org>
38119         * manual/setjmp.texi (System V contexts): Add note that
38120         calling setcontext on a context created by a call to a
38121         signal handler is undefined.  Update text to note that
38122         setcontext from a signal handler is possible but not
38123         recommended.
38125         [BZ #16629]
38126         * stdlib/tst-setcontext.c: Include signal.h.
38127         (main): Check that the signal stack before and
38128         after swapcontext is the same.
38130         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38131         Re-implement to restore registers in user code and avoid
38132         rt_sigreturn system call.
38134 2014-04-17  Wilco  <wdijkstr@arm.com>
38136         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38137         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38138         * math/test-fenv.c: Skip exception trap tests on targets which only
38139         support non-stop mode.
38141 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38142             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38144         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38145         (libc_feholdsetround_aarch64_ctx)
38146         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38147         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38148         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38149         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38150         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38151         (libc_feresetround_noexl_ctx): Define.
38153 2014-04-16  Richard Henderson  <rth@redhat.com>
38155         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38157         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38158         unwind tables.
38160         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38161         const from the non-libc, non-ldso copy.
38163         * sysdeps/alpha/libm-test-ulps: Regenerate.
38165 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38166             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38168         * sysdeps/aarch64/fpu/math_private.h: New file.
38170 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38172         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38174 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38176         [BZ #16275]
38177         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38178         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38179         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38180         Intel MPX bound registers before _dl_profile_fixup.
38181         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38182         registers after _dl_profile_fixup.  Save and restore bound
38183         registers bnd0/bnd1 when calling _dl_call_pltexit.
38184         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38185         (LR_BND_OFFSET): Likewise.
38186         (LRV_BND0_OFFSET): Likewise.
38187         (LRV_BND1_OFFSET): Likewise.
38189 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38191         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38192         to...
38193         * sysdeps/mach/hurd/i386/tls.h: ... here.
38194         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38195         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38196         fields.
38198 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38200         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38202 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38204         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38206 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38208         [BZ #14770]
38209         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38210         * sysdeps/s390/configure: Regenerate.
38212         [BZ #16824]
38213         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38214         Set round-to-nearest internally to reduce error accumulation.
38216 2014-04-16  Alan Modra  <amodra@gmail.com>
38218         [BZ #16740]
38219         [BZ #16619]
38220         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38221         * math/libm-test.inc (frexp_test_data): Add tests.
38222         * NEWS: Update fixed bug list.
38224 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38226         * benchtests/Makefile: Depend on libraries in build directory.
38227         (bench-math): Separate out math tests.
38228         (bench-pthread): Separate out pthread tests.
38229         (bench): Include math and pthread tests.
38231 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38233         [BZ #16831]
38234         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38235         _dl_debug_initialize.
38237         * configure.ac: Remove SELinux header check.
38238         * configure: Regenerate.
38239         * nscd/selinux.c (perms): Array of const char* to permission names.
38240         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38241         default policy. Call string_to_security_class and string_to_av_perm to
38242         translate strings. Enforce default policy and call avs_has_perm with
38243         results of translated strings.
38245 2014-04-13  David S. Miller  <davem@davemloft.net>
38247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38249 2014-04-12  Allan McRae  <allan@archlinux.org>
38251         [BZ #16838]
38252         * manual/string.texi (Collation Functions): Fix qsort argument
38253         order in example.
38254         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38256 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38258         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38259         Make the test a no-op if there are no exceptions defined.
38261 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38263         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38264         enable-hardcoded-path-in-tests
38266 2014-04-11  Will Newton  <will.newton@linaro.org>
38268         * benchtests/Makefile (extra-objs): Add json-lib.o.
38269         (bench-func): Tidy up JSON output.
38270         * benchtests/bench-skeleton.c: Include json-lib.h.
38271         (main): Use JSON library functions to do output of
38272         benchmark results.
38273         * benchtests/bench-timing-type.c (main): Output the
38274         timing type simply, leaving formatting to the user.
38275         * benchtests/json-lib.c: New file.
38276         * benchtests/json-lib.h: Likewise.
38278 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38280         [BZ #15215]
38281         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38282         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38283         memory barriers.  Add comments.
38284         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38285         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38286         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38287         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38288         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38289         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38291 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38293         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38294         * sysdeps/s390/s390-64/configure.ac: ... this ...
38295         * sysdeps/s390/configure.ac: ... to here.
38296         * sysdeps/s390/s390-32/configure: Delete file.
38297         * sysdeps/s390/s390-64/configure: Delete file.
38298         * sysdeps/s390/configure: Regenerate.
38300 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38302         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38304 2014-04-11  Will Newton  <will.newton@linaro.org>
38306         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38307         to zero if it is not defined elsewhere.  (mtrim): Test
38308         the value of MALLOC_DEBUG with #if rather than #ifdef.
38310 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38312         * benchtests/pthread_once-inputs: New file.
38313         * benchtests/pthread_once-source.c: New file.
38314         * benchtests/README: Update documentation.
38316 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38317             H.J. Lu  <hongjiu.lu@intel.com>
38319         [BZ #16275]
38320         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38321         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38322         * sysdeps/x86_64/configure: Regenerated.
38323         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38324         macro.
38325         (REGISTER_SAVE_RAX): Likewise.
38326         (REGISTER_SAVE_RCX): Likewise.
38327         (REGISTER_SAVE_RDX): Likewise.
38328         (REGISTER_SAVE_RSI): Likewise.
38329         (REGISTER_SAVE_RDI): Likewise.
38330         (REGISTER_SAVE_R8): Likewise.
38331         (REGISTER_SAVE_R9): Likewise.
38332         (REGISTER_SAVE_BND0): Likewise.
38333         (REGISTER_SAVE_BND1): Likewise.
38334         (REGISTER_SAVE_BND2): Likewise.
38335         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38336         bound registers when calling _dl_fixup.
38338 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38340         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38341         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38342         of its definition.
38343         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38344         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38345         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38346         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38347         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38348         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38349         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38351 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38353         [BZ #15514]
38354         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38355         pathconf(_PC_NAME_MAX).
38357 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38359         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38360         Remove macro usage.
38361         (__PTHREAD_SPINS): Move definition to ...
38362         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38363         (__PTHREAD_SPINS): ... here.
38364         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38365         (__PTHREAD_SPIN): Likewise.
38366         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38367         (__PTHREAD_SPIN): Likewise.
38368         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38369         (__PTHREAD_SPIN): Likewise.
38370         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38371         (__PTHREAD_SPIN): Likewise.
38372         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38373         (__PTHREAD_SPIN): Likewise.
38374         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38375         (__PTHREAD_SPIN): Likewise.
38376         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38377         (__PTHREAD_SPIN): Likewise.
38378         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38379         (__PTHREAD_SPIN): Likewise.
38380         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38381         (__PTHREAD_SPIN): Likewise.
38382         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38383         (__PTHREAD_SPIN): Likewise.
38384         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38385         (__PTHREAD_SPIN): Likewise.
38386         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38387         (__PTHREAD_SPIN): Likewise.
38389         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38390         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38391         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38392         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38393         imply folder.
38394         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38395         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38396         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38397         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38398         correct imply path.
38399         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38400         strlen symbol for non multi-arch builds.
38401         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38402         missing hidden_def and weak_alias.
38404 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38406         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38408 2014-04-07  Will Newton  <will.newton@linaro.org>
38410         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38411         and contents.  [!_LIBC] Remove #ifndef and contents.
38412         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38413         * string/memccpy.c (__memccpy): Use ANSI prototype.
38414         * string/memfrob.c (memfrob): Likewise.
38415         * string/strcoll.c (STRCOLL): Likewise.
38416         * string/strlen.c (strlen): Likewise.
38417         * string/strtok.c (STRTOK): Likewise.
38418         * string/strcat.c: Remove unused #include of memcopy.h.
38419         (strcat): Use ANSI prototype.
38420         * string/strchr.c: Remove unused #include of memcopy.h.
38421         (strchr): Use ANSI prototype.
38422         * string/strcmp.c: Remove unused #include of memcopy.h.
38423         (strcmp): Use ANSI prototype.
38424         * string/strcpy.c: Remove unused #include of memcopy.h.
38425         (strcpy): Use ANSI prototype.
38427 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38429         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38430         * config.make.in (config-extra-cppflags): Set it from
38431         libc_extra_cppflags.
38432         * configure.ac (libc_extra_cflags): Make it accumulate over
38433         configure fragments.
38434         (libc_extra_cppflags): New flag.
38435         * configure. Regenerate.
38436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38437         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38438         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38441         [BZ #16815]
38442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38443         result for FE_DOWNWARD rounding mode.
38444         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38445         Likewise.
38446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38448 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38450         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38451         in function argument name.
38453 2014-04-03  David Svoboda  <svoboda@cert.org>
38455         [BZ #5666]
38456         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38457         explicitly.
38459 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38461         * elf/dl-unmap-segments.h: New file.
38462         * sysdeps/generic/ldsodefs.h
38463         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38464         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38465         * elf/dl-fptr.c: Likewise.
38466         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38467         * sysdeps/aarch64/tlsdesc.c: Likewise.
38468         * sysdeps/arm/tlsdesc.c: Likewise.
38469         * sysdeps/i386/tlsdesc.c: Likewise.
38470         * sysdeps/tile/dl-runtime.c: Likewise.
38471         * sysdeps/x86_64/tlsdesc.c: Likewise.
38472         * elf/dl-load.h: New file.
38473         * elf/dl-load.c: Include it.
38474         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38475         Macros moved to dl-load.h.
38476         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38477         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38478         Use _dl_unmap_segments in place of __munmap.
38479         Break out segment-mapping loop into ...
38480         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38482 2014-04-03  Will Newton  <will.newton@linaro.org>
38484         * elf/dl-lookup.c (do_lookup_x): Remove comment
38485         referring to nested function and move variable
38486         declarations down to before first use.
38488 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38490         [BZ #16799]
38491         [BZ #16800]
38492         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38493         with 0 numerator.
38494         * math/s_catanf.c (__catanf): Likewise.
38495         * math/s_catanh.c (__catanh): Likewise.
38496         * math/s_catanhf.c (__catanhf): Likewise.
38497         * math/s_catanhl.c (__catanhl): Likewise.
38498         * math/s_catanl.c (__catanl): Likewise.
38499         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38500         by positive zero when computing -Inf result.
38501         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38502         (catanh_test): Likewise.
38503         * sysdeps/i386/fpu/libm-test-ulps: Update.
38504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38506         [BZ #16789]
38507         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38508         instead of using underflowing value in computing result.
38509         * math/s_clog10.c (__clog10): Likewise.
38510         * math/s_clog10f.c (__clog10f): Likewise.
38511         * math/s_clog10l.c (__clog10l): Likewise.
38512         * math/s_clogf.c (__clogf): Likewise.
38513         * math/s_clogl.c (__clogl): Likewise.
38514         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38515         (clog10_test): Likewise.
38516         * sysdeps/i386/fpu/libm-test-ulps: Update.
38517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38519 2014-04-02  Alan Modra  <amodra@gmail.com>
38521         [BZ #16739]
38522         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38523         output when value is near a power of two.  Use int64_t for lx and
38524         remove casts.  Use decimal rather than hex exponent constants.
38525         Don't use long double multiplication when double will suffice.
38526         * math/libm-test.inc (nextafter_test_data): Add tests.
38527         * NEWS: Add 16739 and 16786 to bug list.
38529         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38531         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
38533 2014-04-01  Will Newton  <will.newton@linaro.org>
38535         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
38536         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
38538 2014-04-01  Florian Weimer  <fweimer@redhat.com>
38540         [BZ #13347]
38541         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
38542         * nptl/tst-setuid2.c: New file.
38543         * nptl/Makefile (xtests): Add tst-setuid2.
38545 2014-04-01  Alan Modra  <amodra@gmail.com>
38547         [BZ #16786]
38548         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
38550 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38552         [BZ #6803]
38553         [BZ #6804]
38554         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
38555         set errno as appropriate.
38556         * math/w_scalbf.c (__scalbf): Likewise.
38557         * math/w_scalbl.c (__scalbl): Likewise.
38558         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
38559         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
38560         * math/libm-test.inc (scalb_test_data): Add errno expectations.
38561         Add more NaN tests.
38563         [BZ #16349]
38564         * math/w_atan2.c: Include <errno.h>.
38565         (__atan2): Set errno for result underflowing to zero.
38566         * math/w_atan2f.c: Include <errno.h>.
38567         (__atan2f): Set errno for result underflowing to zero.
38568         * math/w_atan2l.c: Include <errno.h>.
38569         (__atan2l): Set errno for result underflowing to zero.
38570         * math/auto-libm-test-in: Don't allow missing errno for some atan2
38571         tests.
38572         * math/auto-libm-test-out: Regenerated.
38574 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38576         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
38577         Encode instruction correctly in little endian.
38578         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
38579         Likewise.
38580         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
38581         Likewise.
38582         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
38583         Likewise.
38584         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
38585         Likewise.
38587 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
38589         [BZ #9894]
38590         * sysdeps/unix/sysv/linux/kernel-features.h
38591         [__sparc__ && !__arch64__ && !__sparc_v9__]
38592         (__ASSUME_SET_ROBUST_LIST): Do not define.
38593         [__sparc__ && !__arch64__ && !__sparc_v9__]
38594         (__ASSUME_FUTEX_LOCK_PI): Likewise.
38595         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
38596         Likewise.
38597         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38598         (__ASSUME_FUTEX_LOCK_PI): Undefine.
38599         (__ASSUME_REQUEUE_PI): Likewise.
38600         (__ASSUME_SET_ROBUST_LIST): Likewise.
38601         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38602         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
38603         Undefine.
38604         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38605         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
38606         Likewise.
38607         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
38608         Likewise.
38609         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
38610         Likewise.
38611         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38612         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
38613         Undefine.
38614         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
38615         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
38616         Likewise.
38618         [BZ #16648]
38619         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38620         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
38621         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
38623 2014-03-31  Will Newton  <will.newton@linaro.org>
38625         * benchtests/Makefile (bench): Add ffs and ffsll to list
38626         of tests.
38627         * benchtests/ffs-inputs: New file.
38628         * benchtests/ffsll-inputs: Likewise.
38630 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
38632         [BZ #16770]
38633         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
38634         too large before casting to int.
38635         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
38636         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
38637         * math/libm-test.inc (scalb_test_data): Add more tests.
38639 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38641         * benchtests/Makefile (DETAILED_OPT): New make option.
38642         (bench-func): Run benchmark program with -d if DETAILED_OPT is
38643         set.
38644         * benchtests/bench-skeleton.c: Include stdbool.h.
38645         (main): Store and print timings per input.
38646         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
38647         member to each argument value.
38648         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
38649         (_print_arg_data): Initialize per-input timing to 0.
38651         * benchtests/Makefile (timing-type): New binary.
38652         (bench-clean): Also remove bench-timing-type.
38653         (bench): New target for timing-type.
38654         (bench-func): Print output in JSON format.
38655         * benchtests/bench-skeleton.c (main): Print output in JSON
38656         format.
38657         * benchtests/bench-timing-type.c: New file.
38658         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
38659         (TIMING_PRINT_STATS): Remove.
38660         * benchtests/scripts/bench.py (_print_arg_data): Store variant
38661         name separately.
38663         * benchtests/bench-modf.c: Remove.
38664         * benchtests/modf-inputs: New inputs file.
38666 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
38668         [BZ #16362]
38669         * math/s_clog10.c (M_PI_LOG10E): New macro.
38670         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
38671         imaginary parts are 0.
38672         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
38673         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
38674         imaginary parts are 0.
38675         * math/s_clog10l.c (M_PI_LOG10El): New macro.
38676         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
38677         imaginary parts are 0.
38678         * math/libm-test.inc (clog10_test_data): Update expected results
38679         for when real and imaginary parts are 0.
38681 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
38683         * elf/dl-load.c: Finish conversion of __builtin_expect into
38684         __glibc_{un}likely.
38686 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
38688         [BZ #16348]
38689         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
38690         1+x for argument with exponent below -67.
38691         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
38692         Likewise.
38693         * math/auto-libm-test-in: Add more tests of exp.
38694         * math/auto-libm-test-out: Regenerated.
38696 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38698         [BZ #16759]
38699         * inet/getnetgrent_r.c (get_nonempty_val): New function.
38700         (nscd_getnetgrent): Use it.
38702         [BZ #16760]
38703         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
38704         of stpcpy.
38706 2014-03-27  Andi Kleen  <ak@linux.intel.com>
38708         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
38709         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38710         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38711         (lll_robust_unlock): Remove out of line section. Use cfi
38712         intrinsics.
38713         (LLL_STUB_UNWIND_INFO*): Remove.
38714         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
38715         (lll_robust_lock, lll_cond_lock, lll_timedlock)
38716         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
38717         (lll_robust_unlock): Remove out of line section. Use cfi
38718         intrinsics.
38719         (LLL_STUB_UNWIND_INFO*): Remove.
38721 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38723         [BZ #16758]
38724         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
38725         blank values.
38727 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
38729         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
38731 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
38733         [BZ #16198]
38734         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
38735         fnstenv.
38736         * math/test-fenv-preserve.c: New file.
38737         * math/Makefile (tests): Add test-fenv-preserve.
38739 2014-03-26  Will Newton <will.newton@linaro.org>
38741         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
38743 2014-03-25  Roland McGrath  <roland@hack.frob.com>
38745         * scripts/versionlist.awk: Partition the version sets and emit all
38746         GLIBC_* (sorted) before all others (sorted).
38748 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38750         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
38751         GLIBC_2.2.5 version.
38753 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38755         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
38756         calls.
38758         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
38759         previous change.
38761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38763 2014-03-25  Andreas Schwab  <schwab@suse.de>
38765         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
38766         label to be used after in6ailist is initialized.
38768 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38770         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38771         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38773 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
38775         [BZ #16357]
38776         [BZ #16599]
38777         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
38778         min_plus_half.
38779         (fp_formats): Update initializers.
38780         (init_fp_formats): Initialize new field.
38781         (output_for_one_input_case): Allow underflow for results up to
38782         min_plus_half.
38783         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
38784         * math/auto-libm-test-in: Don't mark some underflows from asin and
38785         atanh as spurious.
38786         * math/auto-libm-test-out: Regenerated.
38787         * sysdeps/i386/fpu/libm-test-ulps: Update.
38788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38790 2014-03-25  Andreas Schwab  <schwab@suse.de>
38792         * libio/Makefile (tst-ftell-partial-wide-ENV)
38793         (tst-ftell-active-handler-ENV): Define.
38795 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
38797         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
38799 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38801         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
38803 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38805         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
38806         * sysdeps/x86_64/fpu/multiarch/e_exp.c
38807         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
38809 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38811         [BZ #16634]
38812         * elf/dl-load.c (open_verify): Add mode parameter.
38813         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
38814         (open_path): Change from boolean 'secure' to complete flag 'mode'
38815         (_dl_map_object): Adjust.
38816         * elf/Makefile (tests): Add tst-dlopen-aout.
38817         * elf/tst-dlopen-aout.c: New test.
38819 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
38821         [BZ #16714]
38822         * sysdeps/unix/sysv/linux/s390/bits/stat.h
38823         (struct stat): Rename member pad0 to __glibc_reserved0.
38825         [BZ #16712]
38826         * sysdeps/s390/s390-32/bits/wordsize.h
38827         (__WORDSIZE32_SIZE_ULONG): New define.
38828         * sysdeps/s390/s390-64/bits/wordsize.h
38829         (__WORDSIZE32_SIZE_ULONG): Likewise.
38830         * sysdeps/generic/stdint.h (SIZE_MAX):
38831         Define as UL if __WORDSIZE32_SIZE_ULONG.
38833         [BZ #16713]
38834         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
38835         (__glibc_reserved0): New variable.
38836         (sa_flags): Change type to int.
38838         * posix/Makefile (before-compile): Use += before-compile instead
38839         of a :=.
38841         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38842         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
38844 2014-03-20  Andreas Schwab  <schwab@suse.de>
38846         [BZ #16743]
38847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
38848         non-matching result from nscd.
38850 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38852         * scripts/bench.py: Moved to ...
38853         * benchtests/scripts/bench.py: ... here.
38854         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
38856 2014-03-24  Andreas Schwab  <schwab@suse.de>
38858         [BZ #16002]
38859         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
38860         alloca_account and account alloca use for struct in6ailist.
38862 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
38864         [BZ #16284]
38865         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
38866         rounding mode to recompute results that overflow to infinity or
38867         underflow to zero.
38868         * math/auto-libm-test-in: Don't mark tests as expected to fail for
38869         bug 16284.
38870         * math/auto-libm-test-out: Regenerated.
38871         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
38872         (ccosh_test): Likewise.
38873         (csin_test_data): Use plus_oflow.
38874         (csin_test): Use ALL_RM_TEST.
38875         (csinh_test_data): Use plus_oflow.
38876         (csinh_test): Use ALL_RM_TEST.
38877         * sysdeps/i386/fpu/libm-test-ulps: Update.
38878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38880 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
38882         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
38883         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
38884         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
38886         [BZ #16731]
38887         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
38888         when x - 1 is zero.
38889         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
38890         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
38891         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38892         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
38893         argument is 1.
38894         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
38895         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
38896         zero.
38897         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
38898         * sysdeps/i386/fpu/libm-test-ulps: Update.
38899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38901 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38903         * scripts/bench.pl: Remove file.
38904         * scripts/bench.py: New benchmark script.
38905         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
38906         * benchtests/README: Mention python dependency.
38907         * scripts/pylintrc: New file.
38908         * scripts/pylint: New file.
38910         * bits/mathdef.h: Use #ifdef instead of #if.
38911         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
38912         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38913         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
38914         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38915         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
38916         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
38918 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38919             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38921         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
38922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
38923         and strpbrk-ppc64 objects.
38924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38925         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
38926         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
38927         multiarch strpbrk for POWER7.
38928         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
38929         multiarch strpbrk for PPC64.
38930         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
38931         ifunc selector.
38932         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
38933         strpbrk for POWER7.
38935 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38937         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
38938         (atan_test): Likewise.
38939         (atanh_test_data): Use NO_TEST_INLINE for two tests.
38940         (atanh_test): Use ALL_RM_TEST.
38941         (atan2_test_data): Likewise.
38942         (cabs_test): Likewise.
38943         (cacosh_test): Likewise.
38944         (carg_test): Likewise.
38945         (casin_test): Likewise.
38946         (casinh_test): Likewise.
38947         (cbrt_test): Likewise.
38948         (csqrt_test): Likewise.
38949         (erf_test): Likewise.
38950         (erfc_test): Likewise.
38951         (pow10_test): Likewise.
38952         (exp2_test): Likewise.
38953         (hypot_test): Likewise.
38954         (j0_test): Likewise.
38955         (j1_test): Likewise.
38956         (lgamma_test): Likewise.
38957         (gamma_test): Likewise.
38958         (sincos_test): Likewise.
38959         (tanh_test): Likewise.
38960         (y0_test): Likewise.
38961         (y1_test): Likewise.
38962         * sysdeps/i386/fpu/libm-test-ulps: Update.
38963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38965 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38967         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
38968         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
38969         and strcspn-ppc64 objects.
38970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38971         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
38972         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
38973         multiarch strcspn for POWER7.
38974         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
38975         multiarch strcspn for PPC64.
38976         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
38977         ifunc selector.
38978         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
38979         strcspn for POWER7.
38981 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
38983         * math/gen-libm-test.pl (generate_testfile): Expect only function
38984         name as argument to AUTO_TESTS_* and pass results for all rounding
38985         modes to parse_args.
38986         (parse_auto_input): Separate inputs of automatic tests from
38987         outputs before storing in %auto_tests.
38988         * math/libm-test.inc (acos_test_data): Update call to
38989         AUTO_TESTS_f_f.
38990         (acos_test): Use ALL_RM_TEST.
38991         (acos_tonearest_test_data): Remove.
38992         (acos_test_tonearest): Likewise.
38993         (acos_towardzero_test_data): Likewise.
38994         (acos_test_towardzero): Likewise.
38995         (acos_downward_test_data): Likewise.
38996         (acos_test_downward): Likewise.
38997         (acos_upward_test_data): Likewise.
38998         (acos_test_upward): Likewise.
38999         (acosh_test_data): Update call to AUTO_TESTS_f_f.
39000         (asin_test_data): Likewise.
39001         (asin_test): Use ALL_RM_TEST.
39002         (asin_tonearest_test_data): Remove.
39003         (asin_test_tonearest): Likewise.
39004         (asin_towardzero_test_data): Likewise.
39005         (asin_test_towardzero): Likewise.
39006         (asin_downward_test_data): Likewise.
39007         (asin_test_downward): Likewise.
39008         (asin_upward_test_data): Likewise.
39009         (asin_test_upward): Likewise.
39010         (asinh_test_data): Update call to AUTO_TESTS_f_f.
39011         (atan_test_data): Likewise.
39012         (atanh_test_data): Likewise.
39013         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39014         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39015         (carg_test_data): Likewise.
39016         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39017         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39018         (ccosh_test_data): Likewise.
39019         (cexp_test_data): Likewise.
39020         (clog_test_data): Likewise.
39021         (clog10_test_data): Likewise.
39022         (cos_test_data): Update call to AUTO_TESTS_f_f.
39023         (cos_test): Use ALL_RM_TEST.
39024         (cos_tonearest_test_data): Remove.
39025         (cos_test_tonearest): Likewise.
39026         (cos_towardzero_test_data): Likewise.
39027         (cos_test_towardzero): Likewise.
39028         (cos_downward_test_data): Likewise.
39029         (cos_test_downward): Likewise.
39030         (cos_upward_test_data): Likewise.
39031         (cos_test_upward): Likewise.
39032         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39033         (cosh_test): Use ALL_RM_TEST.
39034         (cosh_tonearest_test_data): Remove.
39035         (cosh_test_tonearest): Likewise.
39036         (cosh_towardzero_test_data): Likewise.
39037         (cosh_test_towardzero): Likewise.
39038         (cosh_downward_test_data): Likewise.
39039         (cosh_test_downward): Likewise.
39040         (cosh_upward_test_data): Likewise.
39041         (cosh_test_upward): Likewise.
39042         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39043         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39044         (ctan_test_data): Likewise.
39045         (ctan_test): Use ALL_RM_TEST.
39046         (ctan_tonearest_test_data): Remove.
39047         (ctan_test_tonearest): Likewise.
39048         (ctan_towardzero_test_data): Likewise.
39049         (ctan_test_towardzero): Likewise.
39050         (ctan_downward_test_data): Likewise.
39051         (ctan_test_downward): Likewise.
39052         (ctan_upward_test_data): Likewise.
39053         (ctan_test_upward): Likewise.
39054         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39055         (ctanh_test): Use ALL_RM_TEST.
39056         (ctanh_tonearest_test_data): Remove.
39057         (ctanh_test_tonearest): Likewise.
39058         (ctanh_towardzero_test_data): Likewise.
39059         (ctanh_test_towardzero): Likewise.
39060         (ctanh_downward_test_data): Likewise.
39061         (ctanh_test_downward): Likewise.
39062         (ctanh_upward_test_data): Likewise.
39063         (ctanh_test_upward): Likewise.
39064         (erf_test_data): Update call to AUTO_TESTS_f_f.
39065         (erfc_test_data): Likewise.
39066         (exp_test_data): Likewise.
39067         (exp_test): Use ALL_RM_TEST.
39068         (exp_tonearest_test_data): Remove.
39069         (exp_test_tonearest): Likewise.
39070         (exp_towardzero_test_data): Likewise.
39071         (exp_test_towardzero): Likewise.
39072         (exp_downward_test_data): Likewise.
39073         (exp_test_downward): Likewise.
39074         (exp_upward_test_data): Likewise.
39075         (exp_test_upward): Likewise.
39076         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39077         (exp10_test): Use ALL_RM_TEST.
39078         (exp10_tonearest_test_data): Remove.
39079         (exp10_test_tonearest): Likewise.
39080         (exp10_towardzero_test_data): Likewise.
39081         (exp10_test_towardzero): Likewise.
39082         (exp10_downward_test_data): Likewise.
39083         (exp10_test_downward): Likewise.
39084         (exp10_upward_test_data): Likewise.
39085         (exp10_test_upward): Likewise.
39086         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39087         (expm1_test_data): Likewise.
39088         (expm1_test): Use ALL_RM_TEST.
39089         (expm1_tonearest_test_data): Remove.
39090         (expm1_test_tonearest): Likewise.
39091         (expm1_towardzero_test_data): Likewise.
39092         (expm1_test_towardzero): Likewise.
39093         (expm1_downward_test_data): Likewise.
39094         (expm1_test_downward): Likewise.
39095         (expm1_upward_test_data): Likewise.
39096         (expm1_test_upward): Likewise.
39097         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39098         (fma_test): Use ALL_RM_TEST.
39099         (fma_towardzero_test_data): Remove.
39100         (fma_test_towardzero): Likewise.
39101         (fma_downward_test_data): Likewise.
39102         (fma_test_downward): Likewise.
39103         (fma_upward_test_data): Likewise.
39104         (fma_test_upward): Likewise.
39105         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39106         (j0_test_data): Update call to AUTO_TESTS_f_f.
39107         (j1_test_data): Likewise.
39108         (jn_test_data): Update call to AUTO_TESTS_if_f.
39109         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39110         (log_test_data): Update call to AUTO_TESTS_f_f.
39111         (log10_test_data): Likewise.
39112         (log1p_test_data): Likewise.
39113         (log2_test_data): Likewise.
39114         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39115         (pow_tonearest_test_data): Likewise.
39116         (sin_test_data): Update call to AUTO_TESTS_f_f.
39117         (sin_test): Use ALL_RM_TEST.
39118         (sin_tonearest_test_data): Remove.
39119         (sin_test_tonearest): Likewise.
39120         (sin_towardzero_test_data): Likewise.
39121         (sin_test_towardzero): Likewise.
39122         (sin_downward_test_data): Likewise.
39123         (sin_test_downward): Likewise.
39124         (sin_upward_test_data): Likewise.
39125         (sin_test_upward): Likewise.
39126         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39127         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39128         (sinh_test): Use ALL_RM_TEST.
39129         (sinh_tonearest_test_data): Remove.
39130         (sinh_test_tonearest): Likewise.
39131         (sinh_towardzero_test_data): Likewise.
39132         (sinh_test_towardzero): Likewise.
39133         (sinh_downward_test_data): Likewise.
39134         (sinh_test_downward): Likewise.
39135         (sinh_upward_test_data): Likewise.
39136         (sinh_test_upward): Likewise.
39137         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39138         (sqrt_test): Use ALL_RM_TEST.
39139         (sqrt_tonearest_test_data): Remove.
39140         (sqrt_test_tonearest): Likewise.
39141         (sqrt_towardzero_test_data): Likewise.
39142         (sqrt_test_towardzero): Likewise.
39143         (sqrt_downward_test_data): Likewise.
39144         (sqrt_test_downward): Likewise.
39145         (sqrt_upward_test_data): Likewise.
39146         (sqrt_test_upward): Likewise.
39147         (tan_test_data): Update call to AUTO_TESTS_f_f.
39148         (tan_test): Use ALL_RM_TEST.
39149         (tan_tonearest_test_data): Remove.
39150         (tan_test_tonearest): Likewise.
39151         (tan_towardzero_test_data): Likewise.
39152         (tan_test_towardzero): Likewise.
39153         (tan_downward_test_data): Likewise.
39154         (tan_test_downward): Likewise.
39155         (tan_upward_test_data): Likewise.
39156         (tan_test_upward): Likewise.
39157         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39158         (tgamma_test_data): Likewise.
39159         (y0_test_data): Likewise.
39160         (y1_test_data): Likewise.
39161         (yn_test_data): Update call to AUTO_TESTS_if_f.
39162         (main): Do not call removed functions.
39164 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39166         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39167         (ldexp_test_data): Remove.
39168         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39169         scalbn_test_data.
39170         (scalb_test): Use ALL_RM_TEST.
39172 2014-03-19  Andreas Schwab  <schwab@suse.de>
39174         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39176 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39178         [BZ #16649]
39179         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39180         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39181         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39182         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39183         (__ASSUME_PREADV): Undefine.
39184         (__ASSUME_PWRITEV): Likewise.
39186 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39188         * bits/mman-linux.h: Add comment about non-Linux use.
39189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39190         bits/mman-linux.h resting place.
39192         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39193         * bits/mman-linux.h: ... here.
39195 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39197         * conform/conformtest.pl: Add standard definition when calling C
39198         preprocessor on data files.
39199         (checknamespace): Remove unused variable.
39201 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39203         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39204         minus_oflow, plus_uflow and minus_uflow in expected results.
39205         * math/libm-test.inc (scalbn_test_data): Add more tests of
39206         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39207         minus_uflow.
39208         (scalbn_test): Use ALL_RM_TEST.
39209         (scalbln_test_data): Add more tests of negative arguments.  Use
39210         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39211         (scalbln_test): Use ALL_RM_TEST.
39213 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39215         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39217 2014-03-18  Will Newton  <will.newton@linaro.org>
39219         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39220         inaccurate comment.
39222 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39224         * Makerules [!subdir] (check-abi): Exit with error status if a
39225         test failed.
39227 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39229         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39230         for rint.  Include results for all rounding modes.
39231         (nearbyint_test): Use ALL_RM_TEST.
39232         (rint_test_data): Include all tests used for nearbyint.
39234 2014-03-17  Will Newton  <will.newton@linaro.org>
39236         * nptl/sysdeps/pthread/pthread.h: Revert previous
39237         change.
39239         * sysdeps/generic/ldsodefs.h: Revert previous
39240         change.
39242         * libio/genops.c: Revert previous change.
39243         * libio/libioP.h: Likewise.
39244         * stdio-common/vfprintf.c: Likewise.
39246         * sysdeps/generic/math_private.h: Revert previous
39247         change.
39249         * sysdeps/generic/math_private.h: Check whether
39250         HAVE_RM_CTX is defined with #ifdef rather
39251         than #if.
39253         * argp/argp-fmtstream.h: Check whether
39254         __STRICT_ANSI__ is defined with #ifdef rather
39255         than #if.
39256         * argp/argp.h: Likewise.
39258         * libio/genops.c: Check whether
39259         _IO_JUMPS_OFFSET is defined with #ifdef rather
39260         than #if.
39261         * libio/libioP.h: Likewise.
39262         * stdio-common/vfprintf.c: Likewise.
39264         * sysdeps/generic/ldsodefs.h: Check whether
39265         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39266         than #if.
39268         * nptl/sysdeps/pthread/pthread.h: Check
39269         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39270         its value.
39272 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39274         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39275         setting O_APPEND.
39276         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39277         test case.
39279         [BZ #16680]
39280         * libio/fileops.c (_IO_file_open): Seek to end of file but
39281         don't cache the offset.
39282         (get_file_offset): Remove function.
39283         (do_ftell): Use cached offset when available.
39284         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39285         don't cache the offset.
39286         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39287         case.
39288         (do_one_test): Call it.
39289         (do_ftell_test): Fix up expected old offset for a+ mode.
39290         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39291         available.
39293         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39294         up test status with function return status.
39295         (do_write_test): Likewise.
39296         (do_append_test): Likewise.
39298         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39299         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39300         Remove.
39302 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39304         * math/gen-libm-test.pl (parse_args): Handle results specified for
39305         each rounding mode separately.
39306         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39307         tests and results from lrint_tonearest_test_data,
39308         lrint_towardzero_test_data, lrint_downward_test_data and
39309         lrint_upward_test_data.
39310         (lrint_test): Use ALL_RM_TEST.
39311         (lrint_tonearest_test_data): Remove.
39312         (lrint_test_tonearest): Likewise.
39313         (lrint_towardzero_test_data): Likewise.
39314         (lrint_test_towardzero): Likewise.
39315         (lrint_downward_test_data): Likewise.
39316         (lrint_test_downward): Likewise.
39317         (lrint_upward_test_data): Likewise.
39318         (lrint_test_upward): Likewise.
39319         (llrint_test_data): Merge in per-rounding-mode tests and results
39320         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39321         llrint_downward_test_data and llrint_upward_test_data.
39322         (llrint_test): Use ALL_RM_TEST.
39323         (llrint_tonearest_test_data): Remove.
39324         (llrint_test_tonearest): Likewise.
39325         (llrint_towardzero_test_data): Likewise.
39326         (llrint_test_towardzero): Likewise.
39327         (llrint_downward_test_data): Likewise.
39328         (llrint_test_downward): Likewise.
39329         (llrint_upward_test_data): Likewise.
39330         (llrint_test_upward): Likewise.
39331         (rint_test_data): Merge in per-rounding-mode tests and results
39332         from rint_tonearest_test_data, rint_towardzero_test_data,
39333         rint_downward_test_data and rint_upward_test_data.  Add
39334         per-rounding-mode results for tests not in those arrays.
39335         (rint_test): Use ALL_RM_TEST.
39336         (rint_tonearest_test_data): Remove.
39337         (rint_test_tonearest): Likewise.
39338         (rint_towardzero_test_data): Likewise.
39339         (rint_test_towardzero): Likewise.
39340         (rint_downward_test_data): Likewise.
39341         (rint_test_downward): Likewise.
39342         (rint_upward_test_data): Likewise.
39343         (rint_test_upward): Likewise.
39344         (main): Don't call removed functions.
39346 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39348         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39349         "Compiled on ..." crapola.  It is anti-useful.
39351 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39353         * scripts/evaluate-test.sh: Handle fourth argument to determine
39354         whether test run should stop on failure.
39355         * Makeconfig (stop-on-test-failure): New variable.
39356         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39357         $(stop-on-test-failure).
39358         * Makefile (tests): Give a summary of results from testing and
39359         exit with failure status if they include an ERROR or FAIL.
39360         (xtests): Likewise.
39361         * manual/install.texi (Configuring and compiling): Mention
39362         stop-on-test-failure=y.
39363         * INSTALL: Regenerated.
39365 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39367         * scripts/versionlist.awk: New file.
39368         * Makerules [$(build-shared) = yes]
39369         (postclean-generated): Add Versions.def, not Versions.def.v and
39370         Versions.def.v.i.
39371         ($(common-objpfx)Versions.def.v.i): Target removed.
39372         ($(common-objpfx)Versions.def): New target.
39373         ($(common-objpfx)Versions.all): Depend on that rather that
39374         $(common-objpfx)Versions.def.v.
39375         * Versions.def: File removed.
39377         * Makeconfig (+gccwarn): Add -Wundef.
39378         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39379         a dl-sysdep.h breaking its contract.
39380         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39381         * include/stackinfo.h: New file.
39382         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39383         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39384         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39385         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39386         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39387         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39388         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39389         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39390         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39391         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39392         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39393         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39394         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39395         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39396         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39398 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39400         [BZ #16707]
39401         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39402         implementation.
39403         * math/libm-test.inc (round_test_data): Add more tests.
39405         [BZ #16706]
39406         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39407         implementation.
39408         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39410         [BZ #16701]
39411         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39412         implementation.
39413         * math/libm-test.inc (ceil_test_data): Add more tests.
39415         * math/libm-test.inc (trunc_test_data): Add more tests related to
39416         BZ#16414.
39418 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39420         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39421         with #if rather than #ifdef.
39422         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39424 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39426         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39427         first.  Disable AVX-512 GCC support if assembler doesn't support
39428         it.
39429         * sysdeps/x86_64/configure: Regenerated.
39431 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39433         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39434         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39435         (__old_pthread_attr_setstack): Likewise.
39436         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39437         [!_STACK_GROWS_DOWN]: Likewise.
39439 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39441         * config.make.in (have-bash2): Delete.
39442         * configure.ac (libc_cv_have_bash2): Delete.
39443         * configure: Regenerate.
39444         * elf/Makefile (common-ldd-rewrite): Rename to ...
39445         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39446         (sh-ldd-rewrite): Delete.
39447         (bash-ldd-rewrite): Delete.
39448         (have-bash2): Delete checks.
39449         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39450         ldd-rewrite.
39452         * config.make.in (have-ksh): Delete.
39453         (KSH): Delete.
39454         * configure.ac (libc_cv_have_ksh): Delete.
39455         * configure: Regenerate.
39457         * elf/Makefile: Delete $(have-ksh) check.
39458         ($(objpfx)sotruss): Change KSH to BASH.
39459         * elf/sotruss.ksh: Rename to ...
39460         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39461         function style to match POSIX.  Drop ksh vim mode setting.
39463         * manual/time.texi (Specifying the Time Zone with TZ): Change
39464         Tuesday to Thursday.
39466         * debug/tst-longjmp_chk2.c: Update header comment.
39467         (stackoverflow_handler): Add comment.  Call assert on pass value.
39469 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39471         [BZ #16194]
39472         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39473         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39474         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39475         (La_x86_64_vector): Add zmm.
39476         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39477         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39478         ($(objpfx)tst-audit10): New target.
39479         ($(objpfx)tst-audit10.out): Likewise.
39480         (tst-audit10-ENV): New.
39481         (AVX512-CFLAGS): Likewise.
39482         (CFLAGS-tst-audit10.c): Likewise.
39483         (CFLAGS-tst-auditmod10a.c): Likewise.
39484         (CFLAGS-tst-auditmod10b.c): Likewise.
39485         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39486         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39487         * sysdeps/x86_64/configure: Regenerated.
39488         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39489         AVX-512 zmm register support.
39490         (_dl_x86_64_save_sse): Likewise.
39491         (_dl_x86_64_restore_sse): Likewise.
39492         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39493         size vector registers.
39494         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39495         (ZMM_SIZE): Likewise.
39496         * sysdeps/x86_64/tst-audit10.c: New file.
39497         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39498         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39500 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39502         * configure.ac (HAVE_EHDR_START): New check.
39503         * configure: Regenerated.
39504         * config.h.in (HAVE_EHDR_START): New #undef.
39505         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39506         assuming the lowest-addressed segment maps the start of the file.
39508 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39510         * INSTALL: Regenerated.
39512 2014-03-13  Will Newton  <will.newton@linaro.org>
39514         * manual/setjmp.texi (System V contexts): Improve
39515         clarity and grammar of documentation.
39517 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39519         [BZ #16381]
39520         * elf/Makefile (tests): Add tst-pie2.
39521         (tests-pie): Add tst-pie2.
39522         * elf/tst-pie2.c: New file.
39523         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39524         for ET_EXEC.
39525         * elf/rtld.c (map_doit): Load executable as lt_executable.
39526         (dl_main): Likewise.
39528 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39530         [BZ #16642]
39531         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39532         (__ASSUME_PSELECT): Undefine.
39534 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39536         [BZ #16689]
39537         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
39538         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
39539         static build.
39540         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
39541         selector for static builds.
39543 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39545         [BZ #16695]
39546         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
39547         key in the buffer.
39549 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39551         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
39552         IFUNC selector for static builds.
39554 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
39556         * sysdeps/mips/math_private.h [__mips_hard_float]
39557         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
39558         libc_feresetround_mips_ctx.
39559         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
39560         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
39561         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
39563         [BZ #16677]
39564         * math/s_nextafter.c (__nextafter): Do not return value from
39565         overflowing computation.
39566         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
39567         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
39568         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
39569         Likewise.
39570         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
39571         Likewise.
39572         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
39573         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
39575 2014-03-11  Roland McGrath  <roland@hack.frob.com>
39577         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
39578         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
39579         Move sfi_sp use from the load-multiple (that no longer sets sp) to
39580         the new mov targetting sp.
39582 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39584         [BZ #16683]
39585         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
39586         Define it for static builds as well.
39587         (NO_BZERO_IMPL): Likewise.
39589 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39591         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
39592         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
39593         multiarch strspn for PPC64.
39594         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
39595         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
39596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39597         (__libc_ifunc_impl_list): Likewise.
39598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
39599         multiarch optimizations
39600         * string/strspn.c (strspn): Using macro to redefine symbol name.
39602 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39603             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39605         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
39606         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
39607         multiarch strncat for PPC64.
39608         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
39609         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
39610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39611         (__libc_ifunc_impl_list): Likewise.
39612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
39613         multiarch optimizations
39615 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39617         [BZ #16639]
39618         * nscd/nscd.service: Make service type forking.
39620 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39622         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
39623         sign in non default rounding modes.
39624         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
39626 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
39628         * math/libm-test.inc (ALL_RM_TEST): New macro.
39629         (ceil_test): Use ALL_RM_TEST.
39630         (cimag_test): Likewise.
39631         (conj_test): Likewise.
39632         (copysign_test): Likewise.
39633         (cproj_test): Likewise.
39634         (creal_test): Likewise.
39635         (fabs_test): Likewise.
39636         (floor_test): Likewise.
39637         (fmax_test): Likewise.
39638         (fmin_test): Likewise.
39639         (fmod_test): Likewise.
39640         (fpclassify_test): Likewise.
39641         (frexp_test): Likewise.
39642         (ilogb_test): Likewise.
39643         (isfinite_test): Likewise.
39644         (finite_test): Likewise.
39645         (isgreater_test): Likewise.
39646         (isgreaterequal_test): Likewise.
39647         (isinf_test): Likewise.
39648         (isless_test): Likewise.
39649         (islessequal_test): Likewise.
39650         (islessgreater_test): Likewise.
39651         (isnan_test): Likewise.
39652         (isnormal_test): Likewise.
39653         (issignaling_test): Likewise.
39654         (isunordered_test): Likewise.
39655         (logb_test): Likewise.
39656         (logb_downward_test_data): Remove.
39657         (logb_test_downward): Likewise.
39658         (lround_test): Use ALL_RM_TEST.
39659         (llround_test): Likewise.
39660         (modf_test): Likewise.
39661         (nexttoward_test): Likewise.
39662         (remainder_test): Likewise.
39663         (drem_test): Likewise.
39664         (remainder_tonearest_test_data): Likewise.
39665         (remainder_test_tonearest): Likewise.
39666         (drem_test_tonearest): Likewise.
39667         (remainder_towardzero_test_data): Likewise.
39668         (remainder_test_towardzero): Likewise.
39669         (drem_test_towardzero): Likewise.
39670         (remainder_downward_test_data): Likewise.
39671         (remainder_test_downward): Likewise.
39672         (drem_test_downward): Likewise.
39673         (remainder_upward_test_data): Likewise.
39674         (remainder_test_upward): Likewise.
39675         (drem_test_upward): Likewise.
39676         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
39677         (round_test): Use ALL_RM_TEST.
39678         (signbit_test): Likewise.
39679         (trunc_test): Likewise.
39680         (significand_test): Likewise.
39681         (main): Don't call removed functions.
39683 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
39685         [BZ #16674]
39686         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
39687         || __USE_XOPEN2K8].
39688         (ILL_ILLOPN): Likewise.
39689         (ILL_ILLADR): Likewise.
39690         (ILL_ILLTRP): Likewise.
39691         (ILL_PRVOPC): Likewise.
39692         (ILL_PRVREG): Likewise.
39693         (ILL_COPROC): Likewise.
39694         (ILL_BADSTK): Likewise.
39695         (FPE_INTDIV): Likewise.
39696         (FPE_INTOVF): Likewise.
39697         (FPE_FLTDIV): Likewise.
39698         (FPE_FLTOVF): Likewise.
39699         (FPE_FLTUND): Likewise.
39700         (FPE_FLTRES): Likewise.
39701         (FPE_FLTINV): Likewise.
39702         (FPE_FLTSUB): Likewise.
39703         (SEGV_MAPERR): Likewise.
39704         (SEGV_ACCERR): Likewise.
39705         (BUS_ADRALN): Likewise.
39706         (BUS_ADRERR): Likewise.
39707         (BUS_OBJERR): Likewise.
39708         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39709         (TRAP_TRACE): Likewise.
39710         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39711         __USE_XOPEN2K8].
39712         (CLD_KILLED): Likewise.
39713         (CLD_DUMPED): Likewise.
39714         (CLD_TRAPPED): Likewise.
39715         (CLD_STOPPED): Likewise.
39716         (CLD_CONTINUED): Likewise.
39717         (POLL_IN): Likewise.
39718         (POLL_OUT): Likewise.
39719         (POLL_MSG): Likewise.
39720         (POLL_ERR): Likewise.
39721         (POLL_PRI): Likewise.
39722         (POLL_HUP): Likewise.
39723         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
39724         Likewise.
39725         (ILL_ILLOPN): Likewise.
39726         (ILL_ILLADR): Likewise.
39727         (ILL_ILLTRP): Likewise.
39728         (ILL_PRVOPC): Likewise.
39729         (ILL_PRVREG): Likewise.
39730         (ILL_COPROC): Likewise.
39731         (ILL_BADSTK): Likewise.
39732         (FPE_INTDIV): Likewise.
39733         (FPE_INTOVF): Likewise.
39734         (FPE_FLTDIV): Likewise.
39735         (FPE_FLTOVF): Likewise.
39736         (FPE_FLTUND): Likewise.
39737         (FPE_FLTRES): Likewise.
39738         (FPE_FLTINV): Likewise.
39739         (FPE_FLTSUB): Likewise.
39740         (SEGV_MAPERR): Likewise.
39741         (SEGV_ACCERR): Likewise.
39742         (BUS_ADRALN): Likewise.
39743         (BUS_ADRERR): Likewise.
39744         (BUS_OBJERR): Likewise.
39745         (BUS_MCEERR_AR): Likewise.
39746         (BUS_MCEERR_AO): Likewise.
39747         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39748         (TRAP_TRACE): Likewise.
39749         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39750         __USE_XOPEN2K8].
39751         (CLD_KILLED): Likewise.
39752         (CLD_DUMPED): Likewise.
39753         (CLD_TRAPPED): Likewise.
39754         (CLD_STOPPED): Likewise.
39755         (CLD_CONTINUED): Likewise.
39756         (POLL_IN): Likewise.
39757         (POLL_OUT): Likewise.
39758         (POLL_MSG): Likewise.
39759         (POLL_ERR): Likewise.
39760         (POLL_PRI): Likewise.
39761         (POLL_HUP): Likewise.
39762         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
39763         (ILL_ILLOPN): Likewise.
39764         (ILL_ILLADR): Likewise.
39765         (ILL_ILLTRP): Likewise.
39766         (ILL_PRVOPC): Likewise.
39767         (ILL_PRVREG): Likewise.
39768         (ILL_COPROC): Likewise.
39769         (ILL_BADSTK): Likewise.
39770         (FPE_INTDIV): Likewise.
39771         (FPE_INTOVF): Likewise.
39772         (FPE_FLTDIV): Likewise.
39773         (FPE_FLTOVF): Likewise.
39774         (FPE_FLTUND): Likewise.
39775         (FPE_FLTRES): Likewise.
39776         (FPE_FLTINV): Likewise.
39777         (FPE_FLTSUB): Likewise.
39778         (SEGV_MAPERR): Likewise.
39779         (SEGV_ACCERR): Likewise.
39780         (BUS_ADRALN): Likewise.
39781         (BUS_ADRERR): Likewise.
39782         (BUS_OBJERR): Likewise.
39783         (BUS_MCEERR_AR): Likewise.
39784         (BUS_MCEERR_AO): Likewise.
39785         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39786         (TRAP_TRACE): Likewise.
39787         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39788         __USE_XOPEN2K8].
39789         (CLD_KILLED): Likewise.
39790         (CLD_DUMPED): Likewise.
39791         (CLD_TRAPPED): Likewise.
39792         (CLD_STOPPED): Likewise.
39793         (CLD_CONTINUED): Likewise.
39794         (POLL_IN): Likewise.
39795         (POLL_OUT): Likewise.
39796         (POLL_MSG): Likewise.
39797         (POLL_ERR): Likewise.
39798         (POLL_PRI): Likewise.
39799         (POLL_HUP): Likewise.
39800         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
39801         Likewise.
39802         (ILL_ILLOPN): Likewise.
39803         (ILL_ILLADR): Likewise.
39804         (ILL_ILLTRP): Likewise.
39805         (ILL_PRVOPC): Likewise.
39806         (ILL_PRVREG): Likewise.
39807         (ILL_COPROC): Likewise.
39808         (ILL_BADSTK): Likewise.
39809         (ILL_BADIADDR): Likewise.
39810         (ILL_BREAK): Likewise.
39811         (FPE_INTDIV): Likewise.
39812         (FPE_INTOVF): Likewise.
39813         (FPE_FLTDIV): Likewise.
39814         (FPE_FLTOVF): Likewise.
39815         (FPE_FLTUND): Likewise.
39816         (FPE_FLTRES): Likewise.
39817         (FPE_FLTINV): Likewise.
39818         (FPE_FLTSUB): Likewise.
39819         (FPE_DECOVF): Likewise.
39820         (FPE_DECDIV): Likewise.
39821         (FPE_DECERR): Likewise.
39822         (FPE_INVASC): Likewise.
39823         (FPE_INVDEC): Likewise.
39824         (SEGV_MAPERR): Likewise.
39825         (SEGV_ACCERR): Likewise.
39826         (SEGV_PSTKOVF): Likewise.
39827         (BUS_ADRALN): Likewise.
39828         (BUS_ADRERR): Likewise.
39829         (BUS_OBJERR): Likewise.
39830         (BUS_MCEERR_AR): Likewise.
39831         (BUS_MCEERR_AO): Likewise.
39832         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39833         (TRAP_TRACE): Likewise.
39834         (TRAP_BRANCH): Likewise.
39835         (TRAP_HWBKPT): Likewise.
39836         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39837         __USE_XOPEN2K8].
39838         (CLD_KILLED): Likewise.
39839         (CLD_DUMPED): Likewise.
39840         (CLD_TRAPPED): Likewise.
39841         (CLD_STOPPED): Likewise.
39842         (CLD_CONTINUED): Likewise.
39843         (POLL_IN): Likewise.
39844         (POLL_OUT): Likewise.
39845         (POLL_MSG): Likewise.
39846         (POLL_ERR): Likewise.
39847         (POLL_PRI): Likewise.
39848         (POLL_HUP): Likewise.
39849         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
39850         (ILL_ILLOPN): Likewise.
39851         (ILL_ILLADR): Likewise.
39852         (ILL_ILLTRP): Likewise.
39853         (ILL_PRVOPC): Likewise.
39854         (ILL_PRVREG): Likewise.
39855         (ILL_COPROC): Likewise.
39856         (ILL_BADSTK): Likewise.
39857         (FPE_INTDIV): Likewise.
39858         (FPE_INTOVF): Likewise.
39859         (FPE_FLTDIV): Likewise.
39860         (FPE_FLTOVF): Likewise.
39861         (FPE_FLTUND): Likewise.
39862         (FPE_FLTRES): Likewise.
39863         (FPE_FLTINV): Likewise.
39864         (FPE_FLTSUB): Likewise.
39865         (SEGV_MAPERR): Likewise.
39866         (SEGV_ACCERR): Likewise.
39867         (BUS_ADRALN): Likewise.
39868         (BUS_ADRERR): Likewise.
39869         (BUS_OBJERR): Likewise.
39870         (BUS_MCEERR_AR): Likewise.
39871         (BUS_MCEERR_AO): Likewise.
39872         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39873         (TRAP_TRACE): Likewise.
39874         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39875         __USE_XOPEN2K8].
39876         (CLD_KILLED): Likewise.
39877         (CLD_DUMPED): Likewise.
39878         (CLD_TRAPPED): Likewise.
39879         (CLD_STOPPED): Likewise.
39880         (CLD_CONTINUED): Likewise.
39881         (POLL_IN): Likewise.
39882         (POLL_OUT): Likewise.
39883         (POLL_MSG): Likewise.
39884         (POLL_ERR): Likewise.
39885         (POLL_PRI): Likewise.
39886         (POLL_HUP): Likewise.
39887         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
39888         (ILL_ILLOPN): Likewise.
39889         (ILL_ILLADR): Likewise.
39890         (ILL_ILLTRP): Likewise.
39891         (ILL_PRVOPC): Likewise.
39892         (ILL_PRVREG): Likewise.
39893         (ILL_COPROC): Likewise.
39894         (ILL_BADSTK): Likewise.
39895         (FPE_INTDIV): Likewise.
39896         (FPE_INTOVF): Likewise.
39897         (FPE_FLTDIV): Likewise.
39898         (FPE_FLTOVF): Likewise.
39899         (FPE_FLTUND): Likewise.
39900         (FPE_FLTRES): Likewise.
39901         (FPE_FLTINV): Likewise.
39902         (FPE_FLTSUB): Likewise.
39903         (SEGV_MAPERR): Likewise.
39904         (SEGV_ACCERR): Likewise.
39905         (BUS_ADRALN): Likewise.
39906         (BUS_ADRERR): Likewise.
39907         (BUS_OBJERR): Likewise.
39908         (BUS_MCEERR_AR): Likewise.
39909         (BUS_MCEERR_AO): Likewise.
39910         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39911         (TRAP_TRACE): Likewise.
39912         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39913         __USE_XOPEN2K8].
39914         (CLD_KILLED): Likewise.
39915         (CLD_DUMPED): Likewise.
39916         (CLD_TRAPPED): Likewise.
39917         (CLD_STOPPED): Likewise.
39918         (CLD_CONTINUED): Likewise.
39919         (POLL_IN): Likewise.
39920         (POLL_OUT): Likewise.
39921         (POLL_MSG): Likewise.
39922         (POLL_ERR): Likewise.
39923         (POLL_PRI): Likewise.
39924         (POLL_HUP): Likewise.
39925         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
39926         (ILL_ILLOPN): Likewise.
39927         (ILL_ILLADR): Likewise.
39928         (ILL_ILLTRP): Likewise.
39929         (ILL_PRVOPC): Likewise.
39930         (ILL_PRVREG): Likewise.
39931         (ILL_COPROC): Likewise.
39932         (ILL_BADSTK): Likewise.
39933         (FPE_INTDIV): Likewise.
39934         (FPE_INTOVF): Likewise.
39935         (FPE_FLTDIV): Likewise.
39936         (FPE_FLTOVF): Likewise.
39937         (FPE_FLTUND): Likewise.
39938         (FPE_FLTRES): Likewise.
39939         (FPE_FLTINV): Likewise.
39940         (FPE_FLTSUB): Likewise.
39941         (SEGV_MAPERR): Likewise.
39942         (SEGV_ACCERR): Likewise.
39943         (BUS_ADRALN): Likewise.
39944         (BUS_ADRERR): Likewise.
39945         (BUS_OBJERR): Likewise.
39946         (BUS_MCEERR_AR): Likewise.
39947         (BUS_MCEERR_AO): Likewise.
39948         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39949         (TRAP_TRACE): Likewise.
39950         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39951         __USE_XOPEN2K8].
39952         (CLD_KILLED): Likewise.
39953         (CLD_DUMPED): Likewise.
39954         (CLD_TRAPPED): Likewise.
39955         (CLD_STOPPED): Likewise.
39956         (CLD_CONTINUED): Likewise.
39957         (POLL_IN): Likewise.
39958         (POLL_OUT): Likewise.
39959         (POLL_MSG): Likewise.
39960         (POLL_ERR): Likewise.
39961         (POLL_PRI): Likewise.
39962         (POLL_HUP): Likewise.
39963         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
39964         (ILL_ILLOPN): Likewise.
39965         (ILL_ILLADR): Likewise.
39966         (ILL_ILLTRP): Likewise.
39967         (ILL_PRVOPC): Likewise.
39968         (ILL_PRVREG): Likewise.
39969         (ILL_COPROC): Likewise.
39970         (ILL_BADSTK): Likewise.
39971         (ILL_DBLFLT): Likewise.
39972         (ILL_HARDWALL): Likewise.
39973         (FPE_INTDIV): Likewise.
39974         (FPE_INTOVF): Likewise.
39975         (FPE_FLTDIV): Likewise.
39976         (FPE_FLTOVF): Likewise.
39977         (FPE_FLTUND): Likewise.
39978         (FPE_FLTRES): Likewise.
39979         (FPE_FLTINV): Likewise.
39980         (FPE_FLTSUB): Likewise.
39981         (SEGV_MAPERR): Likewise.
39982         (SEGV_ACCERR): Likewise.
39983         (BUS_ADRALN): Likewise.
39984         (BUS_ADRERR): Likewise.
39985         (BUS_OBJERR): Likewise.
39986         (BUS_MCEERR_AR): Likewise.
39987         (BUS_MCEERR_AO): Likewise.
39988         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
39989         (TRAP_TRACE): Likewise.
39990         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
39991         __USE_XOPEN2K8].
39992         (CLD_KILLED): Likewise.
39993         (CLD_DUMPED): Likewise.
39994         (CLD_TRAPPED): Likewise.
39995         (CLD_STOPPED): Likewise.
39996         (CLD_CONTINUED): Likewise.
39997         (POLL_IN): Likewise.
39998         (POLL_OUT): Likewise.
39999         (POLL_MSG): Likewise.
40000         (POLL_ERR): Likewise.
40001         (POLL_PRI): Likewise.
40002         (POLL_HUP): Likewise.
40003         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
40004         (ILL_ILLOPN): Likewise.
40005         (ILL_ILLADR): Likewise.
40006         (ILL_ILLTRP): Likewise.
40007         (ILL_PRVOPC): Likewise.
40008         (ILL_PRVREG): Likewise.
40009         (ILL_COPROC): Likewise.
40010         (ILL_BADSTK): Likewise.
40011         (FPE_INTDIV): Likewise.
40012         (FPE_INTOVF): Likewise.
40013         (FPE_FLTDIV): Likewise.
40014         (FPE_FLTOVF): Likewise.
40015         (FPE_FLTUND): Likewise.
40016         (FPE_FLTRES): Likewise.
40017         (FPE_FLTINV): Likewise.
40018         (FPE_FLTSUB): Likewise.
40019         (SEGV_MAPERR): Likewise.
40020         (SEGV_ACCERR): Likewise.
40021         (BUS_ADRALN): Likewise.
40022         (BUS_ADRERR): Likewise.
40023         (BUS_OBJERR): Likewise.
40024         (BUS_MCEERR_AR): Likewise.
40025         (BUS_MCEERR_AO): Likewise.
40026         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40027         (TRAP_TRACE): Likewise.
40028         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40029         __USE_XOPEN2K8].
40030         (CLD_KILLED): Likewise.
40031         (CLD_DUMPED): Likewise.
40032         (CLD_TRAPPED): Likewise.
40033         (CLD_STOPPED): Likewise.
40034         (CLD_CONTINUED): Likewise.
40035         (POLL_IN): Likewise.
40036         (POLL_OUT): Likewise.
40037         (POLL_MSG): Likewise.
40038         (POLL_ERR): Likewise.
40039         (POLL_PRI): Likewise.
40040         (POLL_HUP): Likewise.
40041         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40042         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40044         [BZ #16670]
40045         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40046         before #include of <time.h>.
40047         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40048         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40049         (test-xfail-UNIX98/sched.h/conform): Likewise.
40051 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40053         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40054         error absence of trapping exception support.
40055         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40057 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40059         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40060         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40061         * timezone/Makefile (testdata): Move definition above include of
40062         Rules.
40063         (test-zones): New variable.
40064         (tests-special): Add zone files.
40065         (build-testdata): Use $(evaluate-test).
40067         * elf/Makefile (tests-special): Rename tests to end with .out.
40068         ($(objpfx)noload-mem): Likewise.
40069         ($(objpfx)tst-leaks1-mem): Likewise.
40070         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40071         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40072         $(objpfx)test-iconvconfig.out.
40073         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40074         set -e inside subshell and redirect output to file.
40075         * iconvdata/Makefile (generated): Rename tests to end with .out.
40076         Correct type.
40077         (tests-special): Rename tests to end with .out.
40078         ($(objpfx)mtrace-tst-loading): Likewise.
40079         * intl/Makefile (generated): Likewise.
40080         (tests-special): Likewise.
40081         ($(objpfx)mtrace-tst-gettext): Likewise.
40082         * misc/Makefile (generated): Likewise.
40083         (tests-special): Likewise.
40084         ($(objpfx)tst-error1-mem): Likewise.
40085         * nptl/Makefile (tests-special): Likewise.
40086         ($(objpfx)tst-stack3-mem): Likewise.
40087         (generated): Likewise.
40088         * posix/Makefile (generated): Likewise.
40089         (tests-special): Likewise.
40090         (xtests-special): Likewise.
40091         ($(objpfx)tst-fnmatch-mem): Likewise.
40092         ($(objpfx)bug-regex2-mem): Likewise.
40093         ($(objpfx)bug-regex14-mem): Likewise.
40094         ($(objpfx)bug-regex21-mem): Likewise.
40095         ($(objpfx)bug-regex31-mem): Likewise.
40096         ($(objpfx)tst-vfork3-mem): Likewise.
40097         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40098         ($(objpfx)tst-pcre-mem): Likewise.
40099         ($(objpfx)tst-boost-mem): Likewise.
40100         ($(objpfx)bug-ga2-mem): Likewise.
40101         ($(objpfx)bug-glob2-mem): Likewise.
40102         * resolv/Makefile (generate): Likewise.
40103         (tests-special): Likewise.
40104         (xtests-special): Likewise.
40105         (generated): Likewise.
40106         ($(objpfx)mtrace-tst-leaks): Likewise.
40107         ($(objpfx)mtrace-tst-leaks2): Likewise.
40109         * scripts/merge-test-results.sh: New file.
40110         * Makefile (tests-special-notdir): New variable.
40111         (tests): Run merge-test-results.sh.
40112         (xtests): Likewise.
40113         * Rules (tests-special-notdir): New variable.
40114         (xtests-special-notdir): Likewise.
40115         (tests): Run merge-test-results.sh
40116         (xtests): Likewise.
40118         * Makeconfig (test-xfail-name): New variable.
40119         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40120         compute variable name for expected failures.
40121         * conform/Makefile (conformtest-headers-data): New variable.
40122         (conformtest-standards): Likewise.
40123         (conformtest-headers-ISO): Likewise.
40124         (conformtest-headers-ISO99): Likewise.
40125         (conformtest-headers-ISO11): Likewise.
40126         (conformtest-headers-POSIX): Likewise.
40127         (conformtest-headers-XPG3): Likewise.
40128         (conformtest-headers-XPG4): Likewise.
40129         (conformtest-headers-UNIX98): Likewise.
40130         (conformtest-headers-XOPEN2K): Likewise.
40131         (conformtest-headers-POSIX2008): Likewise.
40132         (conformtest-headers-XOPEN2K8): Likewise.
40133         (conformtest-header-list-base): Likewise.
40134         (conformtest-header-list-tests): Likewise.
40135         (conformtest-header-base): Likewise.
40136         (conformtest-header-tests): Likewise.
40137         (tests-special): Add $(conformtest-header-list-tests).  If
40138         [$(fast-check) && !$(cross-compiling)], add
40139         $(conformtest-header-tests) instead of
40140         $(objpfx)run-conformtest.out.
40141         (generated): Add $(conformtest-header-list-base).  If
40142         [$(fast-check) && !$(cross-compiling)], add
40143         $(conformtest-header-base).  Remove previous setting.
40144         ($(conformtest-header-list-tests)): New target.
40145         (test-xfail-run-conformtest): Remove variable.
40146         ($(objpfx)run-conformtest.out): Remove target.
40147         (test-xfail-ISO11/complex.h/conform): New variable.
40148         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40149         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40150         (test-xfail-XPG3/varargs.h/conform): Likewise.
40151         (test-xfail-XPG4/varargs.h/conform): Likewise.
40152         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40153         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40154         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40155         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40156         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40157         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40158         (test-xfail-XPG3/ftw.h/conform): Likewise.
40159         (test-xfail-XPG3/grp.h/conform): Likewise.
40160         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40161         (test-xfail-XPG3/limits.h/conform): Likewise.
40162         (test-xfail-XPG3/pwd.h/conform): Likewise.
40163         (test-xfail-XPG3/search.h/conform): Likewise.
40164         (test-xfail-XPG3/signal.h/conform): Likewise.
40165         (test-xfail-XPG3/stdio.h/conform): Likewise.
40166         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40167         (test-xfail-XPG3/string.h/conform): Likewise.
40168         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40169         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40170         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40171         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40172         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40173         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40174         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40175         (test-xfail-XPG3/termios.h/conform): Likewise.
40176         (test-xfail-XPG3/time.h/conform): Likewise.
40177         (test-xfail-XPG3/unistd.h/conform): Likewise.
40178         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40179         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40180         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40181         (test-xfail-XPG4/netdb.h/conform): Likewise.
40182         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40183         (test-xfail-XPG4/signal.h/conform): Likewise.
40184         (test-xfail-XPG4/stdio.h/conform): Likewise.
40185         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40186         (test-xfail-XPG4/stropts.h/conform): Likewise.
40187         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40188         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40189         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40190         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40191         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40192         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40193         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40194         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40195         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40196         (test-xfail-XPG4/termios.h/conform): Likewise.
40197         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40198         (test-xfail-XPG4/unistd.h/conform): Likewise.
40199         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40200         (test-xfail-POSIX/sched.h/conform): Likewise.
40201         (test-xfail-POSIX/signal.h/conform): Likewise.
40202         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40203         (test-xfail-POSIX/tar.h/conform): Likewise.
40204         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40205         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40206         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40207         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40208         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40209         (test-xfail-UNIX98/sched.h/conform): Likewise.
40210         (test-xfail-UNIX98/signal.h/conform): Likewise.
40211         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40212         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40213         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40214         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40215         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40216         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40217         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40218         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40219         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40220         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40221         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40222         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40223         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40224         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40225         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40226         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40227         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40228         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40229         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40230         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40231         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40232         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40233         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40234         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40235         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40236         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40237         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40238         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40239         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40240         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40241         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40242         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40243         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40244         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40245         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40246         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40247         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40248         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40249         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40250         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40251         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40252         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40253         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40254         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40255         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40256         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40257         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40258         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40259         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40260         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40261         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40262         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40263         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40264         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40265         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40266         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40267         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40268         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40269         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40270         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40271         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40272         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40273         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40274         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40275         (conformtest-cc-flags): Likewise.
40276         ($(conformtest-header-tests): New target.
40277         * conform/check-header-lists.sh: New file.
40278         * conform/run-conformtest.sh: Remove.
40280         * conform/conformtest.pl: Allow ' and \ in values given for
40281         constants.
40282         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40283         inclusion.
40284         [POSIX] (sys/types.h): Likewise.
40285         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40286         inclusion.
40287         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40288         inclusion.
40289         * conform/data/signal.h-data (SIGIO): Remove expectation.
40290         [XPG3] (SIGBUS): Do not expect.
40291         [POSIX || XPG3] (SIGPOLL): Likewise.
40292         [POSIX || XPG3] (SIGPROF): Likewise.
40293         [POSIX || XPG3] (SIGSYS): Likewise.
40294         [XPG3] (SIGTRAP): Likewise.
40295         [POSIX || XPG3] (SIGURG): Likewise.
40296         [POSIX || XPG3] (SIGVTALRM): Likewise.
40297         [POSIX || XPG3] (SIGXCPU): Likewise.
40298         [POSIX || XPG3] (SIGXFSZ): Likewise.
40299         [POSIX] (SA_SIGINFO): Expect.
40300         [XPG3] (siginfo_t): Do not expect type or contents.
40301         [POSIX] (si_pid): Do not expect element.
40302         [POSIX] (si_uid): Likewise.
40303         [POSIX] (si_addr): Likewise.
40304         [POSIX] (si_status): Likewise.
40305         [POSIX] (si_band): Likewise.
40306         [XPG4] (si_value): Likewise.
40307         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40308         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40309         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40310         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40311         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40312         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40313         [POSIX || XPG3] (ILL_COPROC): Likewise.
40314         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40315         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40316         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40317         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40318         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40319         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40320         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40321         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40322         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40323         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40324         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40325         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40326         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40327         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40328         [POSIX || XPG3] (CLD_EXITED): Likewise.
40329         [POSIX || XPG3] (CLD_KILLED): Likewise.
40330         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40331         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40332         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40333         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40334         [POSIX || XPG3] (POLL_IN): Likewise.
40335         [POSIX || XPG3] (POLL_OUT): Likewise.
40336         [POSIX || XPG3] (POLL_MSG): Likewise.
40337         [POSIX || XPG3] (POLL_ERR): Likewise.
40338         [POSIX || XPG3] (POLL_PRI): Likewise.
40339         [POSIX || XPG3] (POLL_HUP): Likewise.
40340         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40341         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40342         (SIG*): Do not allow.
40343         [XPG3] (si_*): Likewise.
40344         [XPG3] (SI_*): Likewise.
40345         [XPG3 || XPG4] (sigev_*): Likewise.
40346         [XPG3 || XPG4] (SIGEV_*): Likewise.
40347         [XPG3 || XPG4] (sival_*): Likewise.
40348         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40349         [POSIX || XPG3] (BUS_*): Likewise.
40350         [POSIX || XPG3] (CLD_*): Likewise.
40351         [POSIX || XPG3] (FPE_*): Likewise.
40352         [POSIX || XPG3] (ILL_*): Likewise.
40353         [POSIX || XPG3] (POLL_*): Likewise.
40354         [POSIX || XPG3] (SEGV_*): Likewise.
40355         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40356         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40357         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40358         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40359         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40360         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40361         Specify type and value.
40362         (TVERSLEN): Likewise.
40363         (REGTYPE): Likewise.
40364         (AREGTYPE): Likewise.
40365         (LNKTYPE): Likewise.
40366         (SYMTYPE): Likewise.
40367         (CHRTYPE): Likewise.
40368         (BLKTYPE): Likewise.
40369         (DIRTYPE): Likewise.
40370         (FIFOTYPE): Likewise.
40371         (CONTTYPE): Likewise.
40372         (TSUID): Likewise.
40373         (TSGID): Likewise.
40374         (TSVTX): Likewise.
40375         (TUREAD): Likewise.
40376         (TUWRITE): Likewise.
40377         (TUEXEC): Likewise.
40378         (TGREAD): Likewise.
40379         (TGWRITE): Likewise.
40380         (TGEXEC): Likewise.
40381         (TOREAD): Likewise.
40382         (TOWRITE): Likewise.
40383         (TOEXEC): Likewise.
40384         [POSIX] (TSVTX): Expect constant.
40386 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40388         * Makefile (tests): Change dependencies to ....
40389         (tests-special): ... additions to this variable.
40390         (tests): Depend on $(tests-special).
40391         * Makerules (check-abi-list): New variable.
40392         (check-abi): Depend on $(check-abi-list).
40393         [$(subdir) = elf] (tests-special): Add
40394         $(objpfx)check-abi-libc.out.
40395         [$(build-shared) = yes && subdir] (tests-special): Add
40396         $(check-abi-list).
40397         [$(build-shared) = yes && subdir] (tests): Do not depend on
40398         check-abi.
40399         * Rules (tests): Depend on $(tests-special).
40400         (xtests): Depend on $(xtests-special).
40401         * catgets/Makefile (tests): Change dependencies to ....
40402         (tests-special): ... additions to this variable.
40403         * conform/Makefile (tests): Change dependencies to ....
40404         (tests-special): ... additions to this variable.
40405         * elf/Makefile (tests): Change dependencies to ....
40406         (tests-special): ... additions to this variable.
40407         * grp/Makefile (tests): Change dependencies to ....
40408         (tests-special): ... additions to this variable.
40409         * iconv/Makefile (xtests): Change dependencies to ....
40410         (xtests-special): ... additions to this variable.
40411         * iconvdata/Makefile (tests): Change dependencies to ....
40412         (tests-special): ... additions to this variable.
40413         * intl/Makefile (tests): Change dependencies to ....
40414         (tests-special): ... additions to this variable.  Also add
40415         $(objpfx)tst-gettext.out.
40416         * io/Makefile (tests): Change dependencies to ....
40417         (tests-special): ... additions to this variable.
40418         * libio/Makefile (tests): Change dependencies to ....
40419         (tests-special): ... additions to this variable.
40420         * malloc/Makefile (tests): Change dependencies to ....
40421         (tests-special): ... additions to this variable.
40422         * misc/Makefile (tests): Change dependencies to ....
40423         (tests-special): ... additions to this variable.
40424         * nptl/Makefile (tests): Change dependencies to ....
40425         (tests-special): ... additions to this variable.
40426         * nptl_db/Makefile (tests): Change dependencies to ....
40427         (tests-special): ... additions to this variable.
40428         * posix/Makefile (tests): Change dependencies to ....
40429         (tests-special): ... additions to this variable.
40430         (xtests): Change dependencies to ....
40431         (xtests-special): ... additions to this variable.
40432         * resolv/Makefile (tests): Change dependencies to ....
40433         (tests-special): ... additions to this variable.
40434         (xtests): Change dependencies to ....
40435         (xtests-special): ... additions to this variable.
40436         * stdio-common/Makefile (tests): Change dependencies to ....
40437         (tests-special): ... additions to this variable.
40438         (do-tst-unbputc): Remove target.
40439         (do-tst-printf): Likewise.
40440         * stdlib/Makefile (tests): Change dependencies to ....
40441         (tests-special): ... additions to this variable.
40442         * string/Makefile (tests): Change dependencies to ....
40443         (tests-special): ... additions to this variable.
40444         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40445         (tests-special): ... additions to this variable.
40447         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40448         whole file.
40449         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40450         whole file.
40451         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40452         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40454         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40455         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40456         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40457         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40458         * conform/data/libgen.h-data [XPG3]: Likewise.
40459         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40460         * conform/data/ndbm.h-data [XPG3]: Likewise.
40461         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40462         * conform/data/netdb.h-data [XPG3]: Likewise.
40463         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40464         * conform/data/poll.h-data [XPG3]: Likewise.
40465         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40466         * conform/data/strings.h-data [XPG3]: Likewise.
40467         * conform/data/stropts.h-data [XPG3]: Likewise.
40468         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40469         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40470         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40471         Likewise.
40472         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40473         * conform/data/sys/time.h-data [XPG3]: Likewise.
40474         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40475         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40476         * conform/data/sys/un.h-data [XPG3]: Likewise.
40477         * conform/data/syslog.h-data [XPG3]: Likewise.
40478         * conform/data/ucontext.h-data [XPG3]: Likewise.
40479         * conform/data/utmpx.h-data [XPG3]: Likewise.
40480         * conform/data/varargs.h-data [UNIX98]: Enable file.
40482         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40484         * math/libm-test.inc (struct test_f_f_data): Move expected results
40485         into structure for each rounding mode.
40486         (struct test_ff_f_data): Likewise.
40487         (struct test_ff_f_data_nexttoward): Likewise.
40488         (struct test_fi_f_data): Likewise.
40489         (struct test_fl_f_data): Likewise.
40490         (struct test_if_f_data): Likewise.
40491         (struct test_fff_f_data): Likewise.
40492         (struct test_c_f_data): Likewise.
40493         (struct test_f_f1_data): Likewise.
40494         (struct test_fF_f1_data): Likewise.
40495         (struct test_ffI_f1_data): Likewise.
40496         (struct test_c_c_data): Likewise.
40497         (struct test_cc_c_data): Likewise.
40498         (struct test_f_i_data): Likewise.
40499         (struct test_ff_i_data): Likewise.
40500         (struct test_f_l_data): Likewise.
40501         (struct test_f_L_data): Likewise.
40502         (struct test_fFF_11_data): Likewise.
40503         (RM_): New macro.
40504         (RM_FE_DOWNWARD): Likewise.
40505         (RM_FE_TONEAREST): Likewise.
40506         (RM_FE_TOWARDZERO): Likewise.
40507         (RM_FE_UPWARD): Likewise.
40508         (RUN_TEST_LOOP_f_f): Update references to expected results.
40509         (RUN_TEST_LOOP_2_f): Likewise.
40510         (RUN_TEST_LOOP_fff_f): Likewise.
40511         (RUN_TEST_LOOP_c_f): Likewise.
40512         (RUN_TEST_LOOP_f_f1): Likewise.
40513         (RUN_TEST_LOOP_fF_f1): Likewise.
40514         (RUN_TEST_LOOP_fI_f1): Likewise.
40515         (RUN_TEST_LOOP_ffI_f1): Likewise.
40516         (RUN_TEST_LOOP_c_c): Likewise.
40517         (RUN_TEST_LOOP_cc_c): Likewise.
40518         (RUN_TEST_LOOP_f_i): Likewise.
40519         (RUN_TEST_LOOP_f_i_tg): Likewise.
40520         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40521         (RUN_TEST_LOOP_f_b): Likewise.
40522         (RUN_TEST_LOOP_f_b_tg): Likewise.
40523         (RUN_TEST_LOOP_f_l): Likewise.
40524         (RUN_TEST_LOOP_f_L): Likewise.
40525         (RUN_TEST_LOOP_fFF_11): Likewise.
40526         * math/gen-libm-test.pl (parse_args): Output four copies of
40527         expected results for each test.
40529         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40530         (__ASSUME_UTIMES): Remove.
40531         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40532         (__ASSUME_UTIMES): Likewise.
40534         * math/gen-auto-libm-tests.c: Update comment on output format.
40535         (output_for_one_input_case): Generate before-rounding and
40536         after-rounding information as conditions on output flags not
40537         floating-point format.
40538         * math/auto-libm-test-out: Regenerated.
40539         * math/gen-libm-test.pl (cond_value): New function.
40540         (or_cond_value): Use cond_value.
40541         (generate_testfile): Handle conditional exceptions.
40543 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
40545         * math/libm-test.inc (max_valid_error): New variable.
40546         (init_max_error): Take new argument specifying whether function
40547         results are exactly determined.  Set max_valid_error and bound
40548         other variables for errors based on this argument.
40549         (set_max_error): Do not record results above max_valid_error.
40550         (check_float_internal): Only accept errors of up to 0.5ulps if
40551         also at most max_valid_error.
40552         (START): Take new argument EXACT and pass it to init_max_error.
40553         (acos_test): Update call to START.
40554         (acos_test_tonearest): Likewise.
40555         (acos_test_towardzero): Likewise.
40556         (acos_test_downward): Likewise.
40557         (acos_test_upward): Likewise.
40558         (acosh_test): Likewise.
40559         (asin_test): Likewise.
40560         (asin_test_tonearest): Likewise.
40561         (asin_test_towardzero): Likewise.
40562         (asin_test_downward): Likewise.
40563         (asin_test_upward): Likewise.
40564         (asinh_test): Likewise.
40565         (atan_test): Likewise.
40566         (atanh_test): Likewise.
40567         (atan2_test): Likewise.
40568         (cabs_test): Likewise.
40569         (cacos_test): Likewise.
40570         (cacosh_test): Likewise.
40571         (carg_test): Likewise.
40572         (casin_test): Likewise.
40573         (casinh_test): Likewise.
40574         (catan_test): Likewise.
40575         (catanh_test): Likewise.
40576         (cbrt_test): Likewise.
40577         (ccos_test): Likewise.
40578         (ccosh_test): Likewise.
40579         (ceil_test): Likewise.
40580         (cexp_test): Likewise.
40581         (cimag_test): Likewise.
40582         (clog_test): Likewise.
40583         (clog10_test): Likewise.
40584         (conj_test): Likewise.
40585         (copysign_test): Likewise.
40586         (cos_test): Likewise.
40587         (cos_test_tonearest): Likewise.
40588         (cos_test_towardzero): Likewise.
40589         (cos_test_downward): Likewise.
40590         (cos_test_upward): Likewise.
40591         (cosh_test): Likewise.
40592         (cosh_test_tonearest): Likewise.
40593         (cosh_test_towardzero): Likewise.
40594         (cosh_test_downward): Likewise.
40595         (cosh_test_upward): Likewise.
40596         (cpow_test): Likewise.
40597         (cproj_test): Likewise.
40598         (creal_test): Likewise.
40599         (csin_test): Likewise.
40600         (csinh_test): Likewise.
40601         (csqrt_test): Likewise.
40602         (ctan_test): Likewise.
40603         (ctan_test_tonearest): Likewise.
40604         (ctan_test_towardzero): Likewise.
40605         (ctan_test_downward): Likewise.
40606         (ctan_test_upward): Likewise.
40607         (ctanh_test): Likewise.
40608         (ctanh_test_tonearest): Likewise.
40609         (ctanh_test_towardzero): Likewise.
40610         (ctanh_test_downward): Likewise.
40611         (ctanh_test_upward): Likewise.
40612         (erf_test): Likewise.
40613         (erfc_test): Likewise.
40614         (exp_test): Likewise.
40615         (exp_test_tonearest): Likewise.
40616         (exp_test_towardzero): Likewise.
40617         (exp_test_downward): Likewise.
40618         (exp_test_upward): Likewise.
40619         (exp10_test): Likewise.
40620         (exp10_test_tonearest): Likewise.
40621         (exp10_test_towardzero): Likewise.
40622         (exp10_test_downward): Likewise.
40623         (exp10_test_upward): Likewise.
40624         (pow10_test): Likewise.
40625         (exp2_test): Likewise.
40626         (expm1_test): Likewise.
40627         (expm1_test_tonearest): Likewise.
40628         (expm1_test_towardzero): Likewise.
40629         (expm1_test_downward): Likewise.
40630         (expm1_test_upward): Likewise.
40631         (fabs_test): Likewise.
40632         (fdim_test): Likewise.
40633         (floor_test): Likewise.
40634         (fma_test): Likewise.
40635         (fma_test_towardzero): Likewise.
40636         (fma_test_downward): Likewise.
40637         (fma_test_upward): Likewise.
40638         (fmax_test): Likewise.
40639         (fmin_test): Likewise.
40640         (fmod_test): Likewise.
40641         (fpclassify_test): Likewise.
40642         (frexp_test): Likewise.
40643         (hypot_test): Likewise.
40644         (ilogb_test): Likewise.
40645         (isfinite_test): Likewise.
40646         (finite_test): Likewise.
40647         (isgreater_test): Likewise.
40648         (isgreaterequal_test): Likewise.
40649         (isinf_test): Likewise.
40650         (isless_test): Likewise.
40651         (islessequal_test): Likewise.
40652         (islessgreater_test): Likewise.
40653         (isnan_test): Likewise.
40654         (isnormal_test): Likewise.
40655         (issignaling_test): Likewise.
40656         (isunordered_test): Likewise.
40657         (j0_test): Likewise.
40658         (j1_test): Likewise.
40659         (jn_test): Likewise.
40660         (ldexp_test): Likewise.
40661         (lgamma_test): Likewise.
40662         (gamma_test): Likewise.
40663         (lrint_test): Likewise.
40664         (lrint_test_tonearest): Likewise.
40665         (lrint_test_towardzero): Likewise.
40666         (lrint_test_downward): Likewise.
40667         (lrint_test_upward): Likewise.
40668         (llrint_test): Likewise.
40669         (llrint_test_tonearest): Likewise.
40670         (llrint_test_towardzero): Likewise.
40671         (llrint_test_downward): Likewise.
40672         (llrint_test_upward): Likewise.
40673         (log_test): Likewise.
40674         (log10_test): Likewise.
40675         (log1p_test): Likewise.
40676         (log2_test): Likewise.
40677         (logb_test): Likewise.
40678         (logb_test_downward): Likewise.
40679         (lround_test): Likewise.
40680         (llround_test): Likewise.
40681         (modf_test): Likewise.
40682         (nearbyint_test): Likewise.
40683         (nextafter_test): Likewise.
40684         (nexttoward_test): Likewise.
40685         (pow_test): Likewise.
40686         (pow_test_tonearest): Likewise.
40687         (pow_test_towardzero): Likewise.
40688         (pow_test_downward): Likewise.
40689         (pow_test_upward): Likewise.
40690         (remainder_test): Likewise.
40691         (drem_test): Likewise.
40692         (remainder_test_tonearest): Likewise.
40693         (drem_test_tonearest): Likewise.
40694         (remainder_test_towardzero): Likewise.
40695         (drem_test_towardzero): Likewise.
40696         (remainder_test_downward): Likewise.
40697         (drem_test_downward): Likewise.
40698         (remainder_test_upward): Likewise.
40699         (drem_test_upward): Likewise.
40700         (remquo_test): Likewise.
40701         (rint_test): Likewise.
40702         (rint_test_tonearest): Likewise.
40703         (rint_test_towardzero): Likewise.
40704         (rint_test_downward): Likewise.
40705         (rint_test_upward): Likewise.
40706         (round_test): Likewise.
40707         (scalb_test): Likewise.
40708         (scalbn_test): Likewise.
40709         (scalbln_test): Likewise.
40710         (signbit_test): Likewise.
40711         (sin_test): Likewise.
40712         (sin_test_tonearest): Likewise.
40713         (sin_test_towardzero): Likewise.
40714         (sin_test_downward): Likewise.
40715         (sin_test_upward): Likewise.
40716         (sincos_test): Likewise.
40717         (sinh_test): Likewise.
40718         (sinh_test_tonearest): Likewise.
40719         (sinh_test_towardzero): Likewise.
40720         (sinh_test_downward): Likewise.
40721         (sinh_test_upward): Likewise.
40722         (sqrt_test): Likewise.
40723         (sqrt_test_tonearest): Likewise.
40724         (sqrt_test_towardzero): Likewise.
40725         (sqrt_test_downward): Likewise.
40726         (sqrt_test_upward): Likewise.
40727         (tan_test): Likewise.
40728         (tan_test_tonearest): Likewise.
40729         (tan_test_towardzero): Likewise.
40730         (tan_test_downward): Likewise.
40731         (tan_test_upward): Likewise.
40732         (tanh_test): Likewise.
40733         (tgamma_test): Likewise.
40734         (trunc_test): Likewise.
40735         (y0_test): Likewise.
40736         (y1_test): Likewise.
40737         (yn_test): Likewise.
40738         (significand_test): Likewise.
40740         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
40741         individual tests in comment.
40742         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
40743         (prev_max_error): New variable.
40744         (prev_real_max_error): Likewise.
40745         (prev_imag_max_error): Likewise.
40746         (compare_ulp_data): Don't refer to test names in comment.
40747         (find_test_ulps): Remove function.
40748         (find_function_ulps): Likewise.
40749         (find_complex_function_ulps): Likewise.
40750         (init_max_error): Take function name as argument.  Look up ulps
40751         for that function.
40752         (print_ulps): Remove function.
40753         (print_max_error): Use prev_max_error instead of calling
40754         find_function_ulps.
40755         (print_complex_max_error): Use prev_real_max_error and
40756         prev_imag_max_error instead of calling find_complex_function_ulps.
40757         (check_float_internal): Take max_ulp parameter instead of calling
40758         find_test_ulps.  Don't call print_ulps.
40759         (check_float): Update call to check_float_internal.
40760         (check_complex): Update calls to check_float_internal.
40761         (START): Pass argument to init_max_error.
40762         * math/gen-libm-test.pl (%results): Don't include "kind"
40763         information.
40764         (parse_ulps): Don't handle ulps of individual tests.
40765         (print_ulps_file): Likewise.
40766         (output_ulps): Likewise.
40767         * math/README.libm-test: Update.
40768         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
40769         individual tests.
40770         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
40771         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
40772         * sysdeps/arm/libm-test-ulps: Likewise.
40773         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
40774         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
40775         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
40776         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
40777         * sysdeps/microblaze/libm-test-ulps: Likewise.
40778         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
40779         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40780         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40781         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
40782         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40783         * sysdeps/sh/libm-test-ulps: Likewise.
40784         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40785         * sysdeps/tile/libm-test-ulps: Likewise.
40786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40788 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
40790         * math/libm-test.inc (print_complex_max_error): Check separately
40791         whether real and imaginary errors are within allowed range and
40792         pass 0 to print_complex_function_ulps instead of value within
40793         allowed range.
40795 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40797         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
40798         formatting.
40799         (get_handles_fopen): Likewise.
40800         (do_write_test): Likewise.
40802         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
40804         * libio/fileops.c (do_ftell): Use cached offset when
40805         available.
40806         * libio/iofwide.c (do_ftell_wide): Likewise.
40807         * libio/iofdopen.c (_IO_new_fdopen): Don't use
40808         _IO_file_attach.
40809         * libio/wfileops.c (_IO_fwide): Don't cache offset.
40811         [BZ #16532]
40812         * libio/libioP.h (get_file_offset): New function.
40813         * libio/fileops.c (get_file_offset): Likewise.
40814         (do_ftell): Likewise.
40815         (_IO_new_file_seekoff): Split out ftell logic.
40816         * libio/wfileops.c (do_ftell_wide): Likewise.
40817         (_IO_wfile_seekoff): Split out ftell logic.
40818         * libio/tst-ftell-active-handler.c: New test case.
40819         * libio/Makefile (tests): Add it.
40821 2014-03-03  Roland McGrath  <roland@hack.frob.com>
40823         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
40824         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
40826 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
40828         [BZ #16639]
40829         * nscd/connections.c (nscd_init): Call do_exit.
40830         (start_threads): Call do_exit and notify_parent.
40831         (begin_drop_privileges): Call do_exit.
40832         (finish_drop_privileges): Likewise.
40833         * nscd/selinux.c (preserve_capabilities): Likewise.
40834         (install_real_capabilities): Likewise.
40835         (nscd_selinux_enabled): Likewise.
40836         (avc_create_thread): Likewise.
40837         (avc_alloc_lock): Likewise.
40838         (nscd_avc_init): Likewise.
40839         * nscd/nscd.c (parent_fd): New static variable.
40840         (main): Create a pipe between parent and child processes.
40841         Skip closing parent_fd.
40842         (monitor_child): New function.
40843         (do_exit): Likewise.
40844         (notify_parent): Likewise.
40845         * nscd/nscd.h (notify_parent): Likewise.
40846         (do_exit): Likewise.
40848 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
40850         * malloc/malloc.c (__libc_calloc): Revert last change.
40852 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40856 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40858         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
40859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
40860         implementation.
40861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40862         (__libc_ifunc_impl_list): Likewise.
40863         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
40864         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
40865         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
40866         * string/strrchr.c: Define STRRCHR.
40868 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
40870         * benchtest/bench-strtok.c (simple_strtok): Delete.
40871         (strtok_string): Use as benchmark.
40872         * string/strtok (STRTOK): New macro.
40874 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
40876         * manual/threads.texi: Add header and standard comments to all
40877         functions.
40879         * elf/dl-lookup.c (check_match): New function.
40880         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
40881         (do_lookup_x): Remove nested function check_match. Use non-nested
40882         function check_match.
40884 2014-02-28  Roland McGrath  <roland@hack.frob.com>
40886         * csu/Makefile (generated, before-compile): Use += rather than =.
40887         * catgets/Makefile (generated, generated-dirs): Likewise.
40888         * debug/Makefile (generated): Likewise.
40889         * dlfcn/Makefile (generated): Likewise.
40890         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
40891         * iconvdata/Makefile (before-compile, generated): Likewise.
40892         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
40893         * libio/Makefile (generated): Likewise.
40894         * malloc/Makefile (generated): Likewise.
40895         * manual/Makefile (generated, generated-dirs): Likewise.
40896         * misc/Makefile (generated): Likewise.
40897         * posix/Makefile (generated): Likewise.
40898         * resolv/Makefile (generated): Likewise.
40899         * sunrpc/Makefile (generated, generated-dirs): Likewise.
40900         * timezone/Makefile (generated, generated-dirs): Likewise.
40902         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
40904 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40906         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
40907         power8 implementation.
40908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
40909         file: POWER8 llround ifunc implementation.
40910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
40911         (__lllround): Add POWER8 implementation.
40912         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
40913         POWER8 llround implementation.
40915         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
40916         power8 implementation.
40917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
40918         file: POWER8 llrint ifunc implementation.
40919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
40920         Add POWER8 implementation.
40921         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
40922         POWER8 llrint implementation.
40924         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
40925         power8 implementation.
40926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
40927         file: POWER8 finite ifunc implementation.
40928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
40929         Add POWER8 implementation.
40930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
40931         Likewise.
40932         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
40933         POWER8 finite implementation.
40934         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
40936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
40937         power8 implementation.
40938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
40939         file: POWER8 isinf ifunc implementation.
40940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
40941         POWER8 implementation.
40942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
40943         Likewise.
40944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
40945         isinf implementation.
40946         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
40948         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
40949         (INIT_ARCH): Add hwcap2 initialization.
40950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
40951         power8 implementation.
40952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
40953         file: POWER8 isnan ifunc implementation.
40954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
40955         POWER8 implementation.
40956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
40957         Likewise.
40958         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
40959         isnan implementation.
40960         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
40962 2014-02-27  Joey Ye  <joey.ye@arm.com>
40964         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40965         (_FP_NANFRAC_Q): Set to zero.
40967 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40969         [BZ #16623]
40970         * math/auto-libm-test-in: New test inputs.
40971         * math/auto-libm-test-out: Regenerate.
40972         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
40973         and DA.
40974         (__cos): Likewise.
40975         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
40977 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
40979         * scripts/evaluate-test.sh: Take new argument indicating whether
40980         failure is expected.
40981         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
40982         indicating whether failure is expected.
40983         * conform/Makefile (test-xfail-run-conformtest): New variable.
40984         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
40985         level.
40986         * posix/Makefile (test-xfail-annexc): New variable.
40987         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
40989 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
40991         * argp/Makefile: Include Makeconfig immediately after defining
40992         subdir.
40993         * assert/Makefile: Likewise.
40994         * benchtests/Makefile: Likewise.
40995         * catgets/Makefile: Likewise.
40996         * conform/Makefile: Likewise.
40997         * crypt/Makefile: Likewise.
40998         * csu/Makefile: Likewise.
40999         (all): Remove target.
41000         * ctype/Makefile: Include Makeconfig immediately after defining
41001         subdir.
41002         * debug/Makefile: Likewise.
41003         * dirent/Makefile: Likewise.
41004         * dlfcn/Makefile: Likewise.
41005         * gmon/Makefile: Likewise.
41006         * gnulib/Makefile: Likewise.
41007         * grp/Makefile: Likewise.
41008         * gshadow/Makefile: Likewise.
41009         * hesiod/Makefile: Likewise.
41010         * hurd/Makefile: Likewise.
41011         (all): Remove target.
41012         * iconvdata/Makefile: Include Makeconfig immediately after
41013         defining subdir.
41014         * inet/Makefile: Likewise.
41015         * intl/Makefile: Likewise.
41016         * io/Makefile: Likewise.
41017         * libio/Makefile: Likewise.
41018         (all): Remove target.
41019         * locale/Makefile: Include Makeconfig immediately after defining
41020         subdir.
41021         * login/Makefile: Likewise.
41022         * mach/Makefile: Likewise.
41023         (all): Remove target.
41024         * malloc/Makefile: Include Makeconfig immediately after defining
41025         subdir.
41026         (all): Remove target.
41027         * manual/Makefile: Include Makeconfig immediately after defining
41028         subdir.
41029         * math/Makefile: Likewise.
41030         * misc/Makefile: Likewise.
41031         * nis/Makefile: Likewise.
41032         * nss/Makefile: Likewise.
41033         * po/Makefile: Likewise.
41034         (all): Remove target.
41035         * posix/Makefile: Include Makeconfig immediately after defining
41036         subdir.
41037         * pwd/Makefile: Likewise.
41038         * resolv/Makefile: Likewise.
41039         * resource/Makefile: Likewise.
41040         * rt/Makefile: Likewise.
41041         * setjmp/Makefile: Likewise.
41042         * shadow/Makefile: Likewise.
41043         * signal/Makefile: Likewise.
41044         * socket/Makefile: Likewise.
41045         * soft-fp/Makefile: Likewise.
41046         * stdio-common/Makefile: Likewise.
41047         * stdlib/Makefile: Likewise.
41048         * streams/Makefile: Likewise.
41049         * string/Makefile: Likewise.
41050         * sunrpc/Makefile: Likewise.
41051         (all): Remove target.
41052         * sysvipc/Makefile: Include Makeconfig immediately after defining
41053         subdir.
41054         * termios/Makefile: Likewise.
41055         * time/Makefile: Likewise.
41056         * timezone/Makefile: Likewise.
41057         (all): Remove target.
41058         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41059         subdir.
41060         * wctype/Makefile: Likewise.
41062 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41064         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41065         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41066         (libc_feholdexcept_setround_mips): Ditto.
41067         (libc_feholdsetround): New.
41068         (libc_feholdsetroundf): New.
41069         (libc_feholdsetroundl): New.
41070         (libc_feupdateenv_test_mips): New.
41071         (libc_feupdateenv_test): New.
41072         (libc_feupdateenv_testf): New.
41073         (libc_feupdateenv_testl): New.
41074         (libc_feresetround): New.
41075         (libc_feresetroundf): New.
41076         (libc_feresetroundl): New.
41077         (libc_fetestexcept_mips): New.
41078         (libc_fetestexcept): New.
41079         (libc_fetestexceptf): New.
41080         (libc_fetestexceptl): New.
41081         (HAVE_RM_CTX): New.
41082         (libc_feholdexcept_setround_mips_ctx): New.
41083         (libc_feholdexcept_setround_ctx): New.
41084         (libc_feholdexcept_setroundf_ctx): New.
41085         (libc_feholdexcept_setroundl_ctx): New.
41086         (libc_fesetenv_mips_ctx): New.
41087         (libc_fesetenv_ctx): New.
41088         (libc_fesetenv_ctxf): New.
41089         (libc_fesetenv_ctxl): New.
41090         (libc_feupdateenv_mips_ctx): New.
41091         (libc_feupdateenv_ctx): New.
41092         (libc_feupdateenvf_ctx): New.
41093         (libc_feupdateenvl_ctx): New.
41094         (libc_feholdsetround_mips_ctx): New.
41095         (libc_feholdsetround_ctx): New.
41096         (libc_feholdsetroundf_ctx): New.
41097         (libc_feholdsetroundl_ctx): New.
41098         (libc_feresetround_mips_ctx): New.
41099         (libc_feresetround_ctx): New.
41100         (libc_feresetroundf_ctx): New.
41101         (libc_feresetroundl_ctx): New.
41103 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41105         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41107         * manual/ipc.texi: New file.
41108         * manual/Makefile (chapters): Add ipc.
41109         * manual/job.texi: Add "Inter-Process Communication" to next.
41110         * manual/process.texi: Add "Inter-Process Communication" to prev.
41112 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41116 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41118         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41120         * manual/arith.texi: Fix spaces after sentences.
41121         * manual/charset.texi: Likewise.
41122         * manual/errno.texi: Likewise.
41123         * manual/install.texi: Likewise.
41124         * manual/llio.texi: Likewise.
41125         * manual/locale.texi: Likewise.
41126         * manual/maint.texi: Likewise.
41127         * manual/math.texi: Likewise.
41128         * manual/memory.texi: Likewise.
41129         * manual/message.texi: Likewise.
41130         * manual/probes.texi: Likewise.
41131         * manual/resource.texi: Likewise.
41132         * manual/signal.texi: Likewise.
41133         * manual/socket.texi: Likewise.
41134         * manual/stdio.texi: Likewise.
41135         * manual/string.texi: Likewise.
41136         * manual/time.texi: Likewise.
41137         * manual/users.texi: Likewise.
41139 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41141         [BZ #16632]
41142         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41143         _DEFAULT_SOURCE is defined.
41145 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41146             Carlos O'Donell  <carlos@redhat.com>
41148         [BZ #16613]
41149         * elf/dl-tls.c (_dl_count_modids): New function.
41150         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41151         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41152         audit library and increment generation counter.
41153         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41154         * elf/tst-audit9.c: New file.
41155         * elf/tst-auditmod9a.c: New file.
41156         * elf/tst-auditmod9b.c: New file.
41157         * elf/Makefile: Add rules to build and run tst-audit9.
41159 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41161         [BZ #15347]
41162         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41164 2014-02-25  Will Newton  <will.newton@linaro.org>
41166         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41167         (__longjmp): Restore sp and lr before restoring callee
41168         saved registers.  Add longjmp and longjmp_target
41169         SystemTap probe point.
41170         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41171         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41172         Define to zero to match jmpbuf layout.
41173         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41174         (__sigsetjmp): Save sp and lr before saving callee
41175         saved registers.  Add setjmp SystemTap probe point.
41177 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41179         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41181 2014-02-24  Andreas Schwab  <schwab@suse.de>
41183         [BZ #15804]
41184         * elf/pldd.c (wait_for_ptrace_stop): New function.
41185         (main): Call it after attaching.
41187 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41189         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41190         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41191         Versions files is now verboten.
41192         * hurd/Versions (libc: GLIBC_2.0):
41193         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41194         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41195         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41196         * mach/Versions: Likewise.
41198         * csu/Versions: Remove unused %include.
41199         * resolv/Versions: Likewise.
41201 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41203         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41204         ($(objpfx)check-local-headers.out): Likewise.
41205         ($(objpfx)begin-end-check.out): Likewise.
41206         * Makerules (check-abi-%.out): Likewise.
41207         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41208         ($(objpfx)test2.cat): Likewise.
41209         ($(objpfx)de/libc.cat): Likewise.
41210         ($(objpfx)test-gencat.out): Likewise.
41211         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41212         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41213         ($(objpfx)noload-mem): Likewise.
41214         ($(objpfx)tst-pathopt.out): Likewise.
41215         ($(objpfx)tst-rtld-load-self.out): Likewise.
41216         ($(objpfx)tst-array1-cmp.out): Likewise.
41217         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41218         ($(objpfx)tst-array2-cmp.out): Likewise.
41219         ($(objpfx)tst-array3-cmp.out): Likewise.
41220         ($(objpfx)tst-array4-cmp.out): Likewise.
41221         ($(objpfx)tst-array5-cmp.out): Likewise.
41222         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41223         ($(objpfx)check-textrel.out): Likewise.
41224         ($(objpfx)check-execstack.out): Likewise.
41225         ($(objpfx)check-localplt.out): Likewise.
41226         ($(objpfx)order2-cmp.out): Likewise.
41227         ($(objpfx)tst-leaks1-mem): Likewise.
41228         ($(objpfx)tst-leaks1-static-mem): Likewise.
41229         ($(objpfx)tst-initorder-cmp.out): Likewise.
41230         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41231         ($(objpfx)tst-unused-dep.out): Likewise.
41232         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41233         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41234         * iconv/Makefile (test-iconvconfig): Likewise.
41235         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41236         ($(objpfx)iconv-test.out): Likewise.
41237         ($(objpfx)tst-tables.out): Likewise.
41238         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41239         ($(objpfx)tst-gettext.out): Likewise.
41240         ($(objpfx)tst-translit.out): Likewise.
41241         ($(objpfx)tst-gettext2.out): Likewise.
41242         ($(objpfx)tst-gettext4.out): Likewise.
41243         ($(objpfx)tst-gettext6.out): Likewise.
41244         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41245         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41246         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41247         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41248         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41249         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41250         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41251         ($(objpfx)wordexp-tst.out): Likewise.
41252         ($(objpfx)annexc.out): Likewise.
41253         ($(objpfx)tst-fnmatch-mem): Likewise.
41254         ($(objpfx)bug-regex2-mem): Likewise.
41255         ($(objpfx)bug-regex14-mem): Likewise.
41256         ($(objpfx)bug-regex21-mem): Likewise.
41257         ($(objpfx)bug-regex31-mem): Likewise.
41258         ($(objpfx)tst-vfork3-mem): Likewise.
41259         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41260         ($(objpfx)tst-pcre-mem): Likewise.
41261         ($(objpfx)tst-boost-mem): Likewise.
41262         ($(objpfx)tst-getconf.out): Likewise.
41263         ($(objpfx)bug-ga2-mem): Likewise.
41264         ($(objpfx)bug-glob2-mem): Likewise.
41265         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41266         ($(objpfx)mtrace-tst-leaks2): Likewise.
41267         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41268         ($(objpfx)tst-printf.out): Likewise.
41269         ($(objpfx)tst-setvbuf1.out): Likewise.
41270         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41271         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41272         ($(objpfx)tst-fmtmsg.out): Likewise.
41273         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41274         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41276         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41277         * bits/sigaction.h [__USE_MISC]: Likewise.
41278         * bits/waitstatus.h: Update #endif comments.
41279         * ctype/ctype.h: Likewise.
41280         * dirent/dirent.h: Likewise.
41281         [__USE_MISC]: Remove redundant conditionals.
41282         * grp/grp.h: Update #endif comments.
41283         [__USE_GNU]: Remove redundant conditionals.
41284         [__USE_MISC]: Likewise.
41285         * inet/netinet/in.h [__USE_GNU]: Likewise.
41286         * io/sys/stat.h [__USE_MISC]: Likewise.
41287         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41288         * libio/bits/stdio.h: Update #endif comments.
41289         [__USE_MISC]: Remove redundant conditionals.
41290         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41291         * libio/stdio.h: Update #endif comments.
41292         [__USE_MISC]: Remove redundant conditionals.
41293         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41294         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41295         * math/math.h: Update #else and #endif comments.
41296         [__USE_MISC]: Remove redundant conditionals.
41297         * misc/sys/uio.h: Update #endif comments.
41298         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41299         * posix/glob.h [__USE_MISC]: Likewise.
41300         * posix/sys/types.h: Update #endif comments.
41301         [__USE_MISC]: Remove redundant conditionals.
41302         * posix/sys/wait.h: Update #endif comments.
41303         [__USE_MISC]: Remove redundant conditionals.
41304         * posix/unistd.h: Update #endif comments.
41305         [__USE_MISC]: Remove redundant conditionals.
41306         * pwd/pwd.h [__USE_GNU]: Likewise.
41307         [__USE_MISC]: Likewise.
41308         * resolv/netdb.h [__USE_GNU]: Likewise.
41309         * signal/signal.h: Update #endif comments.
41310         [__USE_MISC]: Remove redundant conditionals.
41311         * stdlib/stdlib.h: Update #else and #endif comments.
41312         [__USE_MISC]: Remove redundant conditionals.
41313         [__USE_GNU]: Likewise.
41314         * string/bits/string2.h [__USE_MISC]: Likewise.
41315         * string/string.h: Update #endif comments.
41316         [__USE_MISC]: Remove redundant conditionals.
41317         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41318         Likewise.
41319         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41320         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41321         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41322         Likewise.
41323         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41324         Likewise.
41325         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41326         comments.
41327         [__USE_MISC]: Remove redundant conditionals.
41328         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41329         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41330         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41331         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41332         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41333         Likewise.
41334         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41335         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41336         Likewise.
41337         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41338         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41339         Likewise.
41340         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41341         Likewise.
41342         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41343         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41344         Likewise.
41345         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41346         Likewise.
41347         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41348         * sysdeps/x86/bits/string.h: Update #endif comments.
41349         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41350         conditionals.
41351         * time/sys/time.h: Update #endif comments.
41352         * time/time.h: Likewise.
41353         [__USE_MISC]: Remove redundant conditionals.
41355 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41357         [BZ #16600]
41358         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41360 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41362         * Versions.def (librt): Add GLIBC_2.17.
41364 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41366         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41367         synonym for _SYS_AUXV_H to allow direct inclusion.
41368         * sysdeps/sparc/bits/hwcap.h: Likewise.
41369         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41370         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41371         * sysdeps/sparc/sysdep.h: Likewise.
41373 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41375         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41377 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41379         * benchtests/bench-strrchr.c: Print length instead of position.
41381 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41383         [BZ #16611]
41384         * sysdeps/unix/sysv/linux/kernel-features.h
41385         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41386         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41387         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41388         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41389         Likewise.
41390         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41391         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41392         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41393         (__ASSUME_SENDMMSG): Define instead of using previous
41394         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41395         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41396         (__ASSUME_SENDMMSG_SYSCALL): Define.
41397         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41398         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41399         Likewise.
41400         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41401         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41402         Likewise.
41403         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41404         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41405         Likewise.
41406         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41407         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41408         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41409         [__ASSUME_SENDMMSG]: Change conditionals to
41410         [__ASSUME_SENDMMSG_SOCKETCALL].
41411         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41412         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41413         Define.
41414         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41415         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41416         Likewise.
41417         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41418         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41419         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41420         [!__ASSUME_SENDMMSG]: Change conditional to
41421         [!__ASSUME_SENDMMSG_SOCKETCALL].
41422         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41423         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41424         Define.
41426         [BZ #16610]
41427         * sysdeps/unix/sysv/linux/kernel-features.h
41428         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41429         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41430         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41431         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41432         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41433         [__i386__ || __sparc__]
41434         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41435         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41436         (__ASSUME_RECVMMSG): Define instead of using previous
41437         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41438         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41439         (__ASSUME_RECVMMSG_SYSCALL): Define.
41440         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41441         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41442         Likewise.
41443         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41444         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41445         Likewise.
41446         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41447         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41448         Likewise.
41449         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41450         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41451         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41452         [__ASSUME_RECVMMSG]: Change condition to
41453         [__ASSUME_RECVMMSG_SOCKETCALL].
41454         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41455         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41456         Define.
41457         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41458         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41459         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41460         Likewise.
41461         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41462         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41463         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41464         [!__ASSUME_RECVMMSG]: Change condition to
41465         [!__ASSUME_RECVMMSG_SOCKETCALL].
41466         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41467         (__ASSUME_RECVMMSG_SYSCALL): Define.
41469         [BZ #16609]
41470         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41471         __powerpc__ || __s390__ || __sh__ || __sparc__]
41472         (__ASSUME_SOCKETCALL): Define.
41473         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41474         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41475         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41476         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41477         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41478         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41479         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41480         (__ASSUME_ACCEPT4): Define instead of using previous
41481         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41482         __powerpc__ || __sparc__ || __s390__)] condition.
41483         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41484         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41485         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41486         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41487         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41488         [!__ASSUME_ACCEPT4]: Change condition to
41489         [!__ASSUME_ACCEPT4_SOCKETCALL].
41490         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41491         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41492         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41493         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41494         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41495         __ASSUME_ACCEPT4_SYSCALL.
41496         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41497         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41498         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41499         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41500         __ASSUME_ACCEPT4_SYSCALL.
41501         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41502         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41503         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41504         [__ASSUME_ACCEPT4]: Change condition to
41505         [__ASSUME_ACCEPT4_SOCKETCALL].
41506         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41507         (__ASSUME_SOCKETCALL): Define.
41508         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41509         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41510         (__ASSUME_SOCKETCALL): Define.
41511         (__ASSUME_ACCEPT4): Remove.
41512         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41513         Define.
41514         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41515         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41516         Likewise.
41517         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41518         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41520         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41521         macro.
41522         (HWCAP_ARM_LPAE): Likewise.
41523         (HWCAP_ARM_EVTSTRM): Likewise.
41524         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41525         Add vpfd32, lpae and evtstrm.
41526         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41527         Increase to 22.
41529 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41531         * math/auto-libm-test-in: Add tests of clog10.
41532         * math/auto-libm-test-out: Regenerated.
41533         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
41534         * sysdeps/i386/fpu/libm-test-ulps: Update.
41535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41537 2014-02-18  Andreas Schwab  <schwab@suse.de>
41539         [BZ #16574]
41540         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
41541         Store non-zero if the second buffer was newly allocated.
41542         (send_dg): Likewise.
41543         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
41544         to send_vc and send_dg.
41545         (res_nsend): Pass NULL for ansp2_malloced.
41546         * resolv/res_query.c (__libc_res_nquery): Add parameter
41547         answerp2_malloced and pass it down to __libc_res_nsend.
41548         (res_nquery): Pass additional NULL to __libc_res_nquery.
41549         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
41550         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
41551         second answer buffer if answerp2_malloced was set.
41552         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
41553         (__libc_res_nquerydomain): Add parameter
41554         answerp2_malloced and pass it down to __libc_res_nquery.
41555         (res_nquerydomain): Pass additional NULL to
41556         __libc_res_nquerydomain.
41557         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
41558         additional NULL to __libc_res_nsend and __libc_res_nquery.
41559         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
41560         additional NULL to __libc_res_nsearch.
41561         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
41562         parameter of __libc_res_nsearch to check for separately allocated
41563         second buffer.
41564         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
41565         __libc_res_nquery.
41566         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
41567         additional NULL to __libc_res_nquery.
41568         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
41569         __libc_res_nsearch.
41570         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
41571         * include/resolv.h: Update prototypes of __libc_res_nquery,
41572         __libc_res_nsearch, __libc_res_nsend.
41574 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
41576         * math/auto-libm-test-in: Add tests of fma.
41577         * math/auto-libm-test-out: Regenerated.
41578         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
41579         (fma_towardzero_test_data): Likewise.
41580         (fma_downward_test_data): Likewise.
41581         (fma_upward_test_data): Likewise.
41582         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
41583         mpc_mode.
41584         (rounding_modes): Add values for new field.
41585         (func_calc_method): Add value mpfr_fff_f.
41586         (func_calc_desc): Add mpfr_fff_f union field.
41587         (test_function): Add field exact_args.
41588         (FUNC): Add macro argument EXACT_ARGS.
41589         (FUNC_mpfr_f_f): Update call to FUNC.
41590         (FUNC_mpfr_f_f): Likewise.
41591         (FUNC_mpfr_ff_f): Likewise.
41592         (FUNC_mpfr_if_f): Likewise.
41593         (FUNC_mpc_c_f): Likewise.
41594         (FUNC_mpc_c_c): Likewise.
41595         (test_functions): Add fma.  Update calls to FUNC.
41596         (handle_input_arg): Add argument exact_args.
41597         (add_test): Update call to handle_input_arg.
41598         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
41599         (output_for_one_input_case): Update call to calc_generic_results.
41600         Recalculate exact zero results in each rounding mode.
41602         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
41603         non-negative before setting low bit.
41604         * math/auto-libm-test-in: Mark one asin test possibly having
41605         spurious underflow.
41606         * math/auto-libm-test-out: Regenerated.
41607         * sysdeps/i386/fpu/libm-test-ulps: Update.
41608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41610 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
41612         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
41613         * sysdeps/unix/sysv/linux/microblaze: Move directory from
41614         ports/sysdeps/unix/sysv/linux/microblaze.
41615         * README: Add missing listing for microblaze*-*-linux-gnu.
41617 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
41619         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
41620         duplicate code
41622 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
41624         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
41625         * sysdeps/unix/sysv/linux/ia64: Move directory from
41626         ports/sysdeps/unix/sysv/linux/ia64.
41627         * README: Update listing for ia64-*-linux-gnu.
41629 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
41630             Joseph Myers  <joseph@codesourcery.com>
41632         * Makeconfig (test-name): New variable.
41633         (evaluate-test): Likewise.
41634         * Makerules (do-test-clean): Remove .test-result files.
41635         (common-mostlyclean): Likewise.
41636         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
41637         * scripts/evaluate-test.sh: New file.
41639 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
41641         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
41642         separate $(objpfx)tst-fopenloc-cmp.out and
41643         $(objpfx)tst-fopenloc-mem.out targets.
41644         (tests): Update dependencies.
41645         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
41646         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
41647         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
41648         (tst-rxspencer-no-utf8-ARGS): New variable.
41649         (tst-rxspencer-no-utf8-ENV): Likewise.
41650         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
41651         instead of $(objpfx)tst-rxspencer-mem.
41652         ($(objpfx)tst-rxspencer-mem): Change target to
41653         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
41654         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
41655         * posix/tst-rxspencer-no-utf8.c: New file.
41657         * elf/Makefile ($(objpfx)order.out): Remove rule.
41658         [$(run-built-tests) = yes] (tests): Depend on
41659         $(objpfx)order-cmp.out.
41660         ($(objpfx)order-cmp.out): New rule.
41661         [$(run-built-tests) = yes] (tests): Depend on
41662         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
41663         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
41664         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
41665         $(objpfx)tst-array5-static-cmp.out.
41666         ($(objpfx)tst-array1.out): Remove rule.
41667         ($(objpfx)tst-array1-cmp.out): New rule.
41668         ($(objpfx)tst-array1-static.out): Remove rule.
41669         ($(objpfx)tst-array1-static-cmp.out): New rule.
41670         ($(objpfx)tst-array2.out): Remove rule.
41671         ($(objpfx)tst-array2-cmp.out): New rule.
41672         ($(objpfx)tst-array3.out): Remove rule.
41673         ($(objpfx)tst-array3-cmp.out): New rule.
41674         ($(objpfx)tst-array4.out): Remove rule.
41675         ($(objpfx)tst-array4-cmp.out): New rule.
41676         ($(objpfx)tst-array5.out): Remove rule.
41677         ($(objpfx)tst-array5-cmp.out): New rule.
41678         ($(objpfx)tst-array5-static.out): Remove rule.
41679         ($(objpfx)tst-array5-static-cmp.out): New rule.
41680         [$(run-built-tests) = yes] (tests): Depend on
41681         $(objpfx)order2-cmp.out.
41682         ($(objpfx)order2.out): Remove rule.
41683         ($(objpfx)order2-cmp.out): New rule.
41684         ($(objpfx)tst-initorder.out): Remove rule.
41685         [$(run-built-tests) = yes] (tests): Depend on
41686         $(objpfx)tst-initorder-cmp.out.
41687         ($(objpfx)tst-initorder-cmp.out): New rule.
41688         ($(objpfx)tst-initorder2.out): Remove rule.
41689         [$(run-built-tests) = yes] (tests): Depend on
41690         $(objpfx)tst-initorder2-cmp.out.
41691         ($(objpfx)tst-initorder2-cmp.out): New rule.
41692         [$(run-built-tests) = yes] (tests): Depend on
41693         $(objpfx)tst-unused-dep-cmp.out.
41694         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
41695         ($(objpfx)tst-unused-dep-cmp.out): New rule.
41696         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
41697         on $(objpfx)tst-setvbuf1-cmp.out.
41698         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
41699         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
41700         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
41701         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
41702         ($(objpfx)tst-svc.out): Remove rule.
41703         ($(objpfx)tst-svc-cmp.out): New rule.
41705 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
41707         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
41708         * ctype/ctype.h [__USE_MISC]: Likewise.
41709         * dirent/dirent.h [__USE_MISC]: Likewise.
41710         * grp/grp.h [__USE_MISC]: Likewise.
41711         * io/fcntl.h [__USE_MISC]: Likewise.
41712         * io/sys/stat.h [__USE_MISC]: Likewise.
41713         * libio/stdio.h [__USE_MISC]: Likewise.
41714         * posix/unistd.h [__USE_MISC]: Likewise.
41715         * pwd/pwd.h [__USE_MISC]: Likewise.
41716         * stdlib.h [__USE_MISC]: Likewise.
41717         * string/bits/string2.h [__USE_MISC]: Likewise.
41718         * string/string.h [__USE_MISC]: Likewise.
41719         * time/time.h [__USE_MISC]: Likewise.
41721 2014-02-13  Andreas Schwab  <schwab@suse.de>
41723         [BZ #16574]
41724         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
41725         second answer buffer if it was separately allocated.
41727 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
41729         * sysdeps/mips/math-tests.h: Include <features.h>.
41730         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41731         (ROUNDING_TESTS_long_double): Do not define.
41732         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
41733         (EXCEPTION_TESTS_long_double): Likewise.
41734         * sysdeps/mips/mips64/libm-test-ulps: Update.
41736         * include/features.h (__USE_BSD): Remove macro definitions.
41737         (__USE_SVID): Likewise.
41738         (_BSD_SOURCE): Likewise.
41739         (_SVID_SOURCE): Likewise.
41740         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
41741         from definition of _DEFAULT_SOURCE.
41742         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
41743         [_DEFAULT_SOURCE].
41744         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
41745         * bits/mman.h [__USE_BSD]: Likewise.
41746         * bits/termios.h [__USE_BSD]: Likewise.
41747         * bits/waitstatus.h [__USE_BSD]: Likewise.
41748         * ctype/ctype.h [__USE_SVID]: Likewise.
41749         * dirent/dirent.h [__USE_BSD]: Likewise.
41750         * grp/grp.h [__USE_SVID]: Likewise.
41751         [__USE_BSD]: Likewise.
41752         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
41753         * io/fcntl.h [__USE_BSD]: Likewise.
41754         * io/ftw.h [__USE_BSD]: Likewise.
41755         * io/sys/stat.h [__USE_BSD]: Likewise.
41756         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
41757         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
41758         * libio/stdio.h [__USE_SVID]: Likewise.
41759         [__USE_BSD]: Likewise.
41760         * math/math.h [__USE_SVID]: Likewise.
41761         [__USE_BSD]: Likewise.
41762         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
41763         * misc/bits/syslog.h [__USE_BSD]: Likewise.
41764         * misc/search.h [__USE_SVID]: Likewise.
41765         * misc/sys/mman.h [__USE_BSD]: Likewise.
41766         * misc/sys/syslog.h [__USE_BSD]: Likewise.
41767         * misc/sys/uio.h [__USE_BSD]: Likewise.
41768         * posix/bits/unistd.h [__USE_BSD]: Likewise.
41769         * posix/glob.h [__USE_BSD]: Likewise.
41770         * posix/regex.h [__USE_BSD]: Likewise.
41771         * posix/sys/types.h [__USE_BSD]: Likewise.
41772         [__USE_SVID]: Likewise.
41773         * posix/sys/utsname.h [__USE_SVID]: Likewise.
41774         * posix/sys/wait.h [__USE_BSD]: Likewise.
41775         [__USE_SVID]: Likewise.
41776         * posix/unistd.h [__USE_BSD]: Likewise.
41777         [__USE_SVID]: Likewise.
41778         * pwd/pwd.h [__USE_SVID]: Likewise.
41779         * resolv/netdb.h [__USE_BSD]: Likewise.
41780         * setjmp/setjmp.h [__USE_BSD]: Likewise.
41781         * signal/signal.h [__USE_BSD]: Likewise.
41782         [__USE_SVID]: Likewise.
41783         * socket/sys/socket.h [__USE_BSD]: Likewise.
41784         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
41785         * stdlib/stdlib.h [__USE_BSD]: Likewise.
41786         [__USE_SVID]: Likewise.
41787         * string/bits/string2.h [__USE_BSD]: Likewise.
41788         [__USE_SVID]: Likewise.
41789         * string/bits/string3.h [__USE_BSD]: Likewise.
41790         * string/endian.h [__USE_BSD]: Likewise.
41791         * string/string.h [__USE_SVID]: Likewise.
41792         [__USE_BSD]: Likewise.
41793         * string/strings.h [__USE_BSD]: Likewise.
41794         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
41795         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
41796         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
41797         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
41798         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
41799         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
41800         Likewise.
41801         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
41802         Likewise.
41803         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
41804         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
41805         Likewise.
41806         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
41807         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
41808         Likewise.
41809         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
41810         Likewise.
41811         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
41812         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
41813         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
41814         Likewise.
41815         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
41816         Likewise.
41817         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
41818         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
41819         * termios/termios.h [__USE_BSD]: Likewise.
41820         * time/sys/time.h [__USE_BSD]: Likewise.
41821         * time/time.h [__USE_BSD]: Likewise.
41822         [__USE_SVID]: Likewise.
41824         * Makefile (subdir_targets): Remove subdir_lint.out.
41826         * stdio-common/Makefile (do-tst-unbputc): Remove target.
41827         (do-tst-printf): Likewise.
41828         (tests): Depend directly on $(objpfx)tst-unbputc.out and
41829         $(objpfx)tst-printf.out.
41831         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
41833         * Makerules (check-abi-%): Change target to
41834         $(objpfx)check-abi-%.out.
41835         (check-abi target): Update dependencies.
41836         (check-abi-pattern variable): Redirect output of diff to $@.
41837         (check-abi variable): Likewise.
41838         * elf/Makefile (check-abi): Update dependencies.
41840         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
41841         unused.
41842         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
41843         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
41844         subnormal range.
41845         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
41846         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
41847         value has largest subnormal exponent.
41848         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
41849         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
41850         * sysdeps/aarch64/soft-fp/sfp-machine.h
41851         (_FP_TININESS_AFTER_ROUNDING): New macro.
41852         * sysdeps/alpha/soft-fp/sfp-machine.h
41853         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41854         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41855         Likewise.
41856         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
41857         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41858         * sysdeps/mips/soft-fp/sfp-machine.h
41859         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41860         * sysdeps/powerpc/soft-fp/sfp-machine.h
41861         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41862         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41863         Likewise.
41864         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41865         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41866         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41867         (_FP_TININESS_AFTER_ROUNDING): Likewise.
41868         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
41869         Likewise.
41871 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
41873         [BZ #16545]
41874         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
41875         model 1.
41877 2014-02-12  Richard Henderson  <rth@redhat.com>
41879         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
41880         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
41881         * sysdeps/unix/sysv/linux/alpha: Move directory from
41882         ports/sysdeps/unix/sysv/linux/alpha.
41883         * README: Update listing for alpha-*-linux-gnu.
41885 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
41887         * include/features.h: Update comment documenting feature test
41888         macros.
41889         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
41890         _DEFAULT_SOURCE.
41891         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
41892         (_SVID_SOURCE): Likewise.
41893         (_DEFAULT_SOURCE): Update description of default features.
41894         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
41895         with _GNU_SOURCE.
41896         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
41897         (S_ISVTX): Likewise.
41898         * manual/math.texi (Mathematical Constants): Likewise.
41899         * manual/signal.texi (Interrupted Primitives): Likewise.
41900         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
41901         * math/test-matherr.c (_SVID_SOURCE): Do not define.
41902         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
41903         Don't refer to _SVID_SOURCE in warning text.
41905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41907         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
41908         already defined.
41909         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
41910         * sysdeps/mips/dl-lookup.c: Remove.
41911         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
41913 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41915         [BZ #16447]
41916         * math/auto-libm-test-in: Add testcase for expl.
41917         * math/auto-libm-test-out: Regenerate.
41918         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
41919         calculation of unsafe.
41920         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
41922 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41924         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
41925         * sysdeps/unix/sysv/linux/aarch64: Move directory from
41926         ports/sysdeps/unix/sysv/linux/aarch64.
41927         * README: Update listing for aarch64*-*-linux-gnu.
41929 2014-02-11  Will Newton  <will.newton@linaro.org>
41931         * manual/probes.texi (Mathematical Function Probes): Use
41932         "triggered" instead of "hit".
41934         * manual/probes.texi (Internal Probes): Add documentation
41935         of setjmp, longjmp and longjmp_target probes.
41937         * include/stap-probe.h: Add comment about probe argument
41938         format.
41940         * malloc/mtrace.c (attribute_hidden): Remove unused macro
41941         definition.  (tr_where, tr_freehook, tr_mallochook,
41942         tr_reallochook, tr_memalignhook): Use ANSI protoype.
41944 2014-02-11  David S. Miller  <davem@davemloft.net>
41946         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
41947         processing int_tests.
41949 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
41951         * sysdeps/mips: Move directory from ports/sysdeps/mips.
41952         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
41953         * sysdeps/unix/sysv/linux/mips: Move directory from
41954         ports/sysdeps/unix/sysv/linux/mips.
41955         * README: Update listing for mips-*-linux-gnu and
41956         mips64-*-linux-gnu.
41958 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
41960         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
41961         * sysdeps/unix/sysv/linux/m68k: Move directory from
41962         ports/sysdeps/unix/sysv/linux/m68k.
41963         * README: Update listing for m68k-*-linux-gnu.
41965 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
41967         * sysdeps/tile: Move directory from ports/sysdeps/tile.
41968         * sysdeps/unix/sysv/linux/generic: Move directory from
41969         ports/sysdeps/unix/sysv/linux/generic.
41970         * sysdeps/unix/sysv/linux/tile: Move directory from
41971         ports/sysdeps/unix/sysv/linux/tile.
41972         * README: Update listing for tile*-*-linux-gnu.
41974 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
41976         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
41977         __builtin_expect.
41978         * benchtests/bench-memmem.c (simple_memmem): Likewise.
41979         * catgets/open_catalog.c (__open_catalog): Likewise.
41980         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
41981         * debug/confstr_chk.c: Likewise.
41982         * debug/fread_chk.c (__fread_chk): Likewise.
41983         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
41984         * debug/getgroups_chk.c: Likewise.
41985         * debug/mbsnrtowcs_chk.c: Likewise.
41986         * debug/mbsrtowcs_chk.c: Likewise.
41987         * debug/mbstowcs_chk.c: Likewise.
41988         * debug/memcpy_chk.c: Likewise.
41989         * debug/memmove_chk.c: Likewise.
41990         * debug/mempcpy_chk.c: Likewise.
41991         * debug/memset_chk.c: Likewise.
41992         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
41993         * debug/strcat_chk.c (__strcat_chk): Likewise.
41994         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
41995         * debug/strncat_chk.c (__strncat_chk): Likewise.
41996         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
41997         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
41998         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
41999         * debug/wcpncpy_chk.c: Likewise.
42000         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42001         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
42002         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
42003         * debug/wcsncpy_chk.c: Likewise.
42004         * debug/wcsnrtombs_chk.c: Likewise.
42005         * debug/wcsrtombs_chk.c: Likewise.
42006         * debug/wcstombs_chk.c: Likewise.
42007         * debug/wmemcpy_chk.c: Likewise.
42008         * debug/wmemmove_chk.c: Likewise.
42009         * debug/wmempcpy_chk.c: Likewise.
42010         * debug/wmemset_chk.c: Likewise.
42011         * dirent/scandirat.c (SCANDIRAT): Likewise.
42012         * dlfcn/dladdr1.c (dladdr1): Likewise.
42013         * dlfcn/dladdr.c (dladdr): Likewise.
42014         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42015         * dlfcn/dlerror.c (__dlerror): Likewise.
42016         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42017         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42018         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42019         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42020         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42021         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42022         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42023         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42024         Likewise.
42025         * elf/dl-conflict.c: Likewise.
42026         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42027         * elf/dl-dst.h: Likewise.
42028         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42029         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42030         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42031         * elf/dl-init.c (call_init, _dl_init): Likewise.
42032         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42033         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42034         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42035         Likewise.
42036         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42037         Likewise.
42038         * elf/dl-minimal.c (__libc_memalign): Likewise.
42039         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42040         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42041         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42042         * elf/dl-sym.c (do_sym): Likewise.
42043         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42044         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42045         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42046         * elf/dl-writev.h (_dl_writev): Likewise.
42047         * elf/ldconfig.c (search_dir): Likewise.
42048         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42049         (dl_main): Likewise.
42050         * elf/setup-vdso.h (setup_vdso): Likewise.
42051         * grp/compat-initgroups.c (compat_call): Likewise.
42052         * grp/fgetgrent.c (fgetgrent): Likewise.
42053         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42054         * grp/putgrent.c (putgrent): Likewise.
42055         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42056         Likewise.
42057         * hurd/hurdinit.c: Likewise.
42058         * iconvdata/8bit-gap.c (struct): Likewise.
42059         * iconvdata/ansi_x3.110.c : Likewise.
42060         * iconvdata/big5.c : Likewise.
42061         * iconvdata/big5hkscs.c : Likewise.
42062         * iconvdata/cp1255.c: Likewise.
42063         * iconvdata/cp1258.c : Likewise.
42064         * iconvdata/cp932.c : Likewise.
42065         * iconvdata/euc-cn.c: Likewise.
42066         * iconvdata/euc-jisx0213.c : Likewise.
42067         * iconvdata/euc-jp.c: Likewise.
42068         * iconvdata/euc-jp-ms.c : Likewise.
42069         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42070         * iconvdata/gb18030.c : Likewise.
42071         * iconvdata/gbbig5.c (const): Likewise.
42072         * iconvdata/gbgbk.c: Likewise.
42073         * iconvdata/gbk.c : Likewise.
42074         * iconvdata/ibm1364.c : Likewise.
42075         * iconvdata/ibm930.c : Likewise.
42076         * iconvdata/ibm932.c: Likewise.
42077         * iconvdata/ibm933.c : Likewise.
42078         * iconvdata/ibm935.c : Likewise.
42079         * iconvdata/ibm937.c : Likewise.
42080         * iconvdata/ibm939.c : Likewise.
42081         * iconvdata/ibm943.c: Likewise.
42082         * iconvdata/iso_11548-1.c: Likewise.
42083         * iconvdata/iso-2022-cn.c : Likewise.
42084         * iconvdata/iso-2022-cn-ext.c : Likewise.
42085         * iconvdata/iso-2022-jp-3.c: Likewise.
42086         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42087         * iconvdata/iso-2022-kr.c : Likewise.
42088         * iconvdata/iso646.c (gconv_end): Likewise.
42089         * iconvdata/iso_6937-2.c : Likewise.
42090         * iconvdata/iso_6937.c : Likewise.
42091         * iconvdata/iso8859-1.c: Likewise.
42092         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42093         * iconvdata/shift_jisx0213.c : Likewise.
42094         * iconvdata/sjis.c : Likewise.
42095         * iconvdata/t.61.c : Likewise.
42096         * iconvdata/tcvn5712-1.c : Likewise.
42097         * iconvdata/tscii.c: Likewise.
42098         * iconvdata/uhc.c : Likewise.
42099         * iconvdata/unicode.c (gconv_end): Likewise.
42100         * iconvdata/utf-16.c (gconv_end): Likewise.
42101         * iconvdata/utf-32.c (gconv_end): Likewise.
42102         * iconvdata/utf-7.c (base64): Likewise.
42103         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42104         * iconv/gconv_close.c (__gconv_close): Likewise.
42105         * iconv/gconv_open.c (__gconv_open): Likewise.
42106         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42107         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42108         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42109         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42110         (ucs4le_internal_loop_single): Likewise.
42111         * iconv/iconv.c (iconv): Likewise.
42112         * iconv/iconv_close.c: Likewise.
42113         * iconv/loop.c (SINGLE): Likewise.
42114         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42115         * include/atomic.h: Likewise.
42116         * inet/inet6_option.c (option_alloc): Likewise.
42117         * intl/bindtextdom.c (set_binding_values): Likewise.
42118         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42119         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42120         * intl/localealias.c (read_alias_file): Likewise.
42121         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42122         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42123         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42124         * libio/fmemopen.c (fmemopen): Likewise.
42125         * libio/iofgets.c (_IO_fgets): Likewise.
42126         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42127         * libio/iofgetws.c (fgetws): Likewise.
42128         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42129         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42130         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42131         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42132         * locale/findlocale.c (_nl_find_locale): Likewise.
42133         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42134         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42135         Likewise.
42136         * locale/setlocale.c (setlocale): Likewise.
42137         * login/programs/pt_chown.c (main): Likewise.
42138         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42139         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42140         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42141         (mmap, mmap64, mremap, munmap): Likewise.
42142         * math/e_exp2l.c: Likewise.
42143         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42144         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42145         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42146         * math/s_catan.c (__catan): Likewise.
42147         * math/s_catanf.c (__catanf): Likewise.
42148         * math/s_catanh.c (__catanh): Likewise.
42149         * math/s_catanhf.c (__catanhf): Likewise.
42150         * math/s_catanhl.c (__catanhl): Likewise.
42151         * math/s_catanl.c (__catanl): Likewise.
42152         * math/s_ccosh.c (__ccosh): Likewise.
42153         * math/s_ccoshf.c (__ccoshf): Likewise.
42154         * math/s_ccoshl.c (__ccoshl): Likewise.
42155         * math/s_cexp.c (__cexp): Likewise.
42156         * math/s_cexpf.c (__cexpf): Likewise.
42157         * math/s_cexpl.c (__cexpl): Likewise.
42158         * math/s_clog10.c (__clog10): Likewise.
42159         * math/s_clog10f.c (__clog10f): Likewise.
42160         * math/s_clog10l.c (__clog10l): Likewise.
42161         * math/s_clog.c (__clog): Likewise.
42162         * math/s_clogf.c (__clogf): Likewise.
42163         * math/s_clogl.c (__clogl): Likewise.
42164         * math/s_csin.c (__csin): Likewise.
42165         * math/s_csinf.c (__csinf): Likewise.
42166         * math/s_csinh.c (__csinh): Likewise.
42167         * math/s_csinhf.c (__csinhf): Likewise.
42168         * math/s_csinhl.c (__csinhl): Likewise.
42169         * math/s_csinl.c (__csinl): Likewise.
42170         * math/s_csqrt.c (__csqrt): Likewise.
42171         * math/s_csqrtf.c (__csqrtf): Likewise.
42172         * math/s_csqrtl.c (__csqrtl): Likewise.
42173         * math/s_ctan.c (__ctan): Likewise.
42174         * math/s_ctanf.c (__ctanf): Likewise.
42175         * math/s_ctanh.c (__ctanh): Likewise.
42176         * math/s_ctanhf.c (__ctanhf): Likewise.
42177         * math/s_ctanhl.c (__ctanhl): Likewise.
42178         * math/s_ctanl.c (__ctanl): Likewise.
42179         * math/w_pow.c: Likewise.
42180         * math/w_powf.c: Likewise.
42181         * math/w_powl.c: Likewise.
42182         * math/w_scalb.c (sysv_scalb): Likewise.
42183         * math/w_scalbf.c (sysv_scalbf): Likewise.
42184         * math/w_scalbl.c (sysv_scalbl): Likewise.
42185         * misc/error.c (error_tail): Likewise.
42186         * misc/pselect.c (__pselect): Likewise.
42187         * nis/nis_callback.c (__nis_create_callback): Likewise.
42188         * nis/nis_call.c (__nisfind_server): Likewise.
42189         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42190         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42191         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42192         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42193         * nis/nis_lookup.c (nis_lookup): Likewise.
42194         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42195         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42196         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42197         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42198         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42199         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42200         * nis/nss_compat/compat-initgroups.c (add_group)
42201         (internal_getgrent_r): Likewise.
42202         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42203         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42204         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42205         (internal_getspnam_r): Likewise.
42206         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42207         (_nss_nis_getaliasbyname_r): Likewise.
42208         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42209         (_nss_nis_getntohost_r): Likewise.
42210         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42211         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42212         (_nss_nis_getgrgid_r): Likewise.
42213         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42214         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42215         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42216         (_nss_nis_gethostbyname4_r): Likewise.
42217         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42218         (initgroups_netid): Likewise.
42219         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42220         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42221         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42222         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42223         (_nss_nis_getprotobynumber_r): Likewise.
42224         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42225         (_nss_nis_getsecretkey): Likewise.
42226         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42227         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42228         (_nss_nis_getpwuid_r): Likewise.
42229         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42230         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42231         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42232         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42233         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42234         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42235         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42236         Likewise.
42237         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42238         (_nss_nisplus_getntohost_r): Likewise.
42239         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42240         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42241         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42242         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42243         Likewise.
42244         * nis/nss_nisplus/nisplus-initgroups.c
42245         (_nss_nisplus_initgroups_dyn): Likewise.
42246         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42247         (_nss_nisplus_getnetbyaddr_r): Likewise.
42248         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42249         (_nss_nisplus_getprotobynumber_r): Likewise.
42250         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42251         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42252         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42253         Likewise.
42254         * nis/nss_nisplus/nisplus-service.c
42255         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42256         (_nss_nisplus_getservbyport_r): Likewise.
42257         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42258         (_nss_nisplus_getspnam_r): Likewise.
42259         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42260         Likewise.
42261         * nscd/aicache.c (addhstaiX): Likewise.
42262         * nscd/cache.c (cache_search, prune_cache): Likewise.
42263         * nscd/connections.c (register_traced_file, send_ro_fd)
42264         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42265         (main_loop_epoll): Likewise.
42266         * nscd/grpcache.c (addgrbyX): Likewise.
42267         * nscd/hstcache.c (addhstbyX): Likewise.
42268         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42269         * nscd/mem.c (gc, mempool_alloc): Likewise.
42270         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42271         (addinnetgrX): Likewise.
42272         * nscd/nscd-client.h (__nscd_acquire_maplock)
42273         (__nscd_drop_map_ref): Likewise.
42274         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42275         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42276         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42277         Likewise.
42278         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42279         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42280         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42281         (__nscd_get_map_ref): Likewise.
42282         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42283         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42284         Likewise.
42285         * nscd/pwdcache.c (addpwbyX): Likewise.
42286         * nscd/selinux.c (preserve_capabilities): Likewise.
42287         * nscd/servicescache.c (addservbyX): Likewise.
42288         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42289         * posix/fnmatch.c (fnmatch): Likewise.
42290         * posix/getopt.c (_getopt_internal_r): Likewise.
42291         * posix/glob.c (glob, glob_in_dir): Likewise.
42292         * posix/wordexp.c (exec_comm_child): Likewise.
42293         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42294         (getanswer_r, gaih_getanswer_slice): Likewise.
42295         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42296         * resolv/res_init.c: Likewise.
42297         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42298         * resolv/res_query.c (__libc_res_nquery): Likewise.
42299         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42300         Likewise.
42301         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42302         * stdio-common/perror.c (perror): Likewise.
42303         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42304         * stdio-common/tmpnam.c (tmpnam): Likewise.
42305         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42306         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42307         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42308         Likewise.
42309         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42310         * stdlib/putenv.c (putenv): Likewise.
42311         * stdlib/setenv.c (__add_to_environ): Likewise.
42312         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42313         * stdlib/strtol_l.c (INTERNAL): Likewise.
42314         * string/memmem.c (memmem): Likewise.
42315         * string/strerror.c (strerror): Likewise.
42316         * string/strnlen.c (__strnlen): Likewise.
42317         * string/test-memmem.c (simple_memmem): Likewise.
42318         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42319         * sunrpc/pm_getport.c (__get_socket): Likewise.
42320         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42321         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42322         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42323         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42324         Likewise.
42325         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42326         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42327         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42328         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42329         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42330         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42331         Likewise.
42332         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42333         Likewise.
42334         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42335         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42336         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42337         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42338         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42340         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42341         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42342         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42343         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42344         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42345         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42346         Likewise.
42347         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42348         Likewise.
42349         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42350         Likewise.
42351         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42352         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42353         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42354         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42355         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42356         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42357         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42358         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42359         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42360         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42361         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42362         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42363         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42364         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42365         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42366         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42367         Likewise.
42368         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42369         Likewise.
42370         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42371         Likewise.
42372         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42373         Likewise.
42374         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42375         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42376         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42377         Likewise.
42378         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42379         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42380         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42381         * sysdeps/posix/sleep.c: Likewise.
42382         * sysdeps/posix/tempname.c: Likewise.
42383         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42384         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42385         Likewise.
42386         * sysdeps/powerpc/powerpc32/dl-machine.h
42387         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42388         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42389         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42390         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42391         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42392         Likewise.
42393         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42394         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42395         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42396         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42397         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42398         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42399         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42400         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42401         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42402         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42403         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42404         (elf_machine_lazy_rel): Likewise.
42405         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42406         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42407         (elf_machine_lazy_rel): Likewise.
42408         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42409         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42410         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42411         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42412         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42413         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42414         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42415         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42416         Likewise.
42417         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42418         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42419         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42420         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42421         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42422         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42423         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42424         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42425         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42426         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42427         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42428         Likewise.
42429         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42430         (__posix_fallocate64_l64): Likewise.
42431         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42432         (posix_fallocate): Likewise.
42433         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42434         Likewise.
42435         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42436         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42437         (getifaddrs_internal): Likewise.
42438         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42439         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42440         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42441         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42442         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42443         (__posix_fallocate64_l64): Likewise.
42444         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42445         Likewise.
42446         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42447         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42448         (__get_clockfreq): Likewise.
42449         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42450         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42451         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42452         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42454         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42455         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42456         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42457         Likewise.
42458         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42459         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42460         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42461         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42462         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42463         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42464         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42465         Likewise.
42466         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42467         (posix_fallocate): Likewise.
42468         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42469         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42470         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42471         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42472         (elf_machine_rela, elf_machine_rela_relative)
42473         (elf_machine_lazy_rel): Likewise.
42474         * time/asctime.c (asctime_internal): Likewise.
42475         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42476         * time/tzset.c (__tzset_parse_tz): Likewise.
42477         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42478         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42479         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42480         * wcsmbs/wcsmbsload.h: Likewise.
42482         [BZ #15894]
42483         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42485         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42486         (arena_get2): Remove THREAD_STATS conditionals.
42487         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42488         (__malloc_stats, int): Likewise.
42490 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42492         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42493         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42495         * manual/setjmp.texi: Fix typos/grammar errors.
42497         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42498         Only return early when n is <= 0.  Delete unused return statement.
42500         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42501         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42502         * debug/tst-longjmp_chk3.c: New file.
42504         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42505         (test_main): Replace code with set_fortify_handler call.
42506         * debug/test-strcpy_chk.c: Likewise.
42507         * debug/tst-chk1.c: Likewise.
42508         * debug/tst-longjmp_chk.c: Likewise.
42509         * test-skeleton.c: Include fcntl.h & paths.h
42510         (set_fortify_handler): Define.
42512         * debug/tst-longjmp_chk.c: Add header comment and include
42513         ../test-skeleton.c.
42514         (do_test): Mark static.
42515         (TEST_FUNCTION): Define.
42517         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42518         (IP_PMTUDISC_INTERFACE): Likewise.
42519         (IP_MULTICAST_IF): Likewise.
42520         (IP_MULTICAST_TTL): Likewise.
42521         (IP_MULTICAST_LOOP): Likewise.
42522         (IP_ADD_MEMBERSHIP): Likewise.
42523         (IP_DROP_MEMBERSHIP): Likewise.
42524         (IP_UNBLOCK_SOURCE): Likewise.
42525         (IP_BLOCK_SOURCE): Likewise.
42526         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42527         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42528         (IP_MSFILTER): Likewise.
42529         (MCAST_JOIN_GROUP): Likewise.
42530         (MCAST_BLOCK_SOURCE): Likewise.
42531         (MCAST_UNBLOCK_SOURCE): Likewise.
42532         (MCAST_LEAVE_GROUP): Likewise.
42533         (MCAST_JOIN_SOURCE_GROUP): Likewise.
42534         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
42535         (MCAST_MSFILTER): Likewise.
42536         (IP_MULTICAST_ALL): Likewise.
42537         (IP_UNICAST_IF): Likewise.
42539         * timezone/Makefile: Delete $(have-ksh) check.
42540         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
42541         * timezone/tzselect.ksh: Add +x mode bits.
42543         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
42544         (ANON_INODE_FS_MAGIC): Likewise.
42545         (BDEVFS_MAGIC): Likewise.
42546         (BINFMTFS_MAGIC): Likewise.
42547         (BTRFS_TEST_MAGIC): Likewise.
42548         (CRAMFS_MAGIC_WEND): Likewise.
42549         (DEBUGFS_MAGIC): Likewise.
42550         (ECRYPTFS_SUPER_MAGIC): Likewise.
42551         (EXT3_SUPER_MAGIC): Likewise.
42552         (EXT4_SUPER_MAGIC): Likewise.
42553         (FUTEXFS_SUPER_MAGIC): Likewise.
42554         (HOSTFS_SUPER_MAGIC): Likewise.
42555         (HUGETLBFS_MAGIC): Likewise.
42556         (MINIX3_SUPER_MAGIC): Likewise.
42557         (MTD_INODE_FS_MAGIC): Likewise.
42558         (NILFS_SUPER_MAGIC): Likewise.
42559         (OPENPROM_SUPER_MAGIC): Likewise.
42560         (PIPEFS_MAGIC): Likewise.
42561         (PSTOREFS_MAGIC): Likewise.
42562         (QNX6_SUPER_MAGIC): Likewise.
42563         (RAMFS_MAGIC): Likewise.
42564         (REISERFS_SUPER_MAGIC_STRING): Likewise.
42565         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
42566         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
42567         (SECURITYFS_MAGIC): Likewise.
42568         (SELINUX_MAGIC): Likewise.
42569         (SMACK_MAGIC): Likewise.
42570         (SOCKFS_MAGIC): Likewise.
42571         (SQUASHFS_MAGIC): Likewise.
42572         (STACK_END_MAGIC): Likewise.
42573         (TMPFS_MAGIC): Likewise.
42574         (USBDEVICE_SUPER_MAGIC): Likewise.
42575         (V9FS_MAGIC): Likewise.
42576         (XENFS_SUPER_MAGIC): Likewise.
42577         (CRAMFS_MAGIC): Fix typo in comment.
42578         (EXT2_SUPER_MAGIC): Update comment.
42579         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
42581 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
42583         * sysdeps/arm: Move directory from ports/sysdeps/arm.
42584         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
42585         * sysdeps/unix/sysv/linux/arm: Move directory from
42586         ports/sysdeps/unix/sysv/linux/arm.
42587         * README: Update listing for arm-*-linux-gnueabi.
42589         * README: Remove mention of am33.
42591 2014-02-07  Roland McGrath  <roland@hack.frob.com>
42593         * bits/sigset.h (__sigemptyset): Use a statement expression rather
42594         than the comma operator, to avoid "rhs of comma has no effect"
42595         compiler warnings.
42596         (__sigfillset, __sigandset, __sigorset): Likewise.
42597         * include/signal.h (__sigemptyset): Likewise.
42598         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
42600 2014-02-07  Allan McRae  <allan@archlinux.org>
42602         * version.h (RELEASE): Set to "development".
42603         (VERSION): Set to "2.19.90"
42604         * NEWS: Add 2.20 section.
42606 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
42608         [BZ #16529]
42609         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
42611 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42613         * manual/contrib.texi: Update entry for Carlos O'Donell,
42614         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
42616 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
42618         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
42620         * sysdeps/unix/sysv/linux/kernel-features.h
42621         [__LINUX_KERNEL_VERSION >= 0x020621]
42622         (__ASSUME_PROC_PID_TASK_COMM): Define.
42624 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42626         [BZ #16398]
42627         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
42628         conversion when destination buffer does not have enough space.
42629         * libio/tst-ftell-partial-wide.c: New test case.
42630         * libio/Makefile (tests): Add tst-ftell-partial-wide.
42632         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
42633         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
42634         Leonard and Allan McRae.
42636 2014-02-04  David S. Miller  <davem@davemloft.net>
42638         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
42639         32-bit.
42641 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42644         New file
42645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42646         New file
42647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42648         New file.
42649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42650         New file.
42651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42652         New file.
42653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42654         New file.
42655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42656         New file.
42657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42658         New file.
42659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42660         New file.
42661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42662         New file.
42663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42664         New file.
42665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42666         New file.
42667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42668         New file.
42670 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42672         * nptl/shlib-versions: Change powerpc*le start to 2.17.
42673         * shlib-versions: Likewise.
42675 2014-02-04  Roland McGrath  <roland@hack.frob.com>
42676             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42678         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
42679         (abilist-pattern): New variable, set to %-le.abilist.
42681         * Makerules (abilist-pattern): New variable.
42682         (vpath): Use $(abilist-pattern) in place of %.abilist.
42683         (check-abi-% pattern rule): Likewise.
42684         (check-abi, update-abi): Likewise.
42686 2014-02-04  Eric Wong  <normalperson@yhbt.net>
42688         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42690 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
42692         * manual/startup.texi: Add next, previous, and top entries for
42693         the `Program Arguments' and `Environment Variables' nodes.
42695 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
42697         * manual/macros.texi: Add comments before MTASC-safety macros.
42699         * manual/users.texi: Document MTASC-safety properties.
42701         * manual/threads.texi (pthread_key_create, pthread_key_delete)
42702         (pthread_getspecific, pthread_setspecific): Format with
42703         @deftypefun, and add @safety note.
42704         * manual/signal.texi: Move comments that analyze the above
42705         functions to their home place.
42707 2014-02-03  Allan McRae  <allan@archlinux.org>
42709         * po/sl.po: Update Slovenian translation from translation project.
42711 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
42713         * manual/time.texi (timegm): Add missing blank after @c.
42714         Reported by Joseph Myers <joseph@codesourcery.com>.
42716 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
42718         * manual/check-safety.sh: New.
42719         * manual/Makefile ($(objpfx)stamp-summary): Run it.
42721         * manual/terminal.texi: Document MTASC-safety properties.
42723         * manual/filesys.texi: Document MTASC-safety properties.
42725         * manual/errno.texi: Document MTASC-safety properties.
42727         * manual/intro.texi: Document safety identifiers and
42728         conditionals.
42730         * manual/string.texi (wcstok): Fix prototype.
42731         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
42733         * manual/time.texi: Document MTASC-safety properties.
42735         * manual/string.texi: Document MTASC-safety properties.
42737         * manual/threads.texi: Document MTASC-safety properties.
42739         * manual/stdio.texi: Document MTASC-safety properties.
42741         * manual/syslog.texi: Document MTASC-safety properties.
42743         * manual/sysinfo.texi: Document MTASC-safety properties.
42745         * manual/startup.texi: Document MTASC-safety properties.
42747         * manual/socket.texi: Document MTASC-safety properties.
42749         * manual/signal.texi: Document MTASC-safety properties.
42751 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
42753         * manual/setjmp.texi: Document MTASC-safety properties.
42755         * manual/search.texi: Document MTASC-safety properties.
42757         * manual/resource.texi: Document MTASC-safety properties.
42759         * manual/process.texi: Document MTASC-safety properties.
42761         * manual/platform.texi: Document MTASC-safety properties.
42763         * manual/pipe.texi: Document MTASC-safety properties.
42765         * manual/pattern.texi: Document MTASC-safety properties.
42767         * manual/message.texi: Document MTASC-safety properties.
42769         [BZ #12751]
42770         * manual/memory.texi: Document MTASC-safety properties.
42772         * manual/math.texi: Document MTASC-safety properties.
42774         * manual/locale.texi: Document MTASC-safety properties.
42776         * manual/llio.texi: Document MTASC-safety properties.
42778         * manual/libdl.texi: New.
42780         * manual/lang.texi: Document MTASC-safety properties.
42782         * manual/job.texi: Document MTASC-safety properties.
42784         * manual/getopt.texi: Document MTASC-safety properties.
42786         * manual/ctype.texi: Document MTASC-safety properties.
42788 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
42790         [BZ #16046]
42791         * csu/libc-tls.c (static_map): Remove variable.
42792         (__libc_setup_tls): Use main executable's link map for TLS data.
42793         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
42794         casing for LM_ID_BASE and GL(dl_nns).
42795         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
42796         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
42797         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
42798         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
42799         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
42800         member.
42801         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
42802         l_phnum members.
42804 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
42806         * manual/debug.texi: Document MTASC-safety properties.
42808 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
42810         [BZ #16510]
42811         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
42812         of __x86_64__ when disabling x87 inline functions.
42814 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
42816         * manual/charset.texi: Document MTASC-safety properties.
42818         * manual/crypt.texi: Document MTASC-safety properties.
42820         * manual/conf.texi: Document MTASC-safety properties.
42822         * manual/arith.texi: Document MTASC-safety properties.
42824         * manual/argp.texi: Document MTASC-safety properties.
42826         * manual/macros.texi: Introduce macros to document multi
42827         thread, asynchronous signal and asynchronous cancellation
42828         safety properties.
42829         * manual/intro.texi: Introduce the properties themselves.
42831 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42833         * sysdeps/sh/sh4/Makefile: New file.
42835 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
42837         * math/gen-libm-test.pl ($srcdir): New variable.
42838         ($auto_input): Use it.
42840 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42842         [BZ #16506]
42843         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
42844         access beyond array bounds when parsing netgroups file.
42846         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
42847         the old buffer before realloc.
42849 2014-01-27  Allan McRae  <allan@archlinux.org>
42851         * po/fr.po: Update French translation from translation project.
42853 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42855         * sysdeps/sh/libm-test-ulps: Regenerate.
42857 2014-01-24  David S. Miller  <davem@davemloft.net>
42859         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
42861 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42863         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
42864         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
42866 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42868         [BZ #16474]
42869         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
42870         string pointers after reallocation.
42872 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42874         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
42875         __SH4A__ instead of __SH_FPU_ANY__.
42877 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42879         * sysdeps/sh/fpu_control.h: New file.
42880         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
42881         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
42882         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
42883         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
42884         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
42885         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
42886         * sysdeps/sh/sys/ucontext.h: Remove.
42887         * sysdeps/sh/sys: Remove directory.
42889 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42891         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
42892         s390/sys/ucontext.h.
42893         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
42894         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
42896 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
42898         [BZ #15605]
42899         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
42901 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42903         [BZ#16431]
42904         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
42905         Adjust the vDSO correctly for internal calls.
42906         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
42908 2014-01-20  Allan McRae  <allan@archlinux.org>
42910         * po/ca.po: Update Catalan translation from translation project.
42912 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
42914         * sysdeps/s390/sotruss-lib.c: New file.
42916 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42918         [BZ#16430]
42919         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
42920         (__GI___gettimeofday): Alias for a different internal symbol to avoid
42921         local calls issues by not having a PLT stub required for IFUNC calls.
42922         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
42924 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
42926         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
42927         * math/test-fpucw-static.c: Likewise.
42929 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42931         [BZ #16453]
42932         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
42934 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42936         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
42937         implementation for powerpc.
42939 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
42941         [BZ #14782]
42942         * sysdeps/posix/system.c (__libc_system): Do not enable
42943         asynchronous cancellation.
42945 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42947         [BZ #16427]
42948         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
42949         handling only for numbers special also in the IEEE case.
42951 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42953         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42955 2014-01-11  Allan McRae  <allan@archlinux.org>
42957         * po/bg.po: Update Bulgarian translation from translation project.
42959         * po/de.po: Update German translation from translation project.
42961 2014-01-10  Roland McGrath  <roland@hack.frob.com>
42963         * sysdeps/generic/gcc-compat.h: New file.
42965 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42967         * benchtests/asin-inputs: Correct slow inputs.
42968         * benchtests/acos-inputs: Likewise.
42970 2014-01-10  Allan McRae  <allan@archlinux.org>
42972         * po:sv.po: Update Swedish translation from translation project.
42974         * po/vi.po: Update Vietnamese translation from translation project.
42976         * po/eo.po: Update Esperanto translation from translation project.
42978         * po/cs.po: Update Czech translation from translation project.
42980         * po/nl.po: Update Dutch translation from translation project.
42982         * po/pl.po: Update Polish translation from translation project.
42984         * po/ru.po: Update Russian translation from translation project.
42986         * po/uk.po: Update Ukrainian translation from translation project.
42988 2014-01-08  Brooks Moses  <bmoses@google.com>
42990         * elf/dl-load.c: Fix comment typo.
42992 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
42994         * po/header.pot: Rename to...
42995         * po/pot.header: ... this.
42996         * po/Makefile: Use pot.header.
42998 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
42999             Maxim Kuvyrkov  <maxim@kugelworks.com>
43001         [BZ #16394]
43002         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43003         SRC and DEST against LEN.
43005 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43007         [BZ #16414]
43008         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43009         implementation.
43010         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43012 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43016 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43018         [BZ #16408]
43019         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43020         for large positive arguments.
43022 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43024         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43026         * math/auto-libm-test-in: Mark various tests with
43027         xfail-rounding:ldbl-128ibm.
43028         * math/auto-libm-test-out: Regenerated.
43030         [BZ #16407]
43031         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43032         Increase overflow threshold.
43034 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43036         [BZ #14286]
43037         * stdio-common/vfprintf.c: Check for integer overflow.
43039 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43041         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43042         the first argument and return value of __tls_get_addr_internal.
43044 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43046         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43047         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43049 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43051         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43052         * sysdeps/s390/rtld-global-offsets.sym: New file.
43053         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43054         GLIBC_2.19 symbol.
43055         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43056         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43057         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43058         ... this.
43059         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43060         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43061         ... this.
43062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43063         Regenerate.
43064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43065         Regenerate.
43066         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43067         halfs of GPRs for high_gprs contexts.
43068         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43069         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43070         field.
43071         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43072         uc_flags field.
43073         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43074         64 bit versions:
43075         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43076         for high GPRs (uc_high_gprs) and for future extensions
43077         (__reserved).
43078         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43079         for future extensions (__reserved).
43080         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43081         64 bit versions:
43082         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43083         SC_HIGHGPRS offset definition.
43084         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43085         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43087         * Versions.def: Add GLIBC_2.19 for libpthread.
43088         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43089         siglongjmp for libpthread with GLIBC_2.19 symver.
43090         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43091         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43092         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43093         * sysdeps/s390/__longjmp.c: New file.
43094         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43095         * sysdeps/s390/longjmp.c: New file.
43096         * sysdeps/s390/setjmp.S: New file.
43097         * sysdeps/s390/sigjmp.S: New file.
43098         * sysdeps/s390/v1-longjmp.c: New file.
43099         * sysdeps/s390/v1-setjmp.h: New file.
43100         * sysdeps/s390/v1-sigjmp.c: New file.
43101         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43102         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43103         GLIBC_2.19 version.
43104         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43105         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43106         versioned symbols for ____longjmp_chk.
43107         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43108         Likewise.
43109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43110         Regenerate.
43111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43112         Regenerate.
43113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43114         Regenerate.
43115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43116         Regenerate.
43117         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43118         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43119         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43120         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43121         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43122         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43123         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43124         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43125         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43126         * sysdeps/s390/rtld-__longjmp.c: New file.
43127         * sysdeps/s390/rtld-setjmp.S: New file.
43129 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43131         [BZ #16400]
43132         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43133         Return -__logl (x) for small positive arguments without evaluating
43134         a polynomial.
43136 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43138         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43139         Rename to ...
43140         (__ptrace_peeksiginfo_args): ... this.
43141         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43142         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43143         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43145 2014-01-06  Allan McRae  <allan@archlinux.org>
43147         * inet/netinet/in.h: Fix typo in comment.
43149 2014-01-05  Andreas Jaeger  <aj@suse.de>
43151         * sysdeps/i386/fpu/libm-test-ulps: Update.
43153 2014-01-05  Allan McRae  <allan@archlinux.org>
43155         * po/libc.pot: Regenerated.
43157         * malloc/memusagestat.c: Fix gettext call formatting.
43159 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43161         * nscd/nscd.c: Improve usage() output.
43163 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43165         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43166         * sysdeps/unix/sysv/linux/configure: Regenerated.
43167         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43168         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43170 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43172         [BZ #16390]
43173         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43174         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43176 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43178         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43179         extra tokens at end of #undef directive.
43180         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43181         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43182         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43184 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43186         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43188         * math/auto-libm-test-in: Mark various tests with
43189         xfail-rounding:ldbl-128ibm.
43190         * math/auto-libm-test-out: Regenerated.
43192 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43194         [BZ #16386]
43195         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43196         numbers with subnormal high part when calculating exponent.
43198         [BZ #16385]
43199         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43200         fabs.
43202         [BZ #16384]
43203         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43204         M_LN2l.
43205         (__ieee754_acoshl): Use __log1pl not __log1p.
43207 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43209         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43210         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43211         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43212         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43213         (reused_arena, arena_get2): Convert to GNU style.
43214         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43215         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43216         (memalign_check, __malloc_set_state): Likewise.
43217         * malloc/mallocbug.c (main): Likewise.
43218         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43219         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43220         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43221         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43222         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43223         (__posix_memalign, malloc_info): Likewise.
43224         * malloc/malloc.h: Likewise.
43225         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43226         (mallochook, memalignhook, reallochook, mabort): Likewise.
43227         * malloc/mcheck.h: Likewise.
43228         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43229         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43230         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43231         * malloc/morecore.c (__default_morecore): Likewise.
43232         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43233         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43234         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43235         (print_and_abort): Likewise.
43236         * malloc/obstack.h: Likewise.
43237         * malloc/set-freeres.c (__libc_freeres): Likewise.
43238         * malloc/tst-mallocstate.c (main): Likewise.
43239         * malloc/tst-mtrace.c (main): Likewise.
43240         * malloc/tst-realloc.c (do_test): Likewise.
43242 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43244         [BZ #16366]
43245         * nscd/netgroupcache.c (do_notfound): New function.
43246         (addgetnetgrentX): Use it.
43248         [BZ # 16365]
43249         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43250         NSS_STATUS_NOTFOUND.
43252 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43254         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43257 2014-01-01  Allan McRae  <allan@archlinux.org>
43259         * scripts/update-copyrights: Update configure input file suffix.
43261         * NEWS: Update copyright year.
43262         * catgets/gencat.c: Likewise.
43263         * csu/version.c: Likewise.
43264         * debug/catchsegv.sh: Likewise.
43265         * debug/pcprofiledump.c: Likewise.
43266         * debug/xtrace.sh: Likewise.
43267         * elf/ldconfig.c: Likewise.
43268         * elf/ldd.bash.in: Likewise.
43269         * elf/pldd.c: Likewise.
43270         * elf/sotruss.ksh: Likewise.
43271         * elf/sprof.c: Likewise.
43272         * iconv/iconv_prog.c: Likewise.
43273         * iconv/iconvconfig.c: Likewise.
43274         * locale/programs/locale.c: Likewise.
43275         * locale/programs/localedef.c: Likewise.
43276         * login/programs/pt_chown.c: Likewise.
43277         * malloc/memusage.sh: Likewise.
43278         * malloc/memusagestat.c: Likewise.
43279         * malloc/mtrace.pl: Likewise.
43280         * manual/libc.texinfo: Likewise.
43281         * nscd/nscd.c: Likewise.
43282         * nss/getent.c: Likewise.
43283         * nss/makedb.c: Likewise.
43284         * posix/getconf.c: Likewise.
43285         * scripts/test-installation.pl: Likewise.
43287         * All files with FSF copyright notices: Update copyright dates
43288         using scripts/update-copyrights.
43289         * intl/plural.c: Regenerated.
43290         * locale/programs/charmap-kw.h: Likewise.
43291         * locale/programs/locfile-kw.h: Likewise.
43293 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43295         * sysdeps/unix/sysv/linux/configure: Regenerated.
43296         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43297         the linux/fanotify.h header.
43298         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43299         HAVE_LINUX_FANOTIFY_H is defined.
43301 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43303         * benchtests/cos-inputs: New inputs.
43304         * benchtests/sin-inputs: Likewise.
43306         * benchtests/atan-inputs: New inputs. Fix name of multiple
43307         precision fallback inputs.
43309         * benchtests/atanh-inputs: New inputs.
43310         * benchtests/tanh-inputs: Likewise.
43312         * benchtests/acosh-inputs: New inputs.
43313         * benchtests/asinh-inputs: Likewise.
43315         * benchtests/cosh-inputs: New inputs.
43316         * benchtests/sinh-inputs: Likewise.
43318         * benchtests/acos-inputs: Add more inputs.
43319         * benchtests/asin-inputs: Likewise.
43321 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43323         [BZ #16375]
43324         * manual/arith.texi: Fix spelling.
43325         * manual/charset.texi: Likewise.
43326         * manual/errno.texi: Likewise.
43327         * manual/filesys.texi: Likewise.
43328         * manual/lang.texi: Likewise.
43329         * manual/llio.texi: Likewise.
43330         * manual/locale.texi: Likewise.
43331         * manual/message.texi: Likewise.
43332         * manual/resource.texi: Likewise.
43333         * manual/search.texi: Likewise.
43334         * manual/setjmp.texi: Likewise.
43335         * manual/stdio.texi: Likewise.
43336         * manual/string.texi: Likewise.
43337         * manual/sysinfo.texi: Likewise.
43338         * manual/time.texi: Likewise.
43340 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43342         * po/sl.po: New file.
43344 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43346         * .gitignore: Add core/.gdbinit/.gdb_history.
43348 2013-12-27  Allan McRae  <allan@archlinux.org>
43350         [BZ #16369]
43351         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43352         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43354 2013-12-24  Brooks Moses  <bmoses@google.com>
43356         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43357         all compilers that claim C++98 compliance, not just GCC.
43358         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43359         Likewise.
43361 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43363         * NEWS: Restore accidentally deleted bug-fix entries.
43365 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43366             Ondřej Bílka  <neleai@seznam.cz>
43368         [BZ #15073]
43369         * malloc/malloc.c (_int_free): Perform sanity check only if we
43370         have_lock.
43372 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43374         [BZ #12986]
43375         * manual/stdio.texi (String Input Conversions): Clarify that character
43376         classes are not supported.
43378 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43382 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43384         [BZ #16337]
43385         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43386         Calculate results for small negative arguments directly rather
43387         than using reflection formula with special underflow handling.
43389         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43390         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43391         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43392         (fchflags): Likewise.
43393         (revoke): Likewise.
43394         (setlogin): Likewise.
43395         (sigaltstack): Likewise.
43396         (wait4): Likewise.
43397         (sigblock): Remove.
43398         (sigsetmask): Likewise.
43399         (wait3): Likewise.
43400         (waitpid): Likewise.
43401         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43402         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43403         file.
43404         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43405         * sysdeps/unix/bsd/Makefile: ... here.
43406         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43407         * sysdeps/unix/bsd/Versions: ... here.
43408         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43409         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43410         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43411         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43412         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43413         * sysdeps/unix/bsd/sigblock.c: ... here.
43414         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43415         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43416         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43417         * sysdeps/unix/bsd/sigvec.c: ... here.
43418         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43419         * sysdeps/unix/bsd/tcdrain.c: ... here.
43420         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43421         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43422         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43423         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43424         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43425         * sysdeps/unix/bsd/wait.c: ... here.
43426         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43427         * sysdeps/unix/bsd/wait3.c: ... here.
43428         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43429         * sysdeps/unix/bsd/waitpid.c: ... here.
43431 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43433         [BZ #16356]
43434         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43435         round-to-nearest for [!USE_AS_EXPM1L].
43436         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43437         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43438         more tests of exp and exp10.  Expect some exp10 tests to miss
43439         exceptions or fail in directed rounding modes.
43440         * math/auto-libm-test-out: Regenerated.
43441         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43442         (exp10_test_tonearest): New function.
43443         (exp10_towardzero_test_data): New array.
43444         (exp10_test_towardzero): New function.
43445         (exp10_downward_test_data): New array.
43446         (exp10_test_downward): New function.
43447         (exp10_upward_test_data): New array.
43448         (exp10_test_upward): New function.
43449         (main): Call the new functions.
43450         * sysdeps/i386/fpu/libm-test-ulps: Update.
43451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43453 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43455         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43456         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43457         * math/auto-libm-test-out: Regenerated.
43458         * math/libm-test.inc (acosh_test_data): Add more tests.
43459         (atanh_test_data): Likewise.
43460         (ceil_test_data): Likewise.
43461         (copysign_test_data): Likewise.
43462         * sysdeps/i386/fpu/libm-test-ulps: Update.
43463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43465         * timezone/checktab.awk: Update from tzcode 2013i.
43466         * timezone/private.h: Likewise.
43467         * timezone/scheck.c: Likewise.
43468         * timezone/tzfile.h: Likewise.
43469         * timezone/tzselect.ksh: Likewise.
43470         * timezone/zdump.c: Likewise.
43471         * timezone/zic.c: Likewise.
43473         * math/auto-libm-test-in: Add tests of cpow.
43474         * math/auto-libm-test-out: Regenerated.
43475         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43476         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43477         mpc_cc_c.
43478         (func_calc_desc): Add mpc_cc_c union field.
43479         (test_functions): Add cpow.
43480         (special_fill_2pi): New function.
43481         (special_real_inputs): Add 2pi.
43482         (calc_generic_results): Handle mpc_cc_c.
43483         * sysdeps/i386/fpu/libm-test-ulps: Update.
43484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43486         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43487         csqrt, ctan and ctanh.
43488         * math/auto-libm-test-out: Regenerated.
43489         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43490         (TEST_COND_x86): Likewise.
43491         (ccos_test_data): Use AUTO_TESTS_c_c.
43492         (ccosh_test_data): Likewise.
43493         (cexp_test_data): Likewise.
43494         (clog_test_data): Likewise.
43495         (csqrt_test_data): Likewise.
43496         (ctan_test_data): Likewise.
43497         (ctan_tonearest_test_data): Likewise.
43498         (ctan_towardzero_test_data): Likewise.
43499         (ctan_downward_test_data): Likewise.
43500         (ctan_upward_test_data): Likewise.
43501         (ctanh_test_data): Likewise.
43502         (ctanh_tonearest_test_data): Likewise.
43503         (ctanh_towardzero_test_data): Likewise.
43504         (ctanh_downward_test_data): Likewise.
43505         (ctanh_upward_test_data): Likewise.
43506         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43507         mpc_c_c.
43508         (func_calc_desc): Add mpc_c_c union field.
43509         (FUNC_mpc_c_c): New macro.
43510         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43511         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43512         ctanh.
43513         (special_fill_min_subnorm_p120): New function.
43514         (special_real_inputs): Add min_subnorm_p120.
43515         (calc_generic_results): Handle mpc_c_c.
43516         * sysdeps/i386/fpu/libm-test-ulps: Update.
43517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43519 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43521         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43522         (do_sin_slow): New functions.
43523         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43524         (cslow2, csloww1, csloww2): Use the new functions.
43526         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43527         Use M to change sign of result instead of X.  Assume X is
43528         positive.
43529         (csloww1): Likewise.
43530         (__sin): Adjust.
43531         (__cos): Adjust.
43533         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
43534         arguments A and DA.
43535         (__sin): Adjust.
43536         (__cos): Likewise.
43538         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
43539         (__cos): Likewise.
43540         (sloww1): Don't adjust sign of DX.
43541         (csloww1): Likewise.
43542         (sloww2): Use X directly and don't adjust sign of DX.
43543         (csloww2): Likewise.
43545 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43547         * math/auto-libm-test-in: Add tests of cabs and carg.
43548         * math/auto-libm-test-out: Regenerated.
43549         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
43550         (carg_test_data): Likewise.
43551         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43552         mpc_c_f.
43553         (func_calc_desc): Add mpc_c_f union field.
43554         (test_functions): Add cabs and carg.
43555         (calc_generic_results): Handle mpc_c_f.
43557         * sysdeps/powerpc/powerpc32/libgcc-compat.S
43558         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
43559         as a macro and a compat symbol.
43560         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
43561         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
43562         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
43563         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
43564         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
43565         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
43566         not use .hidden.
43567         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
43568         Likewise.
43569         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
43570         Likewise.
43571         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
43572         Likewise.
43573         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
43574         Likewise.
43575         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
43576         Likewise.
43577         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
43578         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
43579         from GLIBC_2.3.2.
43581 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43585 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43587         * manual/texinfo.tex: Update to version 2013-11-26.10 with
43588         trailing whitespace removed.
43589         * scripts/config.guess: Update to version 2013-11-29.
43590         * scripts/config.sub: Update to version 2013-10-01.
43592         * math/auto-libm-test-in: Add tests of sincos.
43593         * math/auto-libm-test-out: Regenerated.
43594         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
43595         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43596         mpfr_f_11.
43597         (func_calc_desc): Add mpfr_f_11 union field.
43598         (test_functions): Add sincos.
43599         (calc_generic_results): Handle mpfr_f_11.
43600         * sysdeps/i386/fpu/libm-test-ulps: Update.
43601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43603 2013-12-19  Andreas Schwab  <schwab@suse.de>
43605         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
43606         CALL_MCOUNT.
43607         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43608         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
43609         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
43611 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
43613         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
43614         * sysdeps/i386/fpu/libm-test-ulps: Update.
43615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43617         [BZ #16293]
43618         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
43619         round-to-nearest mode when using frndint.
43620         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
43621         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43622         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43623         Likewise.
43624         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
43625         sinh test to fail.
43626         * math/auto-libm-test-out: Regenerated.
43627         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
43628         (TEST_COND_x86): Likewise.
43629         (expm1_tonearest_test_data): New array.
43630         (expm1_test_tonearest): New function.
43631         (expm1_towardzero_test_data): New array.
43632         (expm1_test_towardzero): New function.
43633         (expm1_downward_test_data): New array.
43634         (expm1_test_downward): New function.
43635         (expm1_upward_test_data): New array.
43636         (expm1_test_upward): New function.
43637         (main): Run the new test functions.
43638         * sysdeps/i386/fpu/libm-test-ulps: Update.
43639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43641         * include/features.h: Update comment documenting feature test
43642         macros.  Mention _DEFAULT_SOURCE in comment.
43643         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
43644         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
43645         _BSD_SOURCE and _SVID_SOURCE.
43646         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
43647         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
43648         !_SVID_SOURCE]: Likewise.
43649         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43650         (__USE_POSIX_IMPLICITLY): Define.
43651         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43652         (_POSIX_SOURCE): Undefine and redefine.
43653         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
43654         (_POSIX_C_SOURCE): Likewise.
43655         * manual/creature.texi (_DEFAULT_SOURCE): Document.
43656         (Feature Test Macros): Update documentation of default features.
43658 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43660         * benchtests/Makefile: Add bench-strtok.
43661         * benchtests/bench-strtok.c: New file: strtok benchtest.
43663 2013-12-19  Allan McRae  <allan@archlinux.org>
43665         * manual/install.texi: Suppress menu for plain text output.
43666         * INSTALL: Regenerated.
43668 2013-12-18  Brooks Moses  <bmoses@google.com>
43670         [BZ #15846]
43671         * misc/getauxval.c: Include errno.h.
43672         (__getauxval): Set errno to ENOENT if the requested type is not
43673         found.
43674         * misc/sys/auxv.h (getauxval): Document that it may set errno;
43675         don't declare with __attribute_const__.
43676         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
43677         * manual/startup.texi: Document that getauxval sets errno.
43679 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43681         * math/auto-libm-test-in: Add tests of jn and yn.
43682         * math/auto-libm-test-out: Regenerated.
43683         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
43684         (yn_test_data): Likewise.
43685         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43686         mpfr_if_f.
43687         (func_calc_desc): Add mpfr_if_f union field.
43688         (FUNC_mpfr_if_f): New macro.
43689         (test_functions): Add jn and yn.
43690         (calc_generic_results): Assert type of second input for
43691         mpfr_ff_f.  Handle mpfr_if_f.
43692         (output_for_one_input_case): Disable all checking for arguments
43693         fitting floating-point types in case of an integer argument.
43694         * sysdeps/i386/fpu/libm-test-ulps: Update.
43695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43698         Don't expect fegetround reference in libm.so.
43700 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43702         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
43703         $(config-cflags-nofma).
43705 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
43707         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
43708         * math/auto-libm-test-out: Regenerated.
43710         [BZ #16338]
43711         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
43712         to determine exponent and adjust argument to have exponent of -1.
43713         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
43714         log2.
43715         * math/auto-libm-test-out: Regenerated.
43716         * sysdeps/i386/fpu/libm-test-ulps: Update.
43717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43719 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
43721         * manual/probes.texi: Remove cases when per-thread arenas are
43722         disabled.
43724 2013-12-18  Andreas Schwab  <schwab@suse.de>
43726         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
43727         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
43728         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
43729         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
43730         * sysdeps/i386/i686/multiarch/Makefile: Update.
43731         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
43733 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43735         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
43736         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
43738 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
43740         [BZ #15968]
43741         Support TZ transition times < 00:00:00.
43742         This is needed for version-3 tz-format files; it supports time
43743         stamps past 2037 for America/Godthab (the only entry in the tz
43744         database for which this change is relevant).
43745         * manual/time.texi (TZ Variable): Document transition times
43746         from -167:59:59 through -00:00:01.
43747         * time/tzset.c (tz_rule): Time of day is now signed.
43748         (__tzset_parse_tz): Parse negative time of day.
43750         Document TZ transition times >= 25:00:00.
43751         * manual/time.texi (TZ Variable): Document transition times from
43752         25:00:00 through 167:59:59.  These are already supported, and this
43753         support will help with version-3 tz-format files.
43755         * manual/time.texi (TZ Variable): Modernize North America example
43756         to reflect current (i.e., 2007-and-later) daylight saving rules.
43758         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
43760 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43762         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
43763         * sysdeps/unix/bsd/bits/stat.h: Likewise.
43764         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
43765         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43766         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
43767         * sysdeps/unix/bsd/bsdstat.h: Likewise.
43768         * sysdeps/unix/bsd/clock.c: Likewise.
43769         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
43770         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
43771         * sysdeps/unix/bsd/init-posix.c: Likewise.
43772         * sysdeps/unix/bsd/poll.c: Likewise.
43773         * sysdeps/unix/bsd/ptsname.c: Likewise.
43774         * sysdeps/unix/bsd/seekdir.c: Likewise.
43775         * sysdeps/unix/bsd/setegid.c: Likewise.
43776         * sysdeps/unix/bsd/seteuid.c: Likewise.
43777         * sysdeps/unix/bsd/setgid.c: Likewise.
43778         * sysdeps/unix/bsd/setrgid.c: Likewise.
43779         * sysdeps/unix/bsd/setruid.c: Likewise.
43780         * sysdeps/unix/bsd/setsid.c: Likewise.
43781         * sysdeps/unix/bsd/setuid.c: Likewise.
43782         * sysdeps/unix/bsd/sigaction.c: Likewise.
43783         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
43784         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
43785         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
43786         * sysdeps/unix/bsd/telldir.c: Likewise.
43787         * sysdeps/unix/bsd/times.c: Likewise.
43788         * sysdeps/unix/bsd/usleep.c: Likewise.
43790         * misc/Makefile (install-lib): Remove libbsd-compat.a.
43791         ($(objpfx)libbsd-compat.a): Remove rule.
43793         * include/features.h (__FAVOR_BSD): Do not define.
43794         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
43795         features conflicting with POSIX.
43796         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
43797         (_BSD_SOURCE): Remove description of not being a subset of other
43798         feature test macros.
43799         * manual/job.texi (getpgrp): Do not document BSD version.
43800         (getpgid): Do not document by reference to BSD getpgrp.
43801         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
43802         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
43803         * signal/signal.h [__FAVOR_BSD]: Likewise.
43804         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
43805         instead of making contents conditional on [__FAVOR_BSD].
43806         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
43808 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43812 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
43814         [BZ #16314]
43815         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
43816         values below 2**-450, not 2**-500.
43817         * math/auto-libm-test-in: Don't allow spurious underflow from
43818         hypot.
43819         * math/auto-libm-test-out: Regenerated.
43821         [BZ #16316]
43822         [BZ #16330]
43823         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
43824         values of ha and hb and sort them after adjusting subnormal
43825         arguments.
43826         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
43827         Likewise.
43828         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
43829         values of ea and eb and sort them after adjusting subnormal
43830         arguments.
43831         * math/auto-libm-test-in: Do not expect some hypot tests of
43832         subnormals to fail.  Add more hypot tests.
43833         * math/auto-libm-test-out: Regenerated.
43835 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43837         [BZ #13304]
43838         * sysdeps/sh/s_fma.c: New file.
43839         * sysdeps/sh/s_fmaf.c: New file.
43840         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
43841         version.
43842         * sysdeps/sh/Implies: Add sh/soft-fp.
43844 2013-12-16  Roland McGrath  <roland@hack.frob.com>
43846         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
43847         level of indirection to members `objname', `errstring', `malloced'.
43848         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
43849         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
43850         it as the __longjmp argument (just pass 1 instead).
43851         (_dl_catch_error): Initialize C with argument pointers and address of
43852         volatile local ERRCODE rather than copying values out of C at return.
43854 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
43856         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
43857         * math/auto-libm-test-out: Regenerated.
43858         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
43859         (hypot_test_data): Likewise.
43860         (pow_test_data): Likewise.
43861         (pow_tonearest_test_data): Likewise.
43862         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43863         mpfr_ff_f.
43864         (func_calc_desc): Add mpfr_ff_f union field.
43865         (FUNC_mpfr_ff_f): New macro.
43866         (test_functions): Add atan2, hypot and pow.
43867         (special_fill_min): New function.
43868         (special_fill_minus_min): Likewise.
43869         (special_fill_min_subnorm): Likewise.
43870         (special_fill_minus_min_subnorm): Likewise.
43871         (special_real_inputs): Add min, -min, min_subnorm and
43872         -min_subnorm.
43873         (calc_generic_results): Handle mpfr_ff_f.
43874         * sysdeps/i386/fpu/libm-test-ulps: Update.
43875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43877 2013-12-16  Will Newton  <will.newton@linaro.org>
43879         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
43880         (Aligned Memory Blocks): Add documentation for aligned_alloc
43881         and suggest it as an alternative to posix_memalign.
43882         (Hooks for Malloc): Document __memalign_hook is also called
43883         for aligned_alloc.  (Summary of Malloc): Add summary for
43884         aligned alloc.  Document __memalign_hook is also called
43885         for aligned_alloc.
43887 2013-12-16  Will Newton  <will.newton@linaro.org>
43889         * manual/memory.texi (Malloc Examples): Clarify default
43890         alignment documentation.  Suggest posix_memalign rather
43891         than memalign or valloc.
43892         (Aligned Memory Blocks): Remove suggestion to use memalign
43893         or valloc.  Remove obsolete comment about BSD.
43894         Document memalign errno values and mark the function obsolete.
43895         Document posix_memalign returned error codes.  Mark valloc
43896         as obsolete.  (Hooks for Malloc): __memalign_hook is also
43897         called for posix_memalign and valloc.
43898         (Summary of Malloc): Add posix_memalign to function summary.
43899         __memalign_hook is also called for posix_memalign and valloc.
43901 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43903         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
43904         TAYLOR_SIN.
43905         (__sin): Adjust.
43906         (__cos): Likewise.
43907         (sloww): Use mynumber union.  Expand ternary operator into
43908         if-else statements.
43909         (cslow): use mynumber union.
43911 2013-12-16  Allan McRae  <allan@archlinux.org>
43913         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
43914         * configure: Regenerated.
43916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
43918         [BZ #14120]
43919         * configure.ac: Added --enable-maintainer-mode. Check for
43920         autoconf when enabled.
43921         * configure: Regenerated.
43923         * nscd/nscd.service: New file.
43924         * nscd/nscd.tmpfiles: New file.
43926 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
43928         [BZ #12100]
43929         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
43930         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
43931         * sysdeps/x86_64/multiarch/strstr.c: ... here.
43932         (strstr): Add __strstr_sse2_unaligned ifunc.
43933         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
43934         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
43935         (strcasestr): Remove __strcasestr_sse42 ifunc.
43936         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
43937         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
43938         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
43940 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43942         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
43943         * sysdeps/sh/bits/fenv.h: ... here.
43944         * sysdeps/sh/sh4/fpu/bits: Remove directory.
43946 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43948         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
43950         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
43951         hypotf multiarch implementations.
43952         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
43953         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
43954         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
43955         multiarch hypot for PPC64.
43956         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
43957         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
43958         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
43959         multiarch hypotf for PPC64.
43961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
43962         modff multiarch implementations.
43963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
43964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
43965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
43966         multiarch modf for PPC64.
43967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
43968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
43969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
43970         multiarch modff for PPC64.
43972         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
43973         and logl multiarch implementations.
43974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
43975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
43976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
43977         multiarch logb for PPC64.
43978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
43979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
43980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
43981         multiarch logb for PPC64.
43982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
43983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
43984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
43985         multiarch logb for PPC64.
43987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
43988         isinff multiarch implementation.
43989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
43990         file.
43991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
43992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
43993         multiarch isinf for PPC64.
43994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
43995         file.
43996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
43997         multiarch isinff for PPC64.
43999         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44000         finitef multiarch implementation.
44001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
44002         file.
44003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
44004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
44005         multiarch finite for PPC64.
44006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
44007         file.
44008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44009         multiarch finitef for PPC64.
44011         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44012         lrint multiarch implementation.
44013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44014         file.
44015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44017         multiarch llrint for PPC64.
44018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44019         multiarch lrint for PPC64.
44021         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44022         copysignf multiarch implementation.
44023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44024         file.
44025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44026         file.
44027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44028         multiarch copysign for PPC64.
44029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44030         multiarch copysignf for PPC64.
44032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44033         multiarch implementation.
44034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44035         file.
44036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44037         file.
44038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44039         file.
44040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44041         file.
44042         multiarch llround for PPC64.
44043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44044         multiarch trunc for PPC64.
44045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44046         multiarch truncf for PPC64.
44048         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44049         multiarch implementation.
44050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44051         file.
44052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44053         file.
44054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44055         file.
44056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44057         file.
44058         multiarch llround for PPC64.
44059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44060         multiarch round for PPC64.
44061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44062         multiarch roundf for PPC64.
44064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44065         multiarch implementation.
44066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44067         file.
44068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44069         file.
44070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44071         file.
44072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44073         file.
44074         multiarch llround for PPC64.
44075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44076         multiarch floor for PPC64.
44077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44078         multiarch floorf for PPC64.
44080         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44081         multiarch implementation.
44082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44083         file.
44084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44085         file.
44086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44087         file.
44088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44089         file.
44090         multiarch llround for PPC64.
44091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44092         multiarch ceil for PPC64.
44093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44094         multiarch ceilf for PPC64.
44096         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44097         multiarch implementation.
44098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44099         file.
44100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44101         file.
44102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44103         file.
44104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44105         multiarch llround for PPC64.
44106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44107         multiarch lround for PPC64.
44109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44110         multiarch implementation.
44111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44114         file.
44115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44118         multiarch isnan for PPC64.
44119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44120         multiarch isnanf for PPC64.
44122         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44123         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44124         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44125         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44126         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44129         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44130         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44131         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44132         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44135         multiarch implementations.
44136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44137         (__libc_ifunc_impl_list): Likewise.
44138         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44139         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44140         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44141         multiarch stpcpy for PPC64.
44143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44144         multiarch implementations.
44145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44146         (__libc_ifunc_impl_list): Likewise.
44147         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44148         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44149         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44150         multiarch strcpy for PPC64.
44152         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44153         redefine function name.
44154         (_wordcopy_fwd_dest_aligned): Likewise.
44155         (_wordcopy_bwd_aligned): Likewise.
44156         (_wordcopy_bwd_dest_aligned): Likewise.
44157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44158         multiarch implementations.
44159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44160         (__libc_ifunc_impl_list): Likewise.
44161         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44162         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44163         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44164         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44165         multiarch wcscpy for PPC64.
44167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44168         multiarch implementations.
44169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44170         (__libc_ifunc_impl_list): Likewise.
44171         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44172         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44173         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44174         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44175         multiarch wcscpy for PPC64.
44177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44178         multiarch implementations.
44179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44180         (__libc_ifunc_impl_list): Likewise.
44181         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44182         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44183         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44184         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44185         multiarch wcsrchr for PPC64.
44187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44188         multiarch implementations.
44189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44190         (__libc_ifunc_impl_list): Likewise.
44191         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44192         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44193         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44194         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44195         multiarch wcschr for PPC64.
44197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44198         multiarch implementations.
44199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44200         (__libc_ifunc_impl_list): Likewise.
44201         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44202         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44203         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44204         multiarch strchrnul for PPC64.
44206         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44207         implementations.
44208         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44209         (__libc_ifunc_impl_list): Likewise.
44210         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44211         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44212         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44213         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44214         strchr for PPC64.
44216         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44217         implementations.
44218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44219         (__libc_ifunc_impl_list): Likewise.
44220         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44221         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44222         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44223         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44224         strncmp for PPC64.
44226         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44227         multiarch implementations.
44228         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44229         (__libc_ifunc_impl_list): Likewise.
44230         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44231         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44232         strncasecmp for PPC64.
44233         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44234         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44235         multiarch strncasecmp_l for PPC64.
44237         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44238         multiarch implementations.
44239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44240         (__libc_ifunc_impl_list): Likewise.
44241         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44242         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44243         multiarch strcasecmp for PPC64.
44244         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44245         file.
44246         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44247         multiarch strcasecmp_l for PPC64.
44249         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44250         implementations.
44251         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44252         (__libc_ifunc_impl_list): Likewise.
44253         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44254         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44255         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44256         strnlen for PPC64.
44258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44259         implementations.
44260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44261         (__libc_ifunc_impl_list): Likewise.
44262         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44263         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44264         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44265         strlen for PPC64.
44267         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44268         implementations.
44269         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44270         (__libc_ifunc_impl_list): Likewise.
44271         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44272         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44273         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44274         rawmemrchr for PPC64.
44276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44277         implementation.
44278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44279         (__libc_ifunc_impl_list): Likewise.
44280         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44281         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44282         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44283         memrchr for PPC64.
44285         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44286         implementation.
44287         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44288         (__libc_ifunc_impl_list): Likewise.
44289         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44290         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44291         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44292         memchr for PPC64.
44294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44295         implementation.
44296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44297         (__libc_ifunc_impl_list): Likewise.
44298         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44299         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44300         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44301         mempcpy for PPC64.
44303         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44304         avoid cretion of __bzero symbol.
44305         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44306         Likewise.
44307         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44308         Likewise.
44309         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44310         Likewise.
44311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44312         multiarch implementations.
44313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44314         (__libc_ifunc_impl_list): Likewise.
44315         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44316         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44317         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44318         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44319         bzero for PPC32.
44320         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44321         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44322         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44323         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44324         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44325         memset for PPC64.
44326         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44328         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44330         implementations.
44331         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44332         (__libc_ifunc_impl_list): Likewise.
44333         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44334         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44335         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44336         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44337         memcmp for PPC64.
44339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44340         multiarch for POWER/PPC64.
44341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44342         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44343         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44344         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44345         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44346         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44347         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44348         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44349         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44350         memcpy for PPC64.
44352         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44353         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44354         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44355         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44356         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44357         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44358         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44359         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44360         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44361         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44362         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44363         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44364         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44365         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44366         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44375 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44377         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44379 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44381         * benchtests/Makefile (bench): Add exp2 and log2.
44382         (LDLIBS-bench-exp2): Add -lm.
44383         (LDLIBS-bench-log2): Likewise.
44384         * benchtests/exp2-inputs: New inputs file.
44385         * benchtests/log2-inputs: New inputs file.
44386         * benchtests/log-inputs: Add new inputs.
44387         * benchtests/tan-inputs: Likewise.
44389 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44391         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44392         definition...
44393         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44394         (csloww2): ... from here.
44396         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44397         instead of structures.
44398         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44399         (POLYNOMIAL): Likewise.
44400         (TAYLOR_SLOW): Likewise.
44401         (__sin): Likewise.
44402         (__cos): Likewise.
44403         (slow1): Likewise.
44404         (slow2): Likewise.
44405         (sloww): Likewise.
44406         (sloww1); Likewise.
44407         (sloww2): Likewise.
44408         (bsloww1): Likewise.
44409         (bsloww2): Likewise.
44410         (cslow2): Likewise.
44411         (csloww): Likewise.
44412         (csloww1): Likewise.
44413         (csloww2): Likewise.
44415 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44417         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44418         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44419         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44420         * malloc/hooks.c (realloc_check): Likewise.
44422         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44423         * malloc/arena.c: Remove PER_THREAD conditional.
44424         [!PER_THREAD]: Remove code.
44425         (ptmalloc_unlock_all2): Likewise.
44426         (ptmalloc_init): Likewise.
44427         (_int_new_arena): Likewise.
44428         (arena_get2): Likewise.
44429         * malloc/hooks.c (__malloc_get_state): Likewise.
44430         (__malloc_set_state): Likewise.
44431         * malloc/malloc.c: Likewise.
44432         (struct malloc_state): Likewise.
44433         (struct malloc_par): Likewise.
44434         (__libc_realloc): Likewise.
44435         (__libc_mallopt): Likewise.
44437 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44439         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44441 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44443         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44444         macro to a function.  Check for zero perturb_byte.
44445         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44447         * malloc/malloc.c: (force_reg): Remove.
44448         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44449         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44450         force_reg by atomic_forced_read.
44451         * malloc/arena.c (ptmalloc_init): Likewise.
44452         * malloc/hooks.c (top_check): Likewise.
44454 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44458 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44462 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44464         * math/auto-libm-test-in: Add tests of lgamma.
44465         * math/auto-libm-test-out: Regenerated.
44466         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44467         (M_LOG_2_SQRT_PIl): Likewise.
44468         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44469         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44470         mpfr_f_f1.
44471         (func_calc_desc): Add mpfr_f_f1 union field.
44472         (ARGS1): New macro.
44473         (ARGS2): Likewise.
44474         (ARGS3): Likewise.
44475         (ARGS4): Likewise.
44476         (RET1): Likewise.
44477         (RET2): Likewise.
44478         (CALC): Likewise.
44479         (FUNC): Likewise.
44480         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44481         (test_functions): Add lgamma.
44482         (calc_generic_results): Handle mpfr_f_f1.
44483         * sysdeps/i386/fpu/libm-test-ulps: Update.
44484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44486 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44488         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44489         __mpn_add_n for PowerPC64/POWER7.
44490         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44491         __mpn_sub_n for PowerPC64/POWER7.
44493         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44494         __mpn_addmul_1 for PowerPC64.
44495         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44496         __mpn_submul_1 for PowerPC64.
44497         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44498         for PowerPC64.
44499         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44500         for PowerPC64.
44502 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44504         [BZ #15089]
44505         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44507 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44509         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44511         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44512         add multiarch folders.
44513         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44514         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44515         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44516         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44517         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44518         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44519         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44520         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44521         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44522         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44523         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44532         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
44533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
44534         New file.
44535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
44536         New file.
44537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
44538         multiarch __ieee754_hypot for PowerPC32.
44539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
44540         New file.
44541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
44542         New file.
44543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
44544         multiarch __ieee754_hypotf for PowerPC32.
44546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
44547         long_double_symbol only if __logbl is defined.
44548         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
44549         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
44550         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
44551         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
44552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
44553         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
44554         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
44555         path for implementation.
44556         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
44557         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
44558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
44559         logb, and logbl multiarch implementations for PowerPC32.
44560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
44561         file.
44562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
44563         file.
44564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
44565         multiarch logb for PowerPC32.
44566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
44567         file.
44568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
44569         file.
44570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
44571         multiarch logbf for PowerPC32.
44572         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
44573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
44574         file.
44575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
44576         multiarch logbl implementation for PowerPC32.
44578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
44579         and modff multiarch implementations.
44580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
44581         New file.
44582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
44583         New file.
44584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
44585         multiarch modf for PowerPC32.
44586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
44587         New file.
44588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
44589         New file.
44590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
44591         multiarch modff for PowerPC32.
44593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
44594         and lrintf multiarch implementations.
44595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
44596         New file.
44597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
44598         New file.
44599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
44600         multiarch lrint for PowerPC32.
44601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
44602         file: multiarch lrintf for PowerPC32.
44604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
44605         and lroundf multiarch implementations.
44606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
44607         New file.
44608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
44609         New file.
44610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
44611         New file.
44612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
44613         multiarch lround for PowerPC32.
44614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
44615         file: multiarch lroundf for PowerPC32.
44617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44618         copysign and copysignf multiarch implementations.
44619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
44620         New file.
44621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
44622         New file.
44623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
44624         file: multiarch copysign for PowerPC32.
44625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
44626         file: multiarch copysignf for PowerPC32.
44628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
44629         and truncf multiarch implementations.
44630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
44631         New file.
44632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
44633         file.
44634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
44635         multiarch trunc for PowerPC32.
44636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
44637         New file.
44638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
44639         New file.
44640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
44641         multiarch truncf for PowerPC32.
44643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
44644         and roundf multiarch implementations.
44645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
44646         New file.
44647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
44648         file.
44649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
44650         multiarch round for PowerPC32.
44651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
44652         New file.
44653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
44654         New file.
44655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
44656         multiarch roundf for PowerPC32.
44658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
44659         and floorf multiarch implementations.
44660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
44661         New file.
44662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
44663         file.
44664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
44665         multiarch floor for PowerPC32.
44666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
44667         New file.
44668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
44669         New file.
44670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
44671         multiarch floorf for PowerPC32.
44673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
44674         and ceilf multiarch implementations.
44675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
44676         New file.
44677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
44678         file.
44679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
44680         multiarch ceil for PowerPC32.
44681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
44682         New file.
44683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
44684         file.
44685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
44686         multiarch ceilf for PowerPC32.
44688         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
44689         is defined.
44690         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
44691         FINITEF is defined.
44692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
44693         and finitef multiarch implementations.
44694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
44695         New file.
44696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
44697         file.
44698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
44699         multiarch finite for PowerPC32.
44700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
44701         New file.
44702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
44703         file: multiarch finitef for PowerPC32.
44705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
44706         and isinff multiarch implementations.
44707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
44708         file.
44709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
44710         file.
44711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
44712         multiarch isinf for PowerPC32.
44713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
44714         New file.
44715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
44716         multiarch isinff for PowerPC32.
44718         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
44719         alias when __isnan is defined.
44720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
44721         and isnanf multiarch implementations.
44722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
44723         file.
44724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
44725         file.
44726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
44727         file.
44728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
44729         file.
44730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
44731         multiarch isnan for PowerPC32.
44732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
44733         New file.
44734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
44735         New file.
44736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
44737         multiarch isnanf for PowerPC32.
44739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
44740         and sqrtf multiarch implementations.
44741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
44742         file.
44743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
44744         file.
44745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
44746         multiarch sqrt for PowerPC32.
44747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
44748         file.
44749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
44750         file.
44751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
44752         multiarch sqrtf for PowerPC32.
44754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
44755         and llroundf multiarch implementations.
44756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
44757         New file.
44758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
44759         New file.
44760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
44761         New file.
44762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
44763         file: multiarch llround for PowerPC32.
44764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
44765         file: multiarch llroundf for PowerPC32.
44767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
44768         multiarch PowerPC32 fpu implementations.
44769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
44770         New file.
44771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
44772         New file.
44773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
44774         multiarch llrint for PowerPC32.
44775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
44776         New file.
44777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
44778         New file.
44779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
44780         file.
44782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
44784         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
44785         file.
44786         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
44787         file.
44788         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
44789         file.
44790         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
44791         multiarch wordcopy for PPC32.
44792         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44793         wordcopy objects.
44794         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44795         (__libc_ifunc_impl_list): Likewise.
44796         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
44797         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
44798         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
44799         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
44800         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
44801         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
44803         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
44804         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
44805         file.
44806         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
44807         file.
44808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
44809         file.
44810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
44811         multiarch wcscpy for PPC32.
44812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
44813         multiarch objects.
44814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44815         (__libc_ifunc_impl_list): Likewise.
44816         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44817         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44818         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
44819         sysdeps/powerpc/power6/wcscpy.c.
44821         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
44822         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
44823         file.
44824         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
44825         file.
44826         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
44827         file.
44828         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
44829         multiarch wcsrchr for PPC32.
44830         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44831         multiarch objects.
44832         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44833         (__libc_ifunc_impl_list): Likewise.
44834         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
44835         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
44836         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
44837         sysdeps/powerpc/power6/wcsrchr.c.
44839         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
44840         file.
44841         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
44842         file.
44843         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
44844         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
44845         multiarch wcschr for PPc32.
44846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
44847         multiarch objects.
44848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44849         (__libc_ifunc_impl_list): Likewise.
44850         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
44851         * sysdeps/powerpc/power6/wcschr.c: ... to here.
44852         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
44853         sysdeps/powerpc/power6/wcschr.c.
44855         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
44856         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
44857         file.
44858         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
44859         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
44860         file: multiarch strchr for PPC32.
44861         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
44862         multiarch objects.
44863         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44864         (__libc_ifunc_impl_list): Likewise.
44866         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
44867         name.
44868         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
44869         file.
44870         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
44871         file.
44872         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
44873         multiarch strchrnul for PPC32.
44874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
44875         multiarch objects.
44876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44877         (__libc_ifunc_impl_list): Likewise.
44879         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
44880         file.
44881         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
44882         multiarch strncasecmp for PPC32.
44883         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
44884         file.
44885         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
44886         multiarch strncasecmp_l for PPC32.
44887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
44888         strncasecmp multiarch objects.
44889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44890         (__libc_ifunc_impl_list): Likewise.
44892         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
44893         file.
44894         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
44895         multiarch strncasecmp for PPC32.
44896         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44897         New file.
44898         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
44899         multiarch strcasecmp_l for PPC32.
44900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
44901         multiarch objects.
44902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44903         (__libc_ifunc_impl_list): Likewise.
44905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
44906         file.
44907         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
44908         file.
44909         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
44910         multiarch strncmp for PPC32.
44911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
44912         multiarch objects.
44913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44914         (__libc_ifunc_impl_list): Likewise.
44916         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
44917         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
44918         file.
44919         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
44920         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
44921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
44922         multiarch objects.
44923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44924         (__libc_ifunc_impl_list): Likewise.
44926         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
44927         file.
44928         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
44929         file.
44930         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
44931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
44932         multiarch objects.
44933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44934         (__libc_ifunc_impl_list): Likewise.
44936         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
44937         file.
44938         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
44939         file.
44940         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
44941         multiarch rawmemchr for PPC32.
44942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
44943         multiarch objects.
44944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44945         (__libc_ifunc_impl_list): Likewise.
44947         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
44948         file.
44949         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
44950         file.
44951         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
44952         file: memrchr multiarch for PPC32.
44953         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
44954         multiarch objects.
44955         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
44956         (__libc_ifunc_impl_list): Likewise.
44958         * string/memchr.c (__memchr): Using macro to redefine symbol name.
44959         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
44960         file.
44961         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
44962         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
44963         multiarch memchr for PPC32.
44964         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
44965         multiarch objects.
44966         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44967         (__libc_ifunc_impl_list): Likewise.
44969         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
44970         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44971         file.
44972         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
44973         file.
44974         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
44975         file: multiarch mempcpy for PPC32.
44976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
44977         multiarch objects.
44978         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44979         (__libc_ifunc_impl_list): Likewise.
44981         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
44982         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
44983         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
44984         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
44985         multiarch bzero for PPC32.
44986         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
44987         file.
44988         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
44989         file.
44990         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
44991         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
44992         file: multiarch memset for PPC32.
44993         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
44994         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44995         memset multiarch objects.
44996         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44997         (__libc_ifunc_impl_list): Likewise.
44999         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45000         file.
45001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
45002         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
45003         memcmp for PPC32.
45004         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
45005         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
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/memcpy-a2.S: New file.
45011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45012         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45013         file.
45014         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45015         file.
45016         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45017         file.
45018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45019         multiarch memcpy for PPC32.
45020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45021         multiarch objects.
45022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45023         (__libc_ifunc_impl_list): Likewise.
45025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45026         support multiarch for POWER/PPC32.
45027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45028         Likewise.
45029         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45031         Implies file to make multiarch folder appers before the fpu and
45032         default folder for power4 configuration.
45034 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45036         * scripts/bench.pl: Append volatile keyword to type.
45038 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45040         * sysdeps/sh/sotruss-lib.c: New file.
45041         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45043 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45047 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45049         [BZ #6810]
45050         * math/w_tgamma.c: Include <errno.h>.
45051         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45052         * math/w_tgammaf.c: Include <errno.h>.
45053         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45054         * math/w_tgammal.c: Include <errno.h>.
45055         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45056         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45057         underflow.  Add more tgamma tests.
45058         * math/auto-libm-test-out: Regenerated.
45059         * sysdeps/i386/fpu/libm-test-ulps: Update.
45060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45062         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45063         sin, sinh, tan, tanh, tgamma, y0 and y1.
45064         * math/auto-libm-test-out: Regenerated.
45065         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45066         (TEST_COND_x86): Likewise.
45067         (M_E2l): Remove macro.
45068         (M_E3l): Likewise.
45069         (M_2_SQRT_PIl): Likewise.
45070         (M_SQRT_PIl): Likewise.
45071         (M_1_DIV_El): Likewise.
45072         (log_test_data): Use AUTO_TESTS_f_f.
45073         (log10_test_data): Likewise.
45074         (log1p_test_data): Likewise.
45075         (log2_test_data): Likewise.
45076         (sin_test_data): Likewise.
45077         (sin_tonearest_test_data): Likewise.
45078         (sin_towardzero_test_data): Likewise.
45079         (sin_downward_test_data): Likewise.
45080         (sin_upward_test_data): Likewise.
45081         (sinh_test_data): Likewise.
45082         (sinh_tonearest_test_data): Likewise.
45083         (sinh_towardzero_test_data): Likewise.
45084         (sinh_downward_test_data): Likewise.
45085         (sinh_upward_test_data): Likewise.
45086         (tan_test_data): Likewise.
45087         (tan_tonearest_test_data): Likewise.
45088         (tan_towardzero_test_data): Likewise.
45089         (tan_downward_test_data): Likewise.
45090         (tan_upward_test_data): Likewise.
45091         (tanh_test_data): Likewise.
45092         (tgamma_test_data): Likewise.
45093         (y0_test_data): Likewise.
45094         (y1_test_data): Likewise.
45095         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45096         (special_real_inputs): Add pi/4.
45097         * sysdeps/i386/fpu/libm-test-ulps: Update.
45098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45100 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45102         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45103         "longjmp_target" static probes.
45104         (__longjmp): Rename to __longjmp_symbol.
45105         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45106         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45107         on which longjmp to generate.
45108         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45109         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45110         probe.
45111         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45112         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45113         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45114         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45115         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45116         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45118         __longjmp_symbol based on which __longjmp to generate.
45119         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45120         probe.
45121         (setjmp): Rename to setjmp_symbol.
45122         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45123         (_setjmp): Rename to _setjmp_symbol.
45124         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45125         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45126         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45127         which setjmp to generate.
45128         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45129         "longjmp_target" static probes.
45131 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45133         * benchtests/README: Add note about output arguments.
45134         * benchtests/bench-sincos.c: Remove file.
45135         * benchtests/sincos-inputs: New file.
45136         * scripts/bench.pl: Identify output arguments and define
45137         static variables for them.
45139         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45141         [BZ #15941]
45142         * Makefile (INSTALL): Add install-plain.texi as the primary
45143         dependency.
45144         * manual/install-plain.texi: New file.
45145         * manual/install.texi: Include node directive only for
45146         non-plaintext output.
45148 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45150         * stdlib/longlong.h: Update from GCC.
45152         [BZ #6807]
45153         [BZ #15901]
45154         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45155         * math/w_j0f.c (y0f): Likewise.
45156         * math/w_j0l.c (__y0l): Likewise.
45157         * math/w_j1.c (y1): Likewise.
45158         * math/w_j1f.c (y1f): Likewise.
45159         * math/w_j1l.c (__y1l): Likewise.
45160         * math/w_jn.c (yn): Likewise.
45161         * math/w_jnf.c (ynf): Likewise.
45162         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45163         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45164         value for Bessel function domain errors outside _SVID_ mode.
45165         Adjust sign of return value for yn (negative integer, 0).
45166         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45167         by zero in return for negative x and set sign appropriately for
45168         negative n.
45169         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45170         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45171         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45172         expectations in error cases.
45173         (y1_test_data): Likewise.
45174         (yn_test_data): Likewise.
45175         * sysdeps/i386/fpu/libm-test-ulps: Update.
45176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45178 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45180         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45181         "64" to "64-v1".  Add "64-v2".
45182         (abi-64-options): Rename to ...
45183         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45184         (abi-64-condition): Rename to ...
45185         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45186         (abi-64-ld-soname): Rename to ...
45187         (abi-64-v1-ld-soname): ... this.
45188         (abi-64-v2-options): Define.
45189         (abi-64-v2-condition): Likewise.
45190         (abi-64-v2-ld-soname): Likewise.
45191         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45192         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45197 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45198             Alan Modra  <amodra@gmail.com>
45200         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45201         New versions for use with the ELFv2 ABI.
45202         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45203         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45204         declaration.
45205         (struct La_ppc64v2_retval): Likewise.
45206         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45207         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45208         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45209         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45210         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45211         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45212         Do not save or restore CR.
45213         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45214         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45215         return values for ELFv2 ABI.  Fix location of FPR return registers.
45216         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45217         updated values for _CALL_ELF == 2.
45218         (La_regs, La_retval, int_retval): Likewise.
45220 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45222         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45223         (FRAME_MIN_SIZE_PARM): Likewise.
45224         (FRAME_BACKCHAIN): Likewise.
45225         (FRAME_CR_SAVE): Likewise.
45226         (FRAME_LR_SAVE): Likewise.
45227         (FRAME_TOC_SAVE): Likewise.
45228         (FRAME_PARM_SAVE): Likewise.
45229         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45230         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45231         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45232         (call_mcount_parm_offset): New macro.
45233         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45234         (PROF): Use symbolic stack frame offsets.
45235         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45236         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45237         Redefine in terms of FRAME_MIN_SIZE.
45238         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45239         (_dl_profile_resolve): Likewise.  Update comment.
45240         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45241         symbols stack frame offsets.
45242         (__sigsetjmp): Likewise.
45243         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45244         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45245         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45246         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45249         (FRAME_BACKCHAIN): Remove.
45250         (FRAME_CR_SAVE): Likewise.
45251         (FRAME_LR_SAVE): Likewise.
45252         (FRAME_COMPILER_DW): Likewise.
45253         (FRAME_LINKER_DW): Likewise.
45254         (FRAME_TOC_SAVE): Likewise.
45255         (FRAME_PARM_SAVE): Likewise.
45256         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45257         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45258         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45260         (CHECK_SP): Use symbolic stack frame offsets.
45261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45262         zone" instead of caller's parameter save area for temp storage.
45263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45264         Likewise.  Also, use symbolic stack frame offsets.
45265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45266         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45267         our own stack frame instead of the caller's.
45268         (__socket): Use symbolic stack frame offsets.
45270 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45271             Alan Modra  <amodra@gmail.com>
45273         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45274         Define.
45275         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45276         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45277         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45278         New function.
45279         (elf_machine_fixup_plt): Call it.
45280         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45281         reloc arguments.
45282         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45283         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45284         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45285         r2 before calling target.
45287 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45288             Alan Modra  <amodra@gmail.com>
45290         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45291         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45292         versions of macros to support ELFv2 ABI.
45293         (LOCALENTRY): New macro.
45294         (ENTRY, EALIGN): Use it.
45295         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45296         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45297         fall through into ENTRY entry point.
45298         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45299         Only define if _CALL_ELF != 2.
45301         (elf_machine_matches_host): Verify ABI version matches.
45302         (RTLD_START): Use LOCALENTRY.
45303         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45304         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45305         (PLT_ENTRY_WORDS): New macro.
45306         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45307         (elf_machine_runtime_setup): Support ELFv2 ABI.
45308         (elf_machine_fixup_plt): Likewise.
45309         (elf_machine_plt_conflict): Likewise.
45310         (resolve_ifunc): Likewise.
45311         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45312         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45313         Likewise.
45314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45315         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45317         (makecontext): Support ELFv2 ABI.
45318         * elf/elf.h (EF_PPC64_ABI): Define.
45320 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45322         * sysdeps/powerpc/powerpc64/sysdep.h
45323         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45324         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45325         (ENTRY) [ASSEMBLER]: ... but instead here ...
45326         (EALIGN) [ASSEMBLER]: ... and here.
45327         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45328         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45329         (ENTRY_2) [!ASSEMBLER]: Use it.
45330         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45331         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45332         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45333         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45334         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45336         Use PPC64_LOAD_FUNCPTR.
45338         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45340 2013-12-04  Alan Modra  <amodra@gmail.com>
45342         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45343         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45344         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45345         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45347         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45348         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45349         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45350         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45351         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45352         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45354 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45357         (__makecontext): Fix incorrect CFI when backtracing out of
45358         context created via makecontext.
45359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45360         (__setcontext): Fix incorrect CFI during switch to new context.
45361         (__novec_setcontext): Likewise.
45363 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45365         [BZ #4772]
45366         * time/strptime_l.c (__strptime_internal): Allow modifiers
45367         in strptime.
45368         * time/tst-strptime.c (day_tests): Add testcase.
45370 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45372         * scripts/bench.pl: Skip over blank lines.
45374 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45376         [BZ #926]
45377         * manual/time.texi (Calendar Time): Clarify what timezone functions
45378         use.
45380 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45384 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45386         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45387         implementation.
45388         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45389         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45390         * debug/memset_chk.c (__memset_chk): Likewise.
45391         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45392         * debug/strncpy_chk.c: Likewise.
45394 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45396         [BZ #15268]
45397         [BZ #15425]
45398         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45399         (__ieee754_exp): For possibly underflowing results, check size of
45400         result and force underflow exception if required.
45401         * math/auto-libm-test-in: Add more tests of exp.
45402         * math/auto-libm-test-out: Regenerated.
45403         * sysdeps/i386/fpu/libm-test-ulps: Update.
45404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45406         [BZ #16283]
45407         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45408         * math/w_exp2f.c (__exp2f): Likewise.
45409         * math/w_exp2l.c (__exp2l): Likewise.
45410         * math/auto-libm-test-in: Do not allow missing errno on exp2
45411         underflow.
45412         * math/auto-libm-test-out: Regenerated.
45414 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45416         [BZ #16274]
45417         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45418         handle filename validation.
45419         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45420         (do_open): Delete.
45422 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45424         [BZ #6786]
45425         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45426         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45427         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45428         <float.h>.
45429         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45430         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45431         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45432         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45433         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45434         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45435         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45436         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45437         Add more erfc tests.
45438         * math/auto-libm-test-out: Regenerated.
45439         * sysdeps/i386/fpu/libm-test-ulps: Update.
45440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45442         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45443         exp2, expm1, j0 and j1.
45444         * math/auto-libm-test-out: Regenerated.
45445         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45446         (erfc_test_data): Likewise.
45447         (exp_test_data): Likewise.
45448         (exp_tonearest_test_data): Likewise.
45449         (exp_towardzero_test_data): Likewise.
45450         (exp_downward_test_data): Likewise.
45451         (exp_upward_test_data): Likewise.
45452         (exp10_test_data): Likewise.
45453         (exp2_test_data): Likewise.
45454         (expm1_test_data): Likewise.
45455         (j0_test_data): Likewise.
45456         (j1_test_data): Likewise.
45457         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45458         (input_flag_type): Add flag_xfail_rounding.
45459         (input_flags): Add xfail-rounding.
45460         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45461         (output_for_one_input_case): Handle flag_xfail_rounding.
45462         * sysdeps/i386/fpu/libm-test-ulps: Update.
45463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45465 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45467         [BZ #16289]
45468         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45469         division by 0.
45471 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45473         [BZ #16195]
45474         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45475         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45476         (STAP_PROBE0): New macro.
45477         (STAP_PROBE1): Likewise.
45478         (STAP_PROBE2): Likewise.
45479         (STAP_PROBE3): Likewise.
45480         (STAP_PROBE4): Likewise.
45482 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45484         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45486 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45488         * benchtests/Makefile (bench): Add sqrt.
45489         (LDLIBS-bench-sqrt): New.
45490         * benchtests/sqrt-input: New.
45492 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45494         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45495         (GAIH_EAI): Likewise.
45496         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45497         (gaih_inet): Likewise.
45498         (getaddrinfo): Don't use GAIH_EAI.
45500         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45501         (struct gaih): Remove definition.
45503 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45505         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45506         Use HERRNOP directly.
45508 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45512 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45514         * math/gen-auto-libm-tests.c (test_functions): Add more
45515         single-argument functions.
45516         (special_fill_pi_2): New function.
45517         (special_fill_minus_pi_2): Likewise.
45518         (special_fill_pi_6): Likewise.
45519         (special_fill_minus_pi_6): Likewise.
45520         (special_fill_pi_3): Likewise.
45521         (special_fill_2pi_3): Likewise.
45522         (special_fill_e): Likewise.
45523         (special_fill_1_e): Likewise.
45524         (special_fill_e_minus_1): Likewise.
45525         (special_real_inputs): Add more special inputs.
45526         (output_for_one_input_case): Do not require ERANGE on underflow to
45527         zero if round-to-nearest result does not underflow to zero, unless
45528         exact results required.
45529         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45530         atan, atanh, cbrt, cos and cosh.
45531         * math/auto-libm-test-out: Regenerated.
45532         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
45533         (acos_tonearest_test_data): Likewise.
45534         (acos_towardzero_test_data): Likewise.
45535         (acos_downward_test_data): Likewise.
45536         (acos_upward_test_data): Likewise.
45537         (acosh_test_data): Likewise.
45538         (asin_test_data): Likewise.
45539         (asin_tonearest_test_data): Likewise.
45540         (asin_towardzero_test_data): Likewise.
45541         (asin_upward_test_data): Likewise.
45542         (asinh_test_data): Likewise.
45543         (atan_test_data): Likewise.
45544         (atanh_test_data): Likewise.
45545         (cbrt_test_data): Likewise.
45546         (cos_test_data): Likewise.
45547         (cos_tonearest_test_data): Likewise.
45548         (cos_towardzero_test_data): Likewise.
45549         (cos_downward_test_data): Likewise.
45550         (cos_upward_test_data): Likewise.
45551         (cosh_test_data): Likewise.
45552         (cosh_tonearest_test_data): Likewise.
45553         (cosh_towardzero_test_data): Likewise.
45554         (cosh_downward_test_data): Likewise.
45555         (cosh_upward_test_data): Likewise.
45556         * sysdeps/i386/fpu/libm-test-ulps: Update.
45557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45559 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
45561         [BZ #6787]
45562         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
45563         * math/w_exp10f.c (__exp10f): Likewise.
45564         * math/w_exp10l.c (__exp10l): Likewise.
45565         * math/libm-test.inc (exp10_test_data): Add more tests and expect
45566         errno settings in existing tests.
45568         [BZ #14032]
45569         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
45570         precision control set to double precision.
45571         * sysdeps/i386/fpu/w_sqrt.c: New file.
45572         * math/auto-libm-test-in: Add more tests.
45573         * math/auto-libm-test-out: Update.
45575         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
45576         (sqrt_test_tonearest): New function.
45577         (sqrt_towardzero_test_data): New variable.
45578         (sqrt_test_towardzero): New function.
45579         (sqrt_downward_test_data): New variable.
45580         (sqrt_test_downward): New function.
45581         (sqrt_upward_test_data): New variable.
45582         (sqrt_test_upward): New function.
45583         (main): Call the new functions.
45585         * math/gen-auto-libm-tests.c: New file.
45586         * math/auto-libm-test-in: Likewise.
45587         * math/auto-libm-test-out: New generated file.
45588         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
45589         variables.
45590         (%beautify): Add generated representations of zero.
45591         (top level): Set $auto_input and call parse_auto_input.
45592         (beautify): Remove trailing "f" from hex float constants.
45593         (parse_args): Handle XFAIL_TEST.
45594         (convert_condition): New function.
45595         (or_value): Likewise.
45596         (or_cond_value): Likewise.
45597         (generate_testfile): Handle AUTO_TESTS_* lines.
45598         (parse_auto_input): New function.
45599         * math/libm-test.inc (XFAIL_TEST): New macro.
45600         (ERRNO_UNCHANGED): Update value.
45601         (ERRNO_EDOM): Likewise.
45602         (ERRNO_ERANGE): Likewise.
45603         (IGNORE_RESULT): Likewise.
45604         (TEST_COND_flt_32): New macro.
45605         (TEST_COND_dbl_64): Likewise.
45606         (TEST_COND_ldbl_96_intel): Likewise.
45607         (TEST_COND_ldbl_96_m68k): Likewise.
45608         (TEST_COND_ldbl_128): Likewise.
45609         (TEST_COND_ldbl_128ibm): Likewise.
45610         (TEST_COND_long32): Likewise.
45611         (TEST_COND_long64): Likewise.
45612         (TEST_COND_before_rounding): Likewise.
45613         (TEST_COND_after_rounding): Likewise.
45614         (enable_test): Handle XFAIL_TEST flag.
45615         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
45616         with finite results.
45617         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
45618         auto-libm-test-out.
45620 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45621             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45623         [BZ #16214]
45624         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
45625         __tls_get_addr_internal instead of __tls_get_offset in order to
45626         avoid GOT pointer dependency.  Make rtld export
45627         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
45628         __tls_get_addr since we are a __tls_get_offset platform.
45629         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
45630         GOT pointer being set up before.
45631         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
45633 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
45635         * manual/math.texi (Errors in Math Functions): Document accuracy
45636         goals.
45638         [BZ #15004]
45639         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
45640         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
45641         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45642         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45643         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45644         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45645         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45646         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45647         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45648         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45649         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45650         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45651         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45652         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45653         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45654         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45656         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
45657         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
45658         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
45659         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
45660         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
45661         Likewise.
45662         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
45663         Likewise.
45664         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
45665         Likewise.
45666         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
45667         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
45668         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
45669         atomic-feupdateenv and flt-rounds.
45670         * sysdeps/powerpc/nofpu/Versions (libc): Add
45671         __atomic_feholdexcept, __atomic_feclearexcept,
45672         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
45673         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
45674         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
45675         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
45676         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
45677         here.
45678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
45679         Update.
45681         * manual/arith.texi (FP Exceptions): Document that exceptions may
45682         not be raised when matherr is used.
45683         (Math Error Reporting): Document overflow in directed rounding
45684         modes.  Document that errno may not be set when finite values are
45685         returned on overflow.  Document intent to set errno on underflow
45686         only for underflow to zero.
45688         [BZ #16271]
45689         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
45690         round-to-nearest then adjust result for other rounding modes.
45691         * include/fenv.h (fegetround): Use libm_hidden_proto.
45692         * math/fegetround.c (fegetround): Use libm_hidden_def.
45693         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
45694         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
45695         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
45696         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
45697         Likewise.
45698         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
45699         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45700         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
45701         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
45703 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45705         [BZ #16077]
45706         * nss/Versions (libnss_files): Add
45707         _nss_files_gethostbyname3_r.
45708         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
45709         New function.
45710         (HOST_DB_LOOKUP): Remove macro.
45711         (_nss_files_gethostbyname_r): Implement function without the
45712         HOST_DB_LOOKUP macro.
45713         (_nss_files_gethostbyname2_r): Likewise.
45715 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
45717         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
45719 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
45721         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
45722         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
45723         warning.
45725 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45727         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
45728         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
45729         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45730         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
45731         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
45732         __fe_nomask_env_priv and attribute_hidden.
45733         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
45734         (libc_feupdateenv_test_ppc): Likewise.
45735         (libc_feresetround_ppc): Likewise.
45736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
45737         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
45738         compat_symbol macro.
45739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
45740         (__fe_nomask_env): Likewise.
45741         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
45743 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45745         * string/Makefile: Remove ifunc tests.
45746         * string/test-string.h: Define TEST_IFUNC.
45747         * string/test-bcopy-ifunc.c: Remove.
45748         * string/test-bzero-ifunc.c: Likewise.
45749         * string/test-memccpy-ifunc.c: Likewise.
45750         * string/test-memchr-ifunc.c: Likewise.
45751         * string/test-memcmp-ifunc.c: Likewise.
45752         * string/test-memcpy-ifunc.c: Likewise.
45753         * string/test-memmem-ifunc.c: Likewise.
45754         * string/test-memmove-ifunc.c: Likewise.
45755         * string/test-mempcpy-ifunc.c: Likewise.
45756         * string/test-memrchr-ifunc.c: Likewise.
45757         * string/test-memset-ifunc.c: Likewise.
45758         * string/test-rawmemchr-ifunc.c: Likewise.
45759         * string/test-stpcpy-ifunc.c: Likewise.
45760         * string/test-stpncpy-ifunc.c: Likewise.
45761         * string/test-strcasecmp-ifunc.c: Likewise.
45762         * string/test-strcasestr-ifunc.c: Likewise.
45763         * string/test-strcat-ifunc.c: Likewise.
45764         * string/test-strchr-ifunc.c: Likewise.
45765         * string/test-strchrnul-ifunc.c: Likewise.
45766         * string/test-strcmp-ifunc.c: Likewise.
45767         * string/test-strcpy-ifunc.c: Likewise.
45768         * string/test-strcspn-ifunc.c: Likewise.
45769         * string/test-strlen-ifunc.c: Likewise.
45770         * string/test-strncasecmp-ifunc.c: Likewise.
45771         * string/test-strncat-ifunc.c: Likewise.
45772         * string/test-strncmp-ifunc.c: Likewise.
45773         * string/test-strncpy-ifunc.c: Likewise.
45774         * string/test-strnlen-ifunc.c: Likewise.
45775         * string/test-strpbrk-ifunc.c: Likewise.
45776         * string/test-strrchr-ifunc.c: Likewise.
45777         * string/test-strspn-ifunc.c: Likewise.
45778         * string/test-strstr-ifunc.c: Likewise.
45780 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45782         * benchtests/Makefile: Remove ifunc tests.
45783         * benchtests/bench-string.h: Define TEST_IFUNC.
45784         * benchtests/bench-bcopy-ifunc.c: Remove.
45785         * benchtests/bench-bzero-ifunc.c: Likewise.
45786         * benchtests/bench-memccpy-ifunc.c: Likewise.
45787         * benchtests/bench-memchr-ifunc.c: Likewise.
45788         * benchtests/bench-memcmp-ifunc.c: Likewise.
45789         * benchtests/bench-memcpy-ifunc.c: Likewise.
45790         * benchtests/bench-memmem-ifunc.c: Likewise.
45791         * benchtests/bench-memmove-ifunc.c: Likewise.
45792         * benchtests/bench-mempcpy-ifunc.c: Likewise.
45793         * benchtests/bench-memrchr-ifunc.c: Likewise.
45794         * benchtests/bench-memset-ifunc.c: Likewise.
45795         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
45796         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
45797         * benchtests/bench-stpcpy-ifunc.c: Likewise.
45798         * benchtests/bench-stpncpy-ifunc.c: Likewise.
45799         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
45800         * benchtests/bench-strcasestr-ifunc.c: Likewise.
45801         * benchtests/bench-strcat-ifunc.c: Likewise.
45802         * benchtests/bench-strchr-ifunc.c: Likewise.
45803         * benchtests/bench-strchrnul-ifunc.c: Likewise.
45804         * benchtests/bench-strcmp-ifunc.c: Likewise.
45805         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
45806         * benchtests/bench-strcpy-ifunc.c: Likewise.
45807         * benchtests/bench-strcspn-ifunc.c: Likewise.
45808         * benchtests/bench-strlen-ifunc.c: Likewise.
45809         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
45810         * benchtests/bench-strncat-ifunc.c: Likewise.
45811         * benchtests/bench-strncmp-ifunc.c: Likewise.
45812         * benchtests/bench-strncpy-ifunc.c: Likewise.
45813         * benchtests/bench-strnlen-ifunc.c: Likewise.
45814         * benchtests/bench-strpbrk-ifunc.c: Likewise.
45815         * benchtests/bench-strrchr-ifunc.c: Likewise.
45816         * benchtests/bench-strsep-ifunc.c: Likewise.
45817         * benchtests/bench-strspn-ifunc.c: Likewise.
45818         * benchtests/bench-strstr-ifunc.c: Likewise.
45820 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45822         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
45824 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
45826         * resolv/netdb.h: Use __glibc_reserved instead __unused.
45827         * rt/aio.h: Likewise.
45828         * sysdeps/gnu/bits/utmp.h: Likewise.
45829         * sysdeps/gnu/bits/utmpx.h: Likewise.
45830         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
45831         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
45832         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
45833         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
45834         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
45835         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
45836         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
45837         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
45838         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
45839         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
45840         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
45841         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
45842         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
45843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
45844         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
45845         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
45846         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
45847         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
45848         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
45849         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
45850         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
45851         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
45852         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
45853         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45854         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
45855         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45856         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
45857         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
45858         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
45859         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
45860         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
45861         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
45862         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
45863         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45864         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
45865         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
45866         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
45867         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
45868         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
45869         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
45870         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
45871         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
45873 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
45875         [BZ #16245]
45876         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
45877         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
45879 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
45881         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
45882         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
45883         Likewise.
45885 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45887         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
45888         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
45889         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
45890         (__fesetround): Remove define.
45891         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
45892         rounding and exceptions handling.
45893         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
45894         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
45895         (__fe_nomask_env): Likewise.
45896         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
45897         __fegetround instead of fegetround.
45898         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
45899         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
45901 2013-11-21  Roland McGrath  <roland@hack.frob.com>
45903         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
45904         it's there.
45906         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
45908 2013-11-21  Meador Inge  <meadori@codesourcery.com>
45910         [BZ #11157]
45911         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
45912         (encrypt_r): Likewise.
45913         * malloc/obstack.h (obstack_free): Likewise.
45914         * posix/unistd.h (encrypt): Likewise.
45916 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
45918         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
45919         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
45920         DL_CALL_DT_FINI() that call the functions directly.
45921         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
45922         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
45923         * elf/dl-fini.c: Likewise.
45925 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
45927         * malloc/hooks.c (memalign_check): Add alignment rounding.
45928         * malloc/malloc.c (_mid_memalign): New function.
45929         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
45930         Implement by calling _mid_memalign.
45931         * manual/probes.texi (Memory Allocation Probes): Remove
45932         memory_valloc_retry and memory_pvalloc_retry.
45934 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45936         * locale/programs/locarchive.c (open_archive): Add const
45937         qualifier to ARCHIVEFNAME and copy default fname to
45938         DEFAULT_FNAME.
45940         [BZ #15601]
45941         * libio/tst-widetext.input: Rename Oriya to Odia.
45942         * locale/iso-639.def: Likewise.
45944         * manual/probes.texi (Mathematical Function Probes): Add
45945         documentation for sin, cos, asin and acos probes.
45946         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
45947         (__sin32): Add slowasin probe.
45948         (__cos32): Add slowacos probe.
45949         (__mpsin): Add slowsin probe.
45950         (__mpcos): Add slowcos probe.
45952 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
45954         [BZ #15483]
45955         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
45956         thread-local __sim_exceptions_thread and global
45957         __sim_exceptions_global.
45958         (__sim_disabled_exceptions): Change to thread-local
45959         __sim_disabled_exceptions_thread and global
45960         __sim_disabled_exceptions_global.
45961         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45962         and global __sim_round_mode_global.
45963         (__simulate_exceptions): Use thread-local floating-point state and
45964         set global state from it as needed.
45965         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
45966         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
45967         __sim_round_mode_thread.
45968         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
45969         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
45970         and global __sim_exceptions_global.
45971         (__sim_disabled_exceptions): Change to thread-local
45972         __sim_disabled_exceptions_thread and global
45973         __sim_disabled_exceptions_global.
45974         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
45975         and global __sim_round_mode_global.
45976         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
45977         (SIM_SET_GLOBAL): Likewise.
45978         * sysdeps/powerpc/soft-fp/sfp-machine.h
45979         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
45980         __sim_round_mode_thread.
45981         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
45982         __sim_disabled_exceptions_thread.
45983         (__sim_exceptions): Change to __sim_exceptions_thread.
45984         (__sim_disabled_exceptions): Change to
45985         __sim_disabled_exceptions_thread.
45986         (__sim_round_mode): Change to __sim_round_mode_thread.
45987         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
45988         thread-local floating-point state and set global state from it as
45989         needed.
45990         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
45991         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
45992         (__sim_disabled_exceptions): Remove extern declaration.
45993         (feenableexcept): Use thread-local floating-point state and set
45994         global state from it as needed.
45995         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
45996         extern declaration.
45997         (__sim_disabled_exceptions): Likewise.
45998         (__sim_round_mode): Likewise.
45999         (__fegetenv): Use thread-local floating-point state.
46000         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46001         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46002         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
46003         floating-point state and set global state from it as needed.
46004         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
46005         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
46006         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
46007         Likewise.
46008         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46009         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46010         Likewise.
46011         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46012         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46013         Use __sim_round_mode_thread.
46014         * math/test-fenv-tls.c: New file.
46015         * math/Makefile (tests): Add test-fenv-tls.
46016         ($(objpfx)test-fenv-tls): Depend on
46017         $(common-objpfx)nptl/libpthread.so.
46019 2013-11-19  Andreas Schwab  <schwab@suse.de>
46021         * locale/programs/locale.c (show_info): Decode wordarray elements.
46022         * locale/categories.def (LC_MONETARY): Add element for
46023         _NL_MONETARY_CRNCYSTR.
46024         * locale/C-monetary.c (conversion_rate): New variable.
46025         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46026         element.
46028 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46030         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46031         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46033 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46035         * elf/Makefile (tst-auxv): New test.
46036         * elf/tst-auxv.c: New
46037         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46039 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46041         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46042         (hidden_proto): Caller changed.
46043         (hidden_tls_proto): New macro.
46044         (libc_hidden_tls_proto): Likewise.
46045         (rtld_hidden_tls_proto): Likewise.
46046         (libm_hidden_tls_proto): Likewise.
46047         (libresolv_hidden_tls_proto): Likewise.
46048         (librt_hidden_tls_proto): Likewise.
46049         (libdl_hidden_tls_proto): Likewise.
46050         (libnss_files_hidden_tls_proto): Likewise.
46051         (libnsl_hidden_tls_proto): Likewise.
46052         (libnss_nisplus_hidden_tls_proto): Likewise.
46053         (libutil_hidden_tls_proto): Likewise.
46055 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46057         [BZ #10253]
46058         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46059         (decompose_rpath): Defer expansion to fillin_rpath.
46060         (_dl_init_paths): Pass linkmap to fillin_rpath.
46062 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46064         * benchtests/Makefile: Add strsep.
46065         * benchtests/bench-strsep.c: New file: strsep benchtest.
46066         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46068 2013-11-18  Andreas Schwab  <schwab@suse.de>
46070         * locale/programs/locale.c (show_info) [case byte]: Check for
46071         '\377' instead of '\177'.
46072         * locale/C-monetary.c (not_available): Always use "\377".
46073         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46074         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46075         detect unavailable sign_posn locale elements.
46076         * locale/localeconv.c (__localeconv): For grouping and
46077         mon_grouping handle "\177" and "\377" like no grouping.
46078         (INT_ELEM): New macro.  Use it to set all numeric members.
46079         * locale/programs/ld-monetary.c (monetary_read)
46080         <tok_mon_grouping>: Normalize single -1 to the empty string.
46081         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46082         Likewise.
46084 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46086         [BZ #16055]
46087         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46088         when we match (nil).
46089         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46091 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46093         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46094         (NO_TEST_INLINE): Update value.
46095         (ERRNO_UNCHANGED): Likewise.
46096         (ERRNO_EDOM): Likewise.
46097         (ERRNO_ERANGE): Likewise.
46098         (IGNORE_RESULT): Likewise.
46099         (check_float_internal): Check signs of NaN results if
46100         TEST_NAN_SIGN used.
46101         (check_complex): Pass TEST_NAN_SIGN flag through to second
46102         check_float_internal call.
46103         (copysign_test_data): Add tests with quiet NaNs as second
46104         argument.  Use TEST_NAN_SIGN.
46105         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46106         TEST_NAN_SIGN.
46107         (signbit_test_data): Add tests of quiet NaN argument.
46108         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46110         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46111         $ignore_result.
46112         (parse_args): Handle function results specified as IGNORE.
46113         * math/libm-test.inc (IGNORE_RESULT): New macro.
46114         (check_float_internal): Do not check numerical result if flag
46115         IGNORE_RESULT set.
46116         (check_complex): Pass through IGNORE_RESULT to second
46117         check_float_internal call.
46118         (check_int): Do not check numerical result if flag IGNORE_RESULT
46119         set.
46120         (check_long): Likewise.
46121         (check_bool): Likewise.
46122         (check_longlong): Likewise.
46123         (lrint_test_data): Add tests of infinite and NaN arguments.
46124         (lrint_tonearest_test_data): Likewise.
46125         (lrint_towardzero_test_data): Likewise.
46126         (lrint_downward_test_data): Likewise.
46127         (lrint_upward_test_data): Likewise.
46128         (llrint_test_data): Likewise.
46129         (llrint_tonearest_test_data): Likewise.
46130         (llrint_towardzero_test_data): Likewise.
46131         (llrint_downward_test_data): Likewise.
46132         (llrint_upward_test_data): Likewise.
46133         (lround_test_data): Likewise.
46134         (llround_test_data): Likewise.
46136         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46137         (ERRNO_UNCHANGED): Update value.
46138         (ERRNO_EDOM): Likewise.
46139         (ERRNO_ERANGE): Likewise.
46140         (NO_TEST_INLINE_FLOAT): New macro.
46141         (NO_TEST_INLINE_DOUBLE): Likewise.
46142         (enable_test): New function.
46143         (RUN_TEST_f_f): Check enable_test before running test.
46144         (RUN_TEST_2_f): Likewise.
46145         (RUN_TEST_fff_f): Likewise.
46146         (RUN_TEST_c_f): Likewise.
46147         (RUN_TEST_f_f1): Likewise.
46148         (RUN_TEST_fF_f1): Likewise.
46149         (RUN_TEST_fI_f1): Likewise.
46150         (RUN_TEST_ffI_f1): Likewise.
46151         (RUN_TEST_c_c): Likewise.
46152         (RUN_TEST_cc_c): Likewise.
46153         (RUN_TEST_f_i): Likewise.
46154         (RUN_TEST_f_i_tg): Likewise.
46155         (RUN_TEST_ff_i_tg): Likewise.
46156         (RUN_TEST_f_b): Likewise.
46157         (RUN_TEST_f_b_tg): Likewise.
46158         (RUN_TEST_f_l): Likewise.
46159         (RUN_TEST_f_L): Likewise.
46160         (RUN_TEST_fFF_11): Likewise.
46161         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46162         conditionals.
46163         (cosh_test_data): Likewise.
46164         (exp_test_data): Likewise.
46165         (expm1_test_data): Likewise.
46166         (hypot_test_data): Likewise.
46167         (pow_test_data): Likewise.
46168         (sinh_test_data): Likewise.
46169         (tanh_test_data): Likewise.
46170         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46171         flags argument.
46173         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46174         tests with quiet NaN input and output.
46175         (acosh_test_data): Likewise.
46176         (asin_test_data): Likewise.
46177         (asinh_test_data): Likewise.
46178         (atan_test_data): Likewise.
46179         (atanh_test_data): Likewise.
46180         (atan2_test_data): Likewise.
46181         (cbrt_test_data): Likewise.
46182         (cos_test_data): Likewise.
46183         (cosh_test_data): Likewise.
46184         (erf_test_data): Likewise.
46185         (erfc_test_data): Likewise.
46186         (exp_test_data): Likewise.
46187         (exp10_test_data): Likewise.
46188         (exp2_test_data): Likewise.
46189         (expm1_test_data): Likewise.
46190         (hypot_test_data): Likewise.
46191         (j0_test_data): Likewise.
46192         (j1_test_data): Likewise.
46193         (jn_test_data): Likewise.
46194         (lgamma_test_data): Likewise.
46195         (log_test_data): Likewise.
46196         (log10_test_data): Likewise.
46197         (log1p_test_data): Likewise.
46198         (log2_test_data): Likewise.
46199         (pow_test_data): Likewise.
46200         (scalb_test_data): Likewise.
46201         (sin_test_data): Likewise.
46202         (sincos_test_data): Likewise.
46203         (sinh_test_data): Likewise.
46204         (tan_test_data): Likewise.
46205         (tanh_test_data): Likewise.
46206         (tgamma_test_data): Likewise.
46207         (y0_test_data): Likewise.
46208         (y1_test_data): Likewise.
46209         (yn_test_data): Likewise.
46211         [BZ #16167]
46212         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46213         argument being NaN and avoid computations with second argument in
46214         that case.
46215         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46216         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46217         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46219 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46221         * locale/iso-639.def: Add Chitwani Tharu (the).
46223 2013-11-14  Andreas Schwab  <schwab@suse.de>
46225         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46226         word instead of empty string.
46228 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46231         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46233         (__fe_nomask_env): Likewise.
46235 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46237         * benchtests/bench-timing.h: Include time.h.
46239 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46241         [BZ #15997]
46242         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46243         to 3.4.0 for x32.
46244         * sysdeps/unix/sysv/linux/configure: Regenerated.
46246 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46248         [BZ #16151]
46249         * stdlib/strtod_l.c (round_and_return): Do not consider
46250         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46251         exponent one less than half the least subnormal exponent.
46252         * stdlib/test-strtod-round-data: Add more tests.
46253         * stdlib/tst-strtod-round.c (tests): Regenerated.
46255 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46257         [BZ #14143]
46258         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46259         (__fe_mask_env): Likewise.
46260         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46261         libm_hidden_proto and add function prototype.
46262         (__fe_mask_env): Add function prototype.
46263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46264         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46266         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46268         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46270 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46272         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46273         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46275 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46277         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46278         of htab_find_slot().
46280 2013-11-11  David S. Miller  <davem@davemloft.net>
46282         [BZ #16150]
46283         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46284         symbol in the non-vis3 case in static builds.
46285         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46286         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46287         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46288         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46290 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46292         [BZ #387]
46293         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46294         it is empty.
46296 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46298         * benchtests/Makefile: Add bench-strtod.
46299         * benchtests/bench-strtod.c: New file: strtod benchtest
46301 2013-11-11  Andreas Schwab  <schwab@suse.de>
46303         [BZ #16153]
46304         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46305         terminating NUL in key length.
46307 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46309         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46310         Add artificial ODP entry for vDSO symbol for PPC64.
46311         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46312         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46314 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46316         [BZ #15374]
46317         * nss/getent.c (services_keys): Recognize services starting with digit.
46319 2013-11-06  David S. Miller  <davem@davemloft.net>
46321         [BZ #15985]
46322         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46323         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46325 2013-11-06  Will Newton  <will.newton@linaro.org>
46327         * manual/memory.texi (Malloc Examples): Remove register
46328         keyword from examples.
46330 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46332         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46334 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46336         [BZ #6981]
46337         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46338         depending on [__GCC_IEC_559 > 0].
46339         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46340         depending on [__GCC_IEC_559_COMPLEX > 0].
46342 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46344         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46345         to iso-639.def.
46347 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46349         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46351 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46353         [BZ #16112]
46354         * malloc/malloc (malloc_info): Do not handle first bin as
46355         special case.
46357 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46359         * locale/iso-639.def: Add Central Nahuatl (nhn).
46361 2013-11-01  Bruno Haible  <bruno@clisp.org>
46363         [BZ #7003]
46364         * manual/math.texi (BSD Random): Specify range upper bound as
46365         in POSIX.
46367 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46369         * locale/iso-639.def: Add Meadow Mari (mhr).
46371 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46373         [BZ #14752], [BZ #15763]
46374         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46375         Validate name.
46376         * rt/tst_shm.c: Add test for escaping directory.
46378 2013-10-31  Andreas Schwab  <schwab@suse.de>
46380         [BZ #15917]
46381         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46382         followed by 'x' as part of digit sequence.
46383         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46385 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46387         [BZ #16037]
46388         * configure.ac: allow GNU Make 4.0 and greater.
46389         * configure: Regenerated.
46391 2013-10-30  Will Newton  <will.newton@linaro.org>
46393         [BZ #16038]
46394         * malloc/hooks.c (memalign_check): Limit alignment to the
46395         maximum representable power of two.
46396         * malloc/malloc.c (__libc_memalign): Likewise.
46397         * malloc/tst-memalign.c (do_test): Add test for very
46398         large alignment values.
46399         * malloc/tst-posix_memalign.c (do_test): Likewise.
46401 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46403         [BZ #11087]
46404         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46405         (munmap_chunk): Likewise.
46406         (mremap_chunk): Likewise.
46408 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46410         [BZ #15799]
46411         * stdlib/div.c (div): Remove obsolete code.
46412         * stdlib/ldiv.c (ldiv): Likewise.
46413         * stdlib/lldiv.c (lldiv): Likewise.
46415 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46417         [BZ #16071]
46418         * nss/nss_files/files-XXX.c (get_contents_ret): New
46419         enumerator.
46420         (get_contents): New function.
46421         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46423 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46425         * configure.in: Moved to ...
46426         * configure.ac: ... here. Change reference to configure.in
46427         to configure.ac.
46428         * sysdeps/arm/preconfigure.ac: ... here.
46429         configure.in to configure.ac.
46430         * sysdeps/gnu/configure.in: Moved to ...
46431         * sysdeps/gnu/configure.ac: ... here.
46432         * sysdeps/i386/configure.in: Moved to ...
46433         * sysdeps/i386/configure.ac: ... here.
46434         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46435         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46436         * sysdeps/mach/configure.in: Moved to ...
46437         * sysdeps/mach/configure.ac: ... here.
46438         * sysdeps/mach/hurd/configure.in: Moved to ...
46439         * sysdeps/mach/hurd/configure.ac: ... here.
46440         * sysdeps/powerpc/configure.in: Moved to ...
46441         * sysdeps/powerpc/configure.ac: ... here.
46442         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46443         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46444         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46445         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46446         * sysdeps/s390/s390-32/configure.in: Moved to ...
46447         * sysdeps/s390/s390-32/configure.ac: ... here.
46448         * sysdeps/s390/s390-64/configure.in: Moved to ...
46449         * sysdeps/s390/s390-64/configure.ac: ... here.
46450         * sysdeps/sh/configure.in: Moved to ...
46451         * sysdeps/sh/configure.ac: ... here.
46452         * sysdeps/sparc/configure.in: Moved to ...
46453         * sysdeps/sparc/configure.ac: ... here.
46454         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46455         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46456         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46457         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46458         * sysdeps/x86_64/configure.in: Moved to ...
46459         * sysdeps/x86_64/configure.ac: ... here.
46460         * sysdeps/x86_64/preconfigure.in: Moved to ...
46461         * sysdeps/x86_64/preconfigure.ac: ... here.
46462         * aclocal.m4: Change reference to configure.in to configure.ac.
46463         * config.h.in: Likewise.
46464         * manual/install.texi: Likewise.
46465         * manual/maint.texi: Likewise.
46466         * Makefile: Likewise.
46467         * malloc/Makefile: Likewise.
46468         * nscd/Makefile: Likewise.
46469         * Makeconfig: Change reference to configure.in and
46470         preconfigure.in to configure.ac and preconfigure.ac
46471         respectively.
46472         * INSTALL: Regenerated.
46473         * configure: Likewise.
46474         * sysdeps/gnu/configure: Likewise.
46475         * sysdeps/i386/configure: Likewise.
46476         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46477         * sysdeps/mach/configure: Likewise.
46478         * sysdeps/mach/hurd/configure: Likewise.
46479         * sysdeps/powerpc/configure: Likewise.
46480         * sysdeps/powerpc/powerpc32/configure: Likewise.
46481         * sysdeps/powerpc/powerpc64/configure: Likewise.
46482         * sysdeps/s390/s390-32/configure: Likewise.
46483         * sysdeps/s390/s390-64/configure: Likewise.
46484         * sysdeps/sh/configure: Likewise.
46485         * sysdeps/sparc/configure: Likewise.
46486         * sysdeps/unix/sysv/linux/configure: Likewise.
46487         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46488         * sysdeps/x86_64/configure: Likewise.
46489         * sysdeps/x86_64/preconfigure: Likewise.
46491 2013-10-29  Andreas Schwab  <schwab@suse.de>
46493         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46495 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46497         * benchtests/pow-inputs: Add new inputs.
46499         * benchtests/exp-inputs: Add new inputs.
46501         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46502         conditional check for return value.
46503         (__cos32): Likewise.
46505 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46507         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46508         to provide a boost for large inputs with word alignment.
46509         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46510         implementation based on optimized PPC64 strcpy.
46511         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46512         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46513         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46514         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46516 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46518         [BZ #2801]
46519         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46521 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46523         [BZ #14876]
46524         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46525         * time/tst-strptime.c (day_tests): Add testcase.
46527 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46529         [BZ #14029]
46530         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46532 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
46534         [BZ #16074]
46535         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
46536         MAP_FAILED on error.
46538 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46540         [BZ #16072]
46541         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
46542         heap for large requests.
46544 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
46546         [BZ #9954]
46547         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
46548         result if the result has no associated interface.
46549         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
46550         interface for all 127.X.Y.Z addresses.
46552 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
46554         * locale/iso-639.def: Add Ligurian (lij)
46556 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
46558         [BZ #15825]
46559         * sunrpc/rpc_main.c: Document rpcgen -5.
46561 2013-10-19  Michael Stahl  <mstahl@redhat.com>
46563         * elf/rtld.c (do_preload): Print the reason why preloading failed.
46565 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46567         [BZ #10278]
46568         * posix/glob.c: Match only directories when trailing slash is present.
46569         * posix/tst-gnuglob.c (my_opendir): Do not open files.
46570         (main): Add testcase.
46572 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
46574         [BZ #15670]
46575         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
46577 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
46579         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
46580         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
46581         AUTH_DES and cindex for FIPS 140-2.
46582         (DES Encryption): Add cindex FIPS 46-3.
46584         * locale/locarchive.h (struct locarhandle): Add fname.
46585         * locale/programs/localedef.c (main): Pass ARGV[remaining]
46586         if an optional argument was specified to --list-archive,
46587         otherwise NULL.
46588         * locale/programs/locarchive.c (show_archive_content): Take new
46589         argument fname and pass it via ah.fname to open_archive.
46590         * locale/programs/localedef.h: Update decl.
46591         (open_archive): If AH->fname is non-null, open that file
46592         rather than the default file name, and don't ignore ENOENT.
46593         (create_archive): Set AH.fname to NULL.
46594         (delete_locales_from_archive): Likewise.
46595         (add_locales_to_archive): Likewise.
46596         * locale/programs/locfile.c (write_all_categories): Likewise.
46598 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
46599             Aldy Hernandez  <aldyh@redhat.com>
46601         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
46602         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
46603         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
46604         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
46605         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
46606         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
46607         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
46608         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
46609         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
46610         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
46611         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
46612         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
46613         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
46614         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
46615         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
46616         Likewise.
46617         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
46618         Likewise.
46619         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
46620         Likewise.
46621         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
46622         Likewise.
46623         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
46624         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
46625         Likewise.
46626         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
46627         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
46628         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
46629         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
46630         Likewise.
46631         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
46632         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
46633         * sysdeps/powerpc/preconfigure: Likewise.
46634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
46635         Likewise.
46636         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
46637         Replace contents of file by #include of <fenv_libc.h>.
46638         * sysdeps/powerpc/soft-fp/sfp-machine.h
46639         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
46640         and <sys/prctl.h>.
46641         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
46642         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
46643         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
46644         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
46645         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
46646         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
46647         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
46648         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
46649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
46650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
46651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
46652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
46653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46654         Allow copysignl PLT reference to be missing.
46656 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
46657             Joseph Myers  <joseph@codesourcery.com
46659         [BZ #15948]
46660         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
46661         single character.
46662         (add_to_tablewc): Assert sequence of wide characters is nonempty.
46664 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46666         * elf/tst-tls-dlinfo.c: Don't include tls.h.
46667         * elf/tst-tls1.c: Likewise.
46668         * elf/tst-tls10.h: Likewise.
46669         * elf/tst-tls14.c: Likewise.
46670         * elf/tst-tls2.c: Likewise.
46671         * elf/tst-tls3.c: Likewise.
46672         * elf/tst-tls4.c: Likewise.
46673         * elf/tst-tls5.c: Likewise.
46674         * elf/tst-tls6.c: Likewise.
46675         * elf/tst-tls7.c: Likewise.
46676         * elf/tst-tls8.c: Likewise.
46677         * elf/tst-tls9.c: Likewise.
46678         * elf/tst-tlsmod1.c: Likewise.
46679         * elf/tst-tlsmod13.c: Likewise.
46680         * elf/tst-tlsmod13a.c: Likewise.
46681         * elf/tst-tlsmod14a.c: Likewise.
46682         * elf/tst-tlsmod16a.c: Likewise.
46683         * elf/tst-tlsmod16b.c: Likewise.
46684         * elf/tst-tlsmod2.c: Likewise.
46685         * elf/tst-tlsmod3.c: Likewise.
46686         * elf/tst-tlsmod4.c: Likewise.
46687         * elf/tst-tlsmod5.c: Likewise.
46688         * elf/tst-tlsmod6.c: Likewise.
46690 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
46692         [BZ #12486]
46693         * malloc/malloc.c: remove checks for statistics.
46695 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46697         [BZ #15277]
46698         * inet/inet_net.c (inet_network): Detect additional invalid strings.
46699         * inet/tst-network.c: Add testcase.
46701 2013-10-17  Andreas Schwab  <schwab@suse.de>
46703         [BZ #15218]
46704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
46705         to determine canonical name.
46707 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
46709         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
46710         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
46711         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46712         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46714         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46715         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
46716         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46717         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
46718         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46719         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46720         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46721         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46722         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46723         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46724         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46725         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46726         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46727         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46728         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46729         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46730         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46731         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46732         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
46733         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
46734         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46735         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46736         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
46737         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46738         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
46739         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46740         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46741         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46742         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46743         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46744         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46745         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46746         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46747         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46748         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46749         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46750         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46751         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46752         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46753         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46754         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46755         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46756         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46757         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46758         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46759         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46760         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46761         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46762         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46763         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46764         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46766         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46768 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
46770         [BZ #16041]
46771         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
46772         make result into a quiet NaN.
46774 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
46776         * soft-fp/adddf3.c: Fix horizontal whitespace.
46777         * soft-fp/addsf3.c: Likewise.
46778         * soft-fp/addtf3.c: Likewise.
46779         * soft-fp/divdf3.c: Likewise.
46780         * soft-fp/divsf3.c: Likewise.
46781         * soft-fp/divtf3.c: Likewise.
46782         * soft-fp/double.h: Likewise.
46783         * soft-fp/eqdf2.c: Likewise.
46784         * soft-fp/eqsf2.c: Likewise.
46785         * soft-fp/eqtf2.c: Likewise.
46786         * soft-fp/extenddftf2.c: Likewise.
46787         * soft-fp/extended.h: Likewise.
46788         * soft-fp/extendsfdf2.c: Likewise.
46789         * soft-fp/extendsftf2.c: Likewise.
46790         * soft-fp/extendxftf2.c: Likewise.
46791         * soft-fp/fixdfdi.c: Likewise.
46792         * soft-fp/fixdfsi.c: Likewise.
46793         * soft-fp/fixdfti.c: Likewise.
46794         * soft-fp/fixsfdi.c: Likewise.
46795         * soft-fp/fixsfsi.c: Likewise.
46796         * soft-fp/fixsfti.c: Likewise.
46797         * soft-fp/fixtfdi.c: Likewise.
46798         * soft-fp/fixtfsi.c: Likewise.
46799         * soft-fp/fixtfti.c: Likewise.
46800         * soft-fp/fixunsdfdi.c: Likewise.
46801         * soft-fp/fixunsdfsi.c: Likewise.
46802         * soft-fp/fixunsdfti.c: Likewise.
46803         * soft-fp/fixunssfdi.c: Likewise.
46804         * soft-fp/fixunssfsi.c: Likewise.
46805         * soft-fp/fixunssfti.c: Likewise.
46806         * soft-fp/fixunstfdi.c: Likewise.
46807         * soft-fp/fixunstfsi.c: Likewise.
46808         * soft-fp/fixunstfti.c: Likewise.
46809         * soft-fp/floatdidf.c: Likewise.
46810         * soft-fp/floatdisf.c: Likewise.
46811         * soft-fp/floatditf.c: Likewise.
46812         * soft-fp/floatsidf.c: Likewise.
46813         * soft-fp/floatsisf.c: Likewise.
46814         * soft-fp/floatsitf.c: Likewise.
46815         * soft-fp/floattidf.c: Likewise.
46816         * soft-fp/floattisf.c: Likewise.
46817         * soft-fp/floattitf.c: Likewise.
46818         * soft-fp/floatundidf.c: Likewise.
46819         * soft-fp/floatundisf.c: Likewise.
46820         * soft-fp/floatunditf.c: Likewise.
46821         * soft-fp/floatunsidf.c: Likewise.
46822         * soft-fp/floatunsisf.c: Likewise.
46823         * soft-fp/floatunsitf.c: Likewise.
46824         * soft-fp/floatuntidf.c: Likewise.
46825         * soft-fp/floatuntisf.c: Likewise.
46826         * soft-fp/floatuntitf.c: Likewise.
46827         * soft-fp/fmadf4.c: Likewise.
46828         * soft-fp/fmasf4.c: Likewise.
46829         * soft-fp/fmatf4.c: Likewise.
46830         * soft-fp/gedf2.c: Likewise.
46831         * soft-fp/gesf2.c: Likewise.
46832         * soft-fp/getf2.c: Likewise.
46833         * soft-fp/ledf2.c: Likewise.
46834         * soft-fp/lesf2.c: Likewise.
46835         * soft-fp/letf2.c: Likewise.
46836         * soft-fp/muldf3.c: Likewise.
46837         * soft-fp/mulsf3.c: Likewise.
46838         * soft-fp/multf3.c: Likewise.
46839         * soft-fp/negdf2.c: Likewise.
46840         * soft-fp/negsf2.c: Likewise.
46841         * soft-fp/negtf2.c: Likewise.
46842         * soft-fp/op-1.h: Likewise.
46843         * soft-fp/op-2.h: Likewise.
46844         * soft-fp/op-4.h: Likewise.
46845         * soft-fp/op-8.h: Likewise.
46846         * soft-fp/op-common.h: Likewise.
46847         * soft-fp/quad.h: Likewise.
46848         * soft-fp/single.h: Likewise.
46849         * soft-fp/soft-fp.h: Likewise.
46850         * soft-fp/sqrtdf2.c: Likewise.
46851         * soft-fp/sqrtsf2.c: Likewise.
46852         * soft-fp/sqrttf2.c: Likewise.
46853         * soft-fp/subdf3.c: Likewise.
46854         * soft-fp/subsf3.c: Likewise.
46855         * soft-fp/subtf3.c: Likewise.
46856         * soft-fp/truncdfsf2.c: Likewise.
46857         * soft-fp/trunctfdf2.c: Likewise.
46858         * soft-fp/trunctfsf2.c: Likewise.
46859         * soft-fp/trunctfxf2.c: Likewise.
46860         * soft-fp/unorddf2.c: Likewise.
46861         * soft-fp/unordsf2.c: Likewise.
46862         * soft-fp/unordtf2.c: Likewise.
46864 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
46866         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
46867         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
46869 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
46871         * elf/dl-libc.c: Clear initfini list after freeing.
46873 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
46875         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
46876         * soft-fp/addsf3.c: Likewise.
46877         * soft-fp/addtf3.c: Likewise.
46878         * soft-fp/divdf3.c: Likewise.
46879         * soft-fp/divsf3.c: Likewise.
46880         * soft-fp/divtf3.c: Likewise.
46881         * soft-fp/double.h: Likewise.
46882         * soft-fp/eqdf2.c: Likewise.
46883         * soft-fp/eqsf2.c: Likewise.
46884         * soft-fp/eqtf2.c: Likewise.
46885         * soft-fp/extenddftf2.c: Likewise.
46886         * soft-fp/extended.h: Likewise.
46887         * soft-fp/extendsfdf2.c: Likewise.
46888         * soft-fp/extendsftf2.c: Likewise.
46889         * soft-fp/extendxftf2.c: Likewise.
46890         * soft-fp/fixdfdi.c: Likewise.
46891         * soft-fp/fixdfsi.c: Likewise.
46892         * soft-fp/fixdfti.c: Likewise.
46893         * soft-fp/fixsfdi.c: Likewise.
46894         * soft-fp/fixsfsi.c: Likewise.
46895         * soft-fp/fixsfti.c: Likewise.
46896         * soft-fp/fixtfdi.c: Likewise.
46897         * soft-fp/fixtfsi.c: Likewise.
46898         * soft-fp/fixtfti.c: Likewise.
46899         * soft-fp/fixunsdfdi.c: Likewise.
46900         * soft-fp/fixunsdfsi.c: Likewise.
46901         * soft-fp/fixunsdfti.c: Likewise.
46902         * soft-fp/fixunssfdi.c: Likewise.
46903         * soft-fp/fixunssfsi.c: Likewise.
46904         * soft-fp/fixunssfti.c: Likewise.
46905         * soft-fp/fixunstfdi.c: Likewise.
46906         * soft-fp/fixunstfsi.c: Likewise.
46907         * soft-fp/fixunstfti.c: Likewise.
46908         * soft-fp/floatdidf.c: Likewise.
46909         * soft-fp/floatdisf.c: Likewise.
46910         * soft-fp/floatditf.c: Likewise.
46911         * soft-fp/floatsidf.c: Likewise.
46912         * soft-fp/floatsisf.c: Likewise.
46913         * soft-fp/floatsitf.c: Likewise.
46914         * soft-fp/floattidf.c: Likewise.
46915         * soft-fp/floattisf.c: Likewise.
46916         * soft-fp/floattitf.c: Likewise.
46917         * soft-fp/floatundidf.c: Likewise.
46918         * soft-fp/floatundisf.c: Likewise.
46919         * soft-fp/floatunsidf.c: Likewise.
46920         * soft-fp/floatunsisf.c: Likewise.
46921         * soft-fp/floatuntidf.c: Likewise.
46922         * soft-fp/floatuntisf.c: Likewise.
46923         * soft-fp/floatuntitf.c: Likewise.
46924         * soft-fp/fmadf4.c: Likewise.
46925         * soft-fp/fmasf4.c: Likewise.
46926         * soft-fp/fmatf4.c: Likewise.
46927         * soft-fp/gedf2.c: Likewise.
46928         * soft-fp/gesf2.c: Likewise.
46929         * soft-fp/getf2.c: Likewise.
46930         * soft-fp/ledf2.c: Likewise.
46931         * soft-fp/lesf2.c: Likewise.
46932         * soft-fp/letf2.c: Likewise.
46933         * soft-fp/muldf3.c: Likewise.
46934         * soft-fp/mulsf3.c: Likewise.
46935         * soft-fp/multf3.c: Likewise.
46936         * soft-fp/negdf2.c: Likewise.
46937         * soft-fp/negsf2.c: Likewise.
46938         * soft-fp/negtf2.c: Likewise.
46939         * soft-fp/op-1.h: Likewise.
46940         * soft-fp/op-2.h: Likewise.
46941         * soft-fp/op-4.h: Likewise.
46942         * soft-fp/op-8.h: Likewise.
46943         * soft-fp/op-common.h: Likewise.
46944         * soft-fp/quad.h: Likewise.
46945         * soft-fp/single.h: Likewise.
46946         * soft-fp/soft-fp.h: Likewise.
46947         * soft-fp/sqrtdf2.c: Likewise.
46948         * soft-fp/sqrtsf2.c: Likewise.
46949         * soft-fp/sqrttf2.c: Likewise.
46950         * soft-fp/subdf3.c: Likewise.
46951         * soft-fp/subsf3.c: Likewise.
46952         * soft-fp/subtf3.c: Likewise.
46953         * soft-fp/truncdfsf2.c: Likewise.
46954         * soft-fp/trunctfdf2.c: Likewise.
46955         * soft-fp/trunctfsf2.c: Likewise.
46956         * soft-fp/trunctfxf2.c: Likewise.
46957         * soft-fp/unorddf2.c: Likewise.
46958         * soft-fp/unordsf2.c: Likewise.
46959         * soft-fp/unordtf2.c: Likewise.
46961 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
46963         [BZ #15672]
46964         * misc/error.c (error_tail): Fix possible buffer overflow.
46966 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
46968         [BZ #13028]
46969         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
46970         address.
46972 2013-10-14  P. J. McDermott  <pj@pehjota.net>
46974         [BZ #832]
46975         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
46976         testing pipefail option.
46978 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
46980         * soft-fp/double.h: Indent preprocessor directives inside #if.
46981         * soft-fp/extended.h: Likewise.
46982         * soft-fp/op-2.h: Likewise.
46983         * soft-fp/op-4.h: Likewise.
46984         * soft-fp/op-common.h: Likewise.
46985         * soft-fp/quad.h: Likewise.
46986         * soft-fp/single.h: Likewise.
46987         * soft-fp/soft-fp.h: Likewise.
46989 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
46991         * iconv/iconv_prog.c: Fix typos.
46992         * stdio-common/psiginfo-data.h: Likewise.
46994 2013-10-12   Reuben Thomas <rrt@sc3d.org>
46996         [BZ #15764]
46997         * locale/setlocale.c: Fix typo.
46999 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47001         [BZ #16036]
47002         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
47003         signaling NaN arguments.
47004         * soft-fp/unordsf2.c (__unordsf2): Likewise.
47005         * soft-fp/unordtf2.c (__unordtf2): Likewise.
47007         [BZ #14910]
47008         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47009         unordered operands.
47010         * soft-fp/gesf2.c (__gesf2): Likewise.
47011         * soft-fp/getf2.c (__getf2): Likewise.
47012         * soft-fp/ledf2.c (__ledf2): Likewise.
47013         * soft-fp/lesf2.c (__lesf2): Likewise.
47014         * soft-fp/letf2.c (__letf2): Likewise.
47016         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47017         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47018         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47019         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47020         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47021         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47022         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47023         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47024         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47025         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47026         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47027         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47028         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47029         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47030         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47031         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47032         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47033         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47034         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47035         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47036         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47037         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47038         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47039         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47040         * soft-fp/floattidf.c (__floattidf): Likewise.
47041         * soft-fp/floattisf.c (__floattisf): Likewise.
47042         * soft-fp/floattitf.c (__floattitf): Likewise.
47043         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47044         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47045         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47046         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47047         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47048         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47049         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47050         * soft-fp/gesf2.c (__gesf2): Likewise.
47051         * soft-fp/getf2.c (__getf2): Likewise.
47052         * soft-fp/ledf2.c (__ledf2): Likewise.
47053         * soft-fp/lesf2.c (__lesf2): Likewise.
47054         * soft-fp/letf2.c (__letf2): Likewise.
47056         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47057         Undefine and redefine.
47058         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47059         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47060         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47061         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47062         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47063         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47064         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47065         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47066         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47067         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47068         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47069         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47070         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47071         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47072         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47074         [BZ #16032]
47075         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47076         without decrementing exponent if mantissa >= that for the
47077         denominator, not >.
47078         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47079         denominator, not >.  Decrement exponent in < case instead of
47080         incrementing in >= case.
47081         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47082         without decrementing exponent if mantissa >= that for the
47083         denominator, not >.
47085         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47086         computing saturated result for unsigned overflow.
47088 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47089             Jeff Law  <law@redhat.com>
47091         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47092         (atan2Mp): Add systemtap probe marker.
47093         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47094         (__ieee754_log): Add systemtap probe marker.
47095         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47096         (atanMp): Add systemtap probe marker.
47097         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47098         (tanMp): Add systemtap probe marker.
47099         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47100         (__slowexp): Add systemtap probe marker.
47101         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47102         (__slowpow): Add systemtap probe marker.
47103         * manual/probes.texi: Document probes.
47105 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47107         [BZ #15362]
47108         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47109         written.
47110         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47111         written.
47112         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47113         written to buffer but not flushed.
47114         * libio/iofwrite_u.c:  Likewise.
47115         * libio/iopadn.c:  Return bytes returned even if EOF was
47116         encountered.
47117         * libio/iowpadn.c:  Likewise.
47118         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47119         if _IO_padn does not write the whole buffer.
47120         [!COMPILE_WPRINTF] (PAD): Likewise.
47122 2013-10-10  David S. Miller  <davem@davemloft.net>
47124         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47125         directory block.
47127 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47129         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47130         instead of FSF address.
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         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47146         * soft-fp/fixdfti.c: Likewise.
47147         * soft-fp/fixsfti.c: Likewise.
47148         * soft-fp/fixtfti.c: Likewise.
47149         * soft-fp/fixunsdfti.c: Likewise.
47150         * soft-fp/fixunssfti.c: Likewise.
47151         * soft-fp/fixunstfti.c: Likewise.
47152         * soft-fp/floattidf.c: Likewise.
47153         * soft-fp/floattisf.c: Likewise.
47154         * soft-fp/floattitf.c: Likewise.
47155         * soft-fp/floatuntidf.c: Likewise.
47156         * soft-fp/floatuntisf.c: Likewise.
47157         * soft-fp/floatuntitf.c: Likewise.
47158         * soft-fp/trunctfxf2.c: Likewise.
47160 2013-10-10  David S. Miller  <davem@davemloft.net>
47162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47164 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47166         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47167         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47168         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47169         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47170         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47171         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47172         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47174         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47175         for NaNs before doing comparisons on argument.
47176         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47177         Likewise.
47179 2013-10-10  Will Newton  <will.newton@linaro.org>
47181         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47182         passed to _int_memalign does not overflow.
47184 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47186         * scripts/bench.pl: Add include-sources directive.
47187         * benchtests/README: Update documentation.
47189 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47191         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47192         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47193         instead of FP_INIT_ROUNDMODE.
47194         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47195         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47197         [BZ #16034]
47198         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47199         copy class of input value.
47200         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47201         not handle exceptions.
47202         * soft-fp/negsf2.c (__negsf2): Likewise.
47203         * soft-fp/negtf2.c (__negtf2): Likewise.
47204         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47206 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47208         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47209         semicolon.  From Linux kernel.
47211 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47213         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47215 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47217         [BZ #156]
47218         * manual/socket.texi: Added statement about buffer
47219         for gethostbyname2_r.
47221 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47223         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47224         Use .p2align directive instead, throughout.
47225         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47226         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47227         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47228         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47229         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47230         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47231         * sysdeps/x86_64/strchr.S: Likewise.
47232         * sysdeps/x86_64/strrchr.S: Likewise.
47234 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47236         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47238         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47240         * sysdeps/generic/math_private.h (__mpsin1): Remove
47241         declaration.
47242         (__mpcos1): Likewise.
47243         (__mpsin): New argument __range_reduce.
47244         (__mpcos): Likewise.
47245         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47246         (slow): Use __mpsin and __mpcos.
47247         (slow1): Likewise.
47248         (slow2): Likewise.
47249         (sloww): Likewise.
47250         (sloww1): Likewise.
47251         (sloww2): Likewise.
47252         (bsloww): Likewise.
47253         (bsloww1): Likewise.
47254         (bsloww2): Likewise.
47255         (cslow2): Likewise.
47256         (csloww): Likewise.
47257         (csloww1): Likewise.
47258         (csloww2): Likewise.
47259         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47260         range_reduce.  Merge in __mpsin1.
47261         (__mpcos): Likewise.
47262         (__mpsin1): Remove.
47263         (__mpcos1): Likewise.
47265 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47267         * locale/loadlocale.c (_nl_intern_locale_data): Use
47268         LOCFILE_ALIGNED_P.
47269         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47270         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47271         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47272         obstack data is appropriately aligned.
47273         (obstack_int32_grow_fast): Likewise.
47274         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47275         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47276         (add_locale_uint32_array): Likewise.
47278 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47280         * benchtests/Makefile: Remove ARGLIST and RET variables.
47281         ($(objpfx)bench-%.c): Pass only function name to the script.
47282         * benchtests/README: Update documentation.
47283         * benchtests/acos-inputs: Add new directives.
47284         * benchtests/acosh-inputs: Likewise.
47285         * benchtests/asin-inputs: Likewise.
47286         * benchtests/asinh-inputs: Likewise.
47287         * benchtests/atan-inputs: Likewise.
47288         * benchtests/atanh-inputs: Likewise.
47289         * benchtests/cos-inputs: Likewise.
47290         * benchtests/cosh-inputs: Likewise.
47291         * benchtests/exp-inputs: Likewise.
47292         * benchtests/log-inputs: Likewise.
47293         * benchtests/pow-inputs: Likewise.
47294         * benchtests/rint-inputs: Likewise.
47295         * benchtests/sin-inputs: Likewise.
47296         * benchtests/sinh-inputs: Likewise.
47297         * benchtests/tan-inputs: Likewise.
47298         * benchtests/tanh-inputs: Likewise.
47299         * scripts/bench.pl: Add support for new directives.
47301 2013-10-07  Alan Modra  <amodra@gmail.com>
47303         * README: Fix careless merge.
47305 2013-10-05  Alan Modra  <amodra@gmail.com>
47307         * NEWS: Mention powerpc64le support and bugs fixed.
47308         * README: Both big-endian and little-endian powerpc64 supported.
47310 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47312         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47313         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47314         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47315         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47317 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47319         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47320         match prototype.
47322 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47324         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47325         Move -mhard-float appending from
47326         ports/sysdeps/powerpc/powerpc32/Makefile.
47327         [$(with-fp) = yes] (ASFLAGS): Likewise.
47328         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47329         * sysdeps/powerpc/nofpu: Move directory from
47330         ports/sysdeps/powerpc/nofpu.
47331         * sysdeps/powerpc/soft-fp: Move directory from
47332         ports/sysdeps/powerpc/soft-fp.
47333         * sysdeps/powerpc/powerpc32/405: Move directory from
47334         ports/sysdeps/powerpc/powerpc32/405.
47335         * sysdeps/powerpc/powerpc32/440: Move directory from
47336         ports/sysdeps/powerpc/powerpc32/440.
47337         * sysdeps/powerpc/powerpc32/464: Move directory from
47338         ports/sysdeps/powerpc/powerpc32/464.
47339         * sysdeps/powerpc/powerpc32/476: Move directory from
47340         ports/sysdeps/powerpc/powerpc32/476.
47341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47342         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47344         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47346         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47348         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47350         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47351         * README: Update for powerpc-*-linux-gnu software floating point
47352         support in libc.
47354         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47355         case to powerpc/powerpc32*.
47356         * sysdeps/unix/sysv/linux/configure: Regenerated.
47358         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47359         (_FPU_MASK_OM): Define as 0x04.
47360         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47361         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47362         0x00c10080.
47363         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47364         0x0000003c.
47365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47368         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47369         getcontext_e500.
47370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47371         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47372         setcontext_e500.
47373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47374         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47375         and setcontext_e500.
47377 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47379         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47381 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47383         * manual/threads.texi (Default Thread Attributes): Fix typo.
47385 2013-10-04  Will Newton  <will.newton@linaro.org>
47387         * malloc/Makefile: Add tst-memalign.
47388         * malloc/tst-memalign.c: New file.
47390         * malloc/tst-posix_memalign.c: Add comments.
47391         (do_test): Add comments and call free on all potentially
47392         allocated pointers. Add space after cast.
47394         * malloc/tst-pvalloc.c: Add comments.
47395         (do_test): Add comments and call free on all potentially
47396         allocated pointers. Remove duplicate check for NULL pointer.
47397         Add space after cast.
47399         * malloc/tst-valloc.c: Add comments.
47400         (do_test): Add comments and call free on all potentially
47401         allocated pointers. Remove duplicate check for NULL pointer.
47402         Add space after cast.
47404 2013-10-04  Alan Modra  <amodra@gmail.com>
47406         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47407         Use stdint types in rather than __attribute__((mode())).
47408         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47410 2013-10-04  Alan Modra  <amodra@gmail.com>
47412         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47413         Correct handling of unaligned relocs for little-endian.
47414         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47416 2013-10-04  Alan Modra  <amodra@gmail.com>
47418         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47419         * configure: Regenerate.
47420         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47421         * shlib-versions: Likewise.
47423 2013-10-04  Alan Modra  <amodra@gmail.com>
47425         * string/tester.c (test_memrchr): Increment reported test cycle.
47427 2013-10-04  Alan Modra  <amodra@gmail.com>
47429         * string/test-memcpy.c (do_one_test): When reporting errors, print
47430         string address and don't overrun end of string.
47432 2013-10-04  Alan Modra  <amodra@gmail.com>
47434         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47435         insrdi.  Make better use of reg selection to speed exit slightly.
47436         Schedule entry path a little better.  Remove useless "are we done"
47437         checks on entry to main loop.  Handle wrapping around zero address.
47438         Correct main loop count.  Handle single left-over word from main
47439         loop inline rather than by using loop_small.  Remove extra word
47440         case in loop_small caused by wrong loop count.  Add little-endian
47441         support.
47442         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47443         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47444         cache hint.
47445         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47446         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47447         support.  Avoid rlwimi.
47448         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47450 2013-10-04  Alan Modra  <amodra@gmail.com>
47452         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47453         insrdi.  Formatting.
47454         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47455         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47456         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47457         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47458         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47459         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47461 2013-10-04  Alan Modra  <amodra@gmail.com>
47463         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47464         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47465         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47466         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47467         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47468         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47469         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47470         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47471         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47472         use of regs.  Use power7 mtocrf.  Tidy function tails.
47474 2013-10-04  Alan Modra  <amodra@gmail.com>
47476         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47477         Formatting.  Consistently use rXXX register defines or rN defines.
47478         Use early exit labels that avoid restoring unused non-volatile regs.
47479         Make cr field use more consistent with rWORDn compares.  Rename
47480         regs used as shift registers for unaligned loop, using rN defines
47481         for short lifetime/multiple use regs.
47482         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47483         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47484         addi 1,1,64 to pop stack frame.  Simplify return value code.
47485         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47487 2013-10-04  Alan Modra  <amodra@gmail.com>
47489         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47490         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47491         rather than rlwimi.
47492         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47493         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47494         little-endian support.  Correct typos.
47495         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47496         rather than rlwimi.
47497         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47498         in loop and entry code to keep "and." results.
47499         (strchr): Add little-endian support.  Comment.  Move cntlzd
47500         earlier in tail.
47501         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47503 2013-10-04  Alan Modra  <amodra@gmail.com>
47505         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47506         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47507         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47508         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47510 2013-10-04  Alan Modra  <amodra@gmail.com>
47512         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47513         (rTMP): Define as r11.
47514         (strcmp): Add little-endian support.  Optimise tail.
47515         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47516         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47517         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47518         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47519         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47520         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47521         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47523 2013-10-04  Alan Modra  <amodra@gmail.com>
47525         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47526         little-endian support.  Remove unnecessary "are we done" tests.
47527         Handle "s" wrapping around zero and extremely large "size".
47528         Correct main loop count.  Handle single left-over word from main
47529         loop inline rather than by using small_loop.  Correct comments.
47530         Delete "zero" tail, use "end_max" instead.
47531         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
47533 2013-10-04  Alan Modra  <amodra@gmail.com>
47535         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
47536         support.  Don't branch over align.
47537         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
47538         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
47539         support.  Rearrange tmp reg use to suit.  Comment.
47540         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
47542 2013-10-04  Alan Modra  <amodra@gmail.com>
47544         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
47546 2013-10-04  Alan Modra  <amodra@gmail.com>
47548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
47549         conditional form of branch and link when obtaining pc.
47550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
47552 2013-10-04  Alan Modra  <amodra@gmail.com>
47554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
47555         HIWORD/LOWORD.
47556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
47557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
47559 2013-10-04  Alan Modra  <amodra@gmail.com>
47561         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
47562         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
47563         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
47564         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
47565         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47566         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47567         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
47568         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47569         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
47570         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
47572 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47573             Alistair Popple <alistair@ozlabs.au.ibm.com>
47574             Alan Modra <amodra@gmail.com>
47576         [BZ #15723]
47577         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
47578         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
47579         _dl_hwcap access for little-endian.
47580         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
47581         destroy vmx regs when saving unaligned.
47582         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
47583         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
47584         destroy vmx regs when saving unaligned.
47586 2013-10-04  Alan Modra  <amodra@gmail.com>
47588         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
47589         Don't use a union to pack hi/low value.
47591 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47593         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
47594         for little-endian.
47595         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47596         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
47597         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
47598         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47599         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47601 2013-10-04  Alan Modra  <amodra@gmail.com>
47603         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
47604         constants to usual value for .cst8 section, and remove redundant
47605         high address load.
47606         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
47607         constant for 0x1p52.  Load little-endian words of double from
47608         correct stack offsets.
47610 2013-10-04  Alan Modra  <amodra@gmail.com>
47612         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
47613         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
47614         words of double from correct stack offsets.
47615         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
47616         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
47617         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47618         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47619         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47620         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47621         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47622         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
47623         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
47624         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47625         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47626         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47627         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47628         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47629         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47630         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
47631         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
47633 2013-10-04  Alan Modra  <amodra@gmail.com>
47635         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
47636         64-bit int/double union.
47637         (_FPU_SETCW): Likewise.
47638         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
47639         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
47641 2013-10-04  Alan Modra  <amodra@gmail.com>
47643         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
47644         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
47646 2013-10-04  Alan Modra  <amodra@gmail.com>
47648         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
47649         use vector int constants.
47650         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
47652 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47654         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
47655         array with long long.
47656         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
47657         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
47658         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
47659         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
47660         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
47661         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
47662         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
47663         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
47664         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
47665         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
47666         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
47667         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
47668         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
47670 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
47672         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
47673         (__signbit): Likewise.  Correct for little-endian.
47674         (__signbitl): Call __signbit.
47675         (lrint): Correct for little-endian.
47676         (lrintf): Call lrint.
47678 2013-10-04  Alan Modra  <amodra@gmail.com>
47680         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
47681         union 32-bit int array member with 64-bit int array.
47682         (t515, tm256): Double rather than long double.
47683         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
47685 2013-10-04  Alan Modra  <amodra@gmail.com>
47687         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
47688         Delete.
47689         (IEEE854_LONG_DOUBLE_BIAS): Delete.
47690         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
47691         version of math_ldbl.h.
47693 2013-10-04  Alan Modra  <amodra@gmail.com>
47695         [BZ #15734], [BZ #15735]
47696         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
47697         all uses of ieee875 long double macros and unions.  Simplify test
47698         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
47699         ldbl_extract_mantissa value for ix,iy exponents.  Properly
47700         normalize after ldbl_extract_mantissa, and don't add hidden bit
47701         already handled.  Don't treat low word of ieee854 mantissa like
47702         low word of IBM long double and mask off bit when testing for
47703         zero.
47704         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
47705         all uses of ieee875 long double macros and unions.  Simplify tests
47706         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
47707         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
47708         two1022, instead use their values.  Recognise that tests for large
47709         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
47710         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
47711         Rewrite all uses of ieee875 long double macros and unions.  Simplify
47712         test for 0.0L and nan.  Correct negation.
47713         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
47714         ieee875 long double macros and unions.  Correct output for large
47715         magnitude x.  Correct absolute value calculation.
47716         (__erfcl): Likewise.
47717         * math/libm-test.inc: Add tests for errors discovered in IBM long
47718         double versions of fmodl, remainderl, erfl and erfcl.
47720 2013-10-04  Alan Modra  <amodra@gmail.com>
47722         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
47723         all uses of ieee854 long double macros and unions.  Simplify tests
47724         for long doubles that are fully specified by the high double.
47725         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
47726         Likewise.
47727         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
47728         Remove dead code too.
47729         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
47730         (__ieee754_ynl): Likewise.
47731         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
47732         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
47733         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
47734         Remove dead code too.
47735         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
47736         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
47737         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
47738         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47739         Simplify.
47740         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
47741         Simplify.
47742         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
47743         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
47744         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
47745         Comment on variable precision.
47746         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
47747         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47748         Likewise.
47749         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
47750         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47751         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47752         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
47753         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
47755 2013-10-04  Alan Modra  <amodra@gmail.com>
47757         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
47758         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
47759         all uses of ieee854 long double macros and unions.
47760         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
47761         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47762         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
47763         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
47764         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
47765         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
47766         Likewise.
47767         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
47768         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47769         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
47770         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47771         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
47772         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
47773         Simplify sign and nan test too.
47774         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
47775         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
47776         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
47777         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
47778         Likewise.
47779         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
47780         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
47781         Likewise.
47782         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47783         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
47784         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
47785         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
47786         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
47787         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
47789 2013-10-04  Alan Modra  <amodra@gmail.com>
47791         * stdio-common/printf_size.c (__printf_size): Don't use
47792         union ieee854_long_double in fpnum union.
47793         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
47794         signbit macro to retrieve sign from long double.
47795         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
47796         retrieve sign from long double.
47797         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
47798         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
47799         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
47800         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47801         * math/test-misc.c (main): Don't use union ieee854_long_double.
47803 2013-10-04  Alan Modra  <amodra@gmail.com>
47805         [BZ #15680]
47806         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
47807         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
47808         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
47809         calculation.  Remove unnecessary test for denormal exponent.
47810         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
47811         Correct handling of denormals.  Avoid undefined shift behaviour.
47812         Correct normalisation of low mantissa when low double is denormal.
47813         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
47814         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
47815         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
47816         Correct normalisation of low mantissa.  Test for overflow of high
47817         mantissa and normalise.
47818         (ldbl_nearbyint): Use more readable constant for two52.
47819         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
47820         (__mpn_construct_long_double): Fix test for overflow of high
47821         mantissa and correct normalisation.  Avoid undefined shift.
47823 2013-10-04  Alan Modra  <amodra@gmail.com>
47825         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47826         (union ibm_extended_long_double): Define as an array of ieee754_double.
47827         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
47828         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
47829         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
47830         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47831         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47832         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
47833         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47834         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
47835         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47836         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
47837         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47839 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
47841         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
47842         page size instead of calling getpagesize.
47844         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
47845         (LOCFILE_ALIGN_MASK): Likewise.
47846         (LOCFILE_ALIGN_UP): Likewise.
47847         (LOCFILE_ALIGNED_P): Likewise.
47848         * locale/programs/ld-collate.c (collate_output): Use the new
47849         macros instead of __alignof__ (int32_t).
47850         * locale/weight.h (findidx): Likewise.
47852 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
47854         [BZ #431]
47855         * manual/string.texi: Fix strncat and wcsncat.
47857 2013-10-03  Brooks Moses  <bmoses@google.com>
47859         [BZ #15915]
47860         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
47861         * Makerules: ...here, and adjust associated comments.
47863 2013-10-02  Will Newton  <will.newton@linaro.org>
47865         * malloc/Makefile: Add tst-pvalloc.
47866         * malloc/tst-pvalloc.c: New file.
47868 2013-10-02  Will Newton  <will.newton@linaro.org>
47870         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
47871         improve test coverage.
47873 2013-10-02  Will Newton  <will.newton@linaro.org>
47875         * malloc/Makefile: Add tst-posix_memalign.
47876         * malloc/tst-posix_memalign.c: New file.
47878 2013-10-01  Eric Blake  <eblake@redhat.com>
47880         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
47881         Use __THROWNL rather than __THROW on static functions.
47883 2013-09-30  Petr Machata  <pmachata@redhat.com>
47885         * elf/elf.h (R_AARCH64_ABS16): New macro.
47886         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
47887         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
47888         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
47889         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
47890         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
47891         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
47892         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
47893         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
47894         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
47895         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
47896         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
47897         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
47898         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
47899         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
47900         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
47901         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
47902         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
47903         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
47904         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
47905         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
47906         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
47907         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
47908         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
47909         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
47910         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
47911         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
47912         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
47913         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
47914         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
47915         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
47916         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
47917         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
47918         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
47919         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
47920         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
47921         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
47922         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
47923         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
47924         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
47925         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
47926         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
47927         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
47928         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
47929         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
47930         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
47931         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
47932         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
47933         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
47934         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
47935         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
47936         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
47937         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
47938         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
47939         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
47940         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
47941         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
47942         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
47943         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
47944         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
47945         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
47946         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
47947         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
47948         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
47949         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
47950         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
47951         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
47952         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
47953         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
47954         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
47955         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
47956         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
47957         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
47958         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
47959         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
47960         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
47961         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
47962         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
47963         (R_AARCH64_TLSDESC_LDR): Likewise.
47964         (R_AARCH64_TLSDESC_ADD): Likewise.
47965         (R_AARCH64_TLSDESC_CALL): Likewise.
47967 2013-09-30  Andreas Schwab  <schwab@suse.de>
47969         [BZ #15048]
47970         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
47971         the nss database lookup.
47972         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47973         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47975 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
47977         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
47979 2013-09-28  P. J. McDermott  <pj@pehjota.net>
47981         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
47982         ${Bash-specific parameter/pattern/string} parameter expansion.
47983         * sysdeps/unix/make-syscalls.sh: Likewise.
47985 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47987         * sysdeps/sh/stackguard-macros.h: New file.
47989 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
47991         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47992         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
47993         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
47994         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
47995         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47996         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
47998 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48000         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48001         Fix thread ID register.
48003 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
48005         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
48006         [POSIX || UNIX98]: Require rather than permitting all symbols from
48007         <time.h>.
48008         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48009         element of struct sched_param.
48010         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48011         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48012         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48013         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48014         constant.
48016 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48018         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48019         argument calculation.
48021 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48023         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48024         Expect macro.
48025         [POSIX] (pthread_attr_t): Do not require type.
48026         [POSIX] (pthread_cond_t): Likewise.
48027         [POSIX] (pthread_condattr_t): Likewise.
48028         [POSIX] (pthread_key_t): Likewise.
48029         [POSIX] (pthread_mutex_t): Likewise.
48030         [POSIX] (pthread_mutexattr_t): Likewise.
48031         [POSIX] (pthread_once_t): Likewise.
48032         [POSIX] (pthread_t): Likewise.
48033         [POSIX-based standards] (pthread_atfork): Expect function.
48035 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48036             Richard Sandiford  <richard@codesourcery.com>
48038         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48039         (swap_endianness_p): New extern variable.
48040         (set_big_endian): New inline function.
48041         (maybe_swap_uint32): Likewise.
48042         (maybe_swap_uint32_array): Likewise.
48043         (maybe_swap_uint32_obstack): Likewise.
48044         * locale/programs/locfile.c: Include <stdbool.h>.
48045         (swap_endianness_p): New variable.
48046         (add_locale_uint32): Call maybe_swap_uint32.
48047         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48048         (write_locale_data): Call maybe_swap_uint32_array.
48049         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48050         maybe_swap_uint32.
48051         (obstack_int32_grow_fast): Likewise.
48052         (output_weightwc): Call maybe_swap_uint32_obstack.
48053         (collate_output): Likewise.
48054         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48055         (OPT_LITTLE_ENDIAN): Likewise.
48056         (options): Add --little-endian and --big-endian options.
48057         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48058         * locale/programs/locarchive.c: Include "locfile.h".
48059         (GET): New macro.
48060         (SET): Likewise.
48061         (INC): Likewise.
48062         (create_archive): Use the new macros to access fields of
48063         structures directly mapped from or written to locale archives.
48064         (oldlocrecentcmp): Likewise.
48065         (enlarge_archive): Likewise.
48066         (insert_name): Likewise.
48067         (add_alias): Likewise.
48068         (add_locale): Likewise.
48069         (delete_locales_from_archive): Likewise.
48070         (show_archive_content): Likewise.
48071         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48072         locale data.
48074 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48076         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48077         http://www.gnu.org/doc/freemanuals.texi.
48078         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48080 2013-09-24  Will Newton  <will.newton@linaro.org>
48082         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48083         macro.
48085 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48087         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48088         unsigned char.
48090 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48092         * manual/threads.texi (POSIX Threads): Fix a typo.
48094 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48096         [BZ #14547]
48097         * string/tst-strcoll-overflow.c: New test case.
48098         * string/Makefile (xtests): Add tst-strcoll-overflow.
48099         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48100         cache if string sizes may cause integer overflow.
48102         [BZ #14547]
48103         * string/strcoll_l.c (coll_seq): New members rule, idx,
48104         save_idx and back_us.
48105         (get_next_seq_nocache): New function.
48106         (do_compare_nocache): New function.
48107         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48108         when malloc fails.
48110 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48112         [BZ #15754]
48113         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48114         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48115         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48117         [BZ #15754]
48118         * elf/Makefile (tests): Add tst-ptrguard1.
48119         (tests-static): Add tst-ptrguard1-static.
48120         (tst-ptrguard1-ARGS): Define.
48121         (tst-ptrguard1-static-ARGS): Define.
48122         * elf/tst-ptrguard1.c: New file.
48123         * elf/tst-ptrguard1-static.c: New file.
48124         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48125         * sysdeps/i386/stackguard-macros.h: Likewise.
48126         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48127         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48128         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48129         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48130         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48131         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48133 2013-09-23  Hector Marco  <hecmargi@upv.es>
48134             Ismael Ripoll  <iripoll@disca.upv.es>
48135             Carlos O'Donell  <carlos@redhat.com>
48137         [BZ #15754]
48138         * sysdeps/generic/stackguard-macros.h: Define
48139         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48140         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48141         Define __pointer_chk_guard_local.
48142         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48143         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48145 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48147         [BZ #15859]
48148         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48150 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48152         * include/string.h (__ffs): Declare as hidden.
48153         * string/ffs.c (__ffs): Define as hidden.
48154         * sysdeps/i386/ffs.c (__ffs): Likewise.
48155         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48156         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48157         * sysdeps/s390/ffs.c (__ffs): Likewise.
48158         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48160 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48162         * NEWS: Mention malloc probes.
48164         * malloc/arena.c (new_heap): New memory_heap_new probe.
48165         (grow_heap): New memory_heap_more probe.
48166         (shrink_heap): New memory_heap_less probe.
48167         (heap_trim): New memory_heap_free probe.
48168         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48169         (systrim): New memory_sbrk_less probe.
48170         * manual/probes.texi: Document them.
48172         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48173         * manual/probes.texi: Document it.
48175         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48176         (__libc_realloc): Add memory_realloc_retry probe.
48177         (__libc_memalign): Add memory_memalign_retry probe.
48178         (__libc_valloc): Add memory_valloc_retry probe.
48179         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48180         (__libc_calloc): Add memory_calloc_retry probe.
48181         * manual/probes.texi: Document them.
48183         * malloc/arena.c (get_free_list): Add probe
48184         memory_arena_reuse_free_list.
48185         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48186         and memory_arena_reuse.
48187         (arena_get2) [!PER_THREAD]: Likewise.
48188         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48189         memory_arena_reuse_realloc.
48190         * manual/probes.texi: Document them.
48192         * malloc/malloc.c (__libc_free): Add
48193         memory_mallopt_free_dyn_thresholds probe.
48194         (__libc_mallopt): Add multiple memory_mallopt probes.
48195         * manual/probes.texi: Document them.
48197         * malloc/malloc.c: Include stap-probe.h.
48198         (__libc_mallopt): Add memory_mallopt probe.
48199         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48200         * manual/probes.texi: New.
48201         * manual/Makefile (chapters): Add probes.
48202         * manual/threads.texi: Set next node.
48204 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48206         [BZ #15963, #13985]
48207         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48208         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48209         Add `Chinese' to `nan' entry name.
48211 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48213         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48214         (POLYNOMIAL): Likewise.
48215         (TAYLOR_SINCOS): Likewise.
48216         (TAYLOR_SLOW): Likewise.
48217         (__sin): Use TAYLOR_SINCOS.
48218         (__cos): Likewise.
48219         (slow): Use TAYLOR_SLOW.
48220         (sloww): Likewise.
48221         (bsloww): Likewise.
48222         (csloww): Likewise.
48224 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48226         * stdlib/strtod_l.c: Fix buffer overrun.
48228 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48230         * benchtests/Makefile (bench): Add sincos.
48231         * benchtests/bench-sincos.c: New file.
48233         * math/libm-test.inc (cos_test_data): New test inputs.
48234         (sin_test_data): Likewise.
48236         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48237         macro.
48238         (__sin): Use it.
48239         (__cos): Likewise.
48240         (slow1): Likewise.
48241         (slow2): Likewise.
48242         (sloww1): Likewise.
48243         (sloww2): Likewise.
48244         (bsloww1): Likewise.
48245         (bsloww2): Likewise.
48246         (cslow2): Likewise.
48247         (csloww1): Likewise.
48248         (csloww2): Likewise.
48250         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48251         function.
48252         (__sin): Use it.
48253         (__cos): Likewise.
48255         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48256         gotos.
48257         (__cos): Likewise.
48259 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48261         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48262         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48263         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48264         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48265         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48266         * elf/cache.c (print_entry): Handle the new cache flags.
48268 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48269             Aldy Hernandez  <aldyh@redhat.com>
48271         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48272         Change condition to [_SOFT_FLOAT].
48273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48274         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48275         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48276         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48278         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48279         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48285         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48288         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48289         declaration.
48291 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48293         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48294         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48295         (__longjmp): Use LOAD_GP to load saved GPRs.
48296         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48297         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48298         (__sigsetjmp): Use SAVE_GP to save GPRs.
48300         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48301         Do not append -msoft-float.
48302         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48304 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48306         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48308 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48310         [BZ #15966]
48311         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48312         (_FPU_GETCW): Use initial "__" on variable and field names but not
48313         on macro parameter name.
48314         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48315         parentheses around reference to macro parameter.
48317 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48319         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48320         prototype.
48321         (ctype_startup): Use uint32_t in cast and sizeof for
48322         ctype->charnames.
48324 2013-09-11  Jia Liu  <proljc@gmail.com>
48326         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48327         __daddr_t_defined.
48328         [__FreeBSD__]: Likewise.
48330 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48333         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48334         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48335         (strchr): Remove __strchr_sse42 ifunc selection.
48336         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48337         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48339 2013-09-11  Will Newton  <will.newton@linaro.org>
48341         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48342         parameter to RES. Remove hardcoded 1000 value.
48343         * benchtests/bench-skeleton.c (main): Pass RES parameter
48344         to TIMING_INIT and multiply result by 1000.
48346 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48350 2013-09-11  Andreas Schwab  <schwab@suse.de>
48352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48353         if not defined.
48354         (O_TMPFILE) [__USE_GNU]: Define.
48355         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48356         Define.
48358 2013-09-11  Will Newton  <will.newton@linaro.org>
48360         [BZ #15857]
48361         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48362         does not overflow.
48364 2013-09-11  Will Newton  <will.newton@linaro.org>
48366         [BZ #15856]
48367         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48368         does not overflow.
48370 2013-09-11  Will Newton  <will.newton@linaro.org>
48372         [BZ #15855]
48373         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48374         does not overflow.
48376 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48378         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48379         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48380         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48381         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48382         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48384 2013-09-10  Allan McRae  <allan@archlinux.org>
48386         [BZ #15748]
48387         * manual/arith.texi (Parsing of Floats): Clarify
48388         cross-reference.
48390         [BZ #15849]
48391         * manual/install.texi (Running make install): Mention
48392         --enable-pt-chown.
48393         * INSTALL: Regenerated.
48395 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48397         * csu/init-first.c (_init): Remove the !SHARED condition around
48398         FPU control word initialization.
48399         * elf/dl-support.c (_dl_fpu_control): New variable.
48400         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48401         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48402         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48403         * math/test-fpucw-static.c: New file.
48404         * math/test-fpucw-ieee.c: New file.
48405         * math/test-fpucw-ieee-static.c: New file.
48406         * math/Makefile (tests): Add `test-fpucw-ieee' and
48407         `$(tests-static)'.
48408         (tests-static): New variable.
48409         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48410         dependency to...
48411         [($(build-shared),yes)]
48412         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48413         ... this.
48414         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48415         New dependency.
48417 2013-09-09  Allan McRae  <allan@archlinux.org>
48419         [BZ #15939]
48420         * manual/string.texi (Collation Functions): Fix typo in
48421         strcoll example.
48422         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48424         [BZ #15893]
48425         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48427         [BZ #15892]
48428         * libio/memstream.c (open_memstream): Fix memory leak.
48429         * libio/wmemstream.c (open_wmemstream): Likewise.
48431         [BZ #15895]
48432         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48434 2013-09-09  Will Newton  <will.newton@linaro.org>
48436         * malloc/Makefile: Add tst-realloc to tests.
48437         * malloc/tst-realloc.c: New file.
48439 2013-09-09  Allan McRae  <allan@archlinux.org>
48441         [BZ #15844]
48442         * COPYING: Update from GNU website to fix FSF address.
48443         * COPYING.LIB: Likewise.
48445 2013-09-06  David S. Miller  <davem@davemloft.net>
48447         * po/zh_TW.po: Update Chinese (traditional) translation from
48448         translation project.
48450 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48451             Joseph Myers  <joseph@codesourcery.com>
48453         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48454         "localeinfo.h".
48455         (obstack_chunk_alloc): New macro.
48456         (obstack_chunk_free): Likewise.
48457         (record_offset): New function.
48458         (init_locale_data): Likewise.
48459         (align_locale_data): Likewise.
48460         (add_locale_empty): Likewise.
48461         (add_locale_raw_data): Likewise.
48462         (add_locale_raw_obstack): Likewise.
48463         (add_locale_string): Likewise.
48464         (add_locale_wstring): Likewise.
48465         (add_locale_uint32): Likewise.
48466         (add_locale_uint32_array): Likewise.
48467         (add_locale_char): Likewise.
48468         (start_locale_structure): Likewise.
48469         (end_locale_structure): Likewise.
48470         (start_locale_prelude): Likewise.
48471         (end_locale_prelude): Likewise.
48472         (write_locale_data): Take locale_file structure rather than an
48473         iovec.
48474         * locale/programs/locfile.h: Include "obstack.h".
48475         (struct locale_file): Change to store locale file contents instead
48476         of header.
48477         (init_locale_data): New prototype.
48478         (align_locale_data): Likewise.
48479         (add_locale_empty): Likewise.
48480         (add_locale_raw_data): Likewise.
48481         (add_locale_raw_obstack): Likewise.
48482         (add_locale_string): Likewise.
48483         (add_locale_wstring): Likewise.
48484         (add_locale_uint32): Likewise.
48485         (add_locale_uint32_array): Likewise.
48486         (add_locale_char): Likewise.
48487         (start_locale_structure): Likewise.
48488         (end_locale_structure): Likewise.
48489         (start_locale_prelude): Likewise.
48490         (end_locale_prelude): Likewise.
48491         (write_locale_data): Update prototype.
48492         * locale/programs/3level.h (struct TABLE): Remove result field.
48493         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48494         Use new locale_file interface.
48495         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48496         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48497         * locale/programs/ld-address.c (address_output): Use new
48498         locale_file interface.
48499         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48500         NO_ADD_LOCALE.
48501         (collate_finish): Don't call collseq_table_finalize.
48502         (collate_output): Use new locale_file interface.
48503         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48504         in file.
48505         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48506         (TABLE): Move defines earlier in file.
48507         (ELEMENT): Likewise.
48508         (DEFAULT): Likewise.
48509         (wctrans_table_add): Move macro and inline function earlier in
48510         file.
48511         (struct wctype_table): Move type earlier in file.
48512         (add_locale_wctype_table): New static prototype.
48513         (struct locale_ctype_t): Use logical types instead of struct iovec
48514         pointers for members.
48515         (ctype_output): Use new locale_file interface.
48516         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48517         new locale_file interface.
48518         (allocate_arrays): Update for use of new locale_file interface.
48519         * locale/programs/ld-identification.c (identification_output): Use
48520         new locale_file interface.
48521         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48522         * locale/programs/ld-messages.c (messages_output): Likewise.
48523         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48524         * locale/programs/ld-name.c (name_output): Likewise.
48525         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48526         * locale/programs/ld-paper.c (paper_output): Likewise.
48527         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48528         * locale/programs/ld-time.c (time_output): Likewise.
48530 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48532         * benchtests/Makefile: Add memrchr benchmark.
48533         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
48534         benchmark as memrchr.
48535         * benchtests/bench-memrchr-ifunc.c: New file.
48536         * benchtests/bench-memrchr.c: New file.
48538 2013-09-06   Will Newton  <will.newton@linaro.org>
48540         * benchtests/Makefile (string-bench): Add memcpy.
48542 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
48543             Cong Wang  <amwang@redhat.com>
48545         [BZ #15850]
48546         * sysdeps/unix/sysv/linux/bits/in.h
48547         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
48548         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
48549         before __USE_KERNEL_IPV6_DEFS uses.
48550         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
48551         IPPROTO_BEETPH.
48552         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
48553         sockaddr_in6, or ipv6_mreq.
48555 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48557         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
48558         memory access for final bytes in some large inputs.
48559         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
48561 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48563         * string/test-memrchr.c: New file.
48564         * string/test-memrchr-ifunc.c: New file.
48565         * string/Makefile: Add new memrchr testcase.
48567 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
48569         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
48570         fanotify_init returns EPERM.
48572 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48574         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
48575         errors.
48576         (top level): Treat second token from macro or constant entries for
48577         allowed headers as allowed.
48578         * include/complex.h: Condition internal declarations on
48579         [!_ISOMAC].
48580         * include/fenv.h: Condition include of <stdbool.h> and internal
48581         declarations on [!_ISOMAC].
48583 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
48585         [BZ #15923]
48586         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
48588 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
48590         * configure.in (--enable-versioning): Remove configure option.
48591         (libc_cv_asm_symver_directive): Remove configure test.
48592         (libc_cv_ld_version_script_option): Likewise.
48593         (VERSIONING): Remove variable and AC_SUBST.
48594         (DO_VERSIONING): Remove AC_DEFINE.
48595         * configure: Regenerated.
48596         * config.h.in (DO_VERSIONING): Remove macro.
48597         * Makerules [$(versioning) = yes]: Change conditionals to
48598         [$(build-shared) = yes].
48599         * config.make.in (versioning): Remove variable.
48600         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
48601         [$(build-shared) = yes].
48602         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
48603         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
48604         * elf/Makefile [$(versioning) = yes]: Change conditionals to
48605         [$(build-shared) = yes].
48606         * extra-lib.mk [$(versioning) = yes]: Likewise.
48607         * hurd/Makefile [$(versioning) = yes]: Likewise.
48608         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
48609         [SHARED].
48610         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
48611         [SHARED].
48612         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48613         [SHARED && !NO_HIDDEN].
48614         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
48615         [SHARED].
48616         [SHARED && DO_VERSIONING]: Likewise..
48617         * libio/Makefile [$(versioning) = yes]: Change conditionals to
48618         [$(build-shared) = yes].
48619         * manual/install.texi (--disable-versioning): Remove
48620         documentation.
48621         * INSTALL: Regenerated.
48622         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
48623         to [SHARED].
48624         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
48625         [$(build-shared) = yes].
48626         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
48627         * sysdeps/i386/i686/multiarch/strstr-c.c
48628         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
48629         [SHARED && !NO_HIDDEN].
48630         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
48631         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
48632         * sysdeps/powerpc/powerpc32/dl-machine.c
48633         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
48634         * sysdeps/powerpc/powerpc32/sysdep.h
48635         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
48636         to [SHARED && PIC && !NO_HIDDEN].
48637         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
48638         conditional to [SHARED].
48640 2013-09-04   Will Newton  <will.newton@linaro.org>
48642         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
48643         * benchtests/bench-string.h: Include bench-timing.h instead
48644         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
48645         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
48646         call to HP_TIMING_DIFF_INIT.
48647         * benchtests/bench-memccpy.c: Use bench-timing.h macros
48648         instead of hp-timing.h macros.
48649         * benchtests/bench-memchr.c: Likewise.
48650         * benchtests/bench-memcmp.c: Likewise.
48651         * benchtests/bench-memcpy.c: Likewise.
48652         * benchtests/bench-memmem.c: Likewise.
48653         * benchtests/bench-memmove.c: Likewise.
48654         * benchtests/bench-memset.c: Likewise.
48655         * benchtests/bench-rawmemchr.c: Likewise.
48656         * benchtests/bench-strcasecmp.c: Likewise.
48657         * benchtests/bench-strcasestr.c: Likewise.
48658         * benchtests/bench-strcat.c: Likewise.
48659         * benchtests/bench-strchr.c: Likewise.
48660         * benchtests/bench-strcmp.c: Likewise.
48661         * benchtests/bench-strcpy.c: Likewise.
48662         * benchtests/bench-strcpy_chk.c: Likewise.
48663         * benchtests/bench-strlen.c: Likewise.
48664         * benchtests/bench-strncasecmp.c: Likewise.
48665         * benchtests/bench-strncat.c: Likewise.
48666         * benchtests/bench-strncmp.c: Likewise.
48667         * benchtests/bench-strncpy.c: Likewise.
48668         * benchtests/bench-strnlen.c: Likewise.
48669         * benchtests/bench-strpbrk.c: Likewise.
48670         * benchtests/bench-strrchr.c: Likewise.
48671         * benchtests/bench-strspn.c: Likewise.
48672         * benchtests/bench-strstr.c: Likewise.
48674 2013-09-04  Will Newton  <will.newton@linaro.org>
48676         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
48678 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
48680         [BZ #15427]
48681         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
48682         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
48683         * math/libm-test.inc (lgamma_test_data): Add more tests.
48684         * sysdeps/i386/fpu/libm-test-ulps: Update.
48685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48687 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
48689         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
48690         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48691         Add ifunc.
48692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48693         Add strcmp-sse2-unaligned
48694         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
48696 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48698         * Versions.def (libc): Add GLIBC_2.19.
48700 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
48702         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
48703         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
48705 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
48707         [BZ #14155]
48708         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
48709         intermediate calculations in recurrence.
48710         (__ieee754_ynf): Likewise.
48711         * math/libm-test.inc (jn_test_data): Do not allow spurious
48712         underflow exception.  Add more tests.
48713         (yn_test_data): Add more tests.
48714         * sysdeps/i386/fpu/libm-test-ulps: Update.
48715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48717 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
48719         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
48721 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48723         * csu/init-first.c: Fix then/than typos.
48724         * locale/programs/ld-collate.c: Likewise.
48725         * locale/programs/linereader.h: Likewise.
48726         * manual/charset.texi: Likewise.
48727         * manual/filesys.texi: Likewise.
48728         * manual/stdio.texi: Likewise.
48729         * manual/string.texi: Likewise.
48730         * stdlib/fmtmsg.c: Likewise.
48731         * sysdeps/i386/stpncpy.S: Likewise.
48732         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48733         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
48734         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48735         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
48737 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
48739         * elf/dl-open.c: Fix typos.
48740         * iconvdata/gbbig5.c: Likewise.
48741         * iconvdata/iso-2022-jp.c: Likewise.
48742         * iconv/gconv_int.h: Likewise.
48743         * iconv/loop.c: Likewise.
48744         * nis/rpcsvc/nis.h: Likewise.
48745         * resolv/ns_name.c: Likewise.
48746         * stdio-common/vfscanf.c: Likewise.
48747         * streams/stropts.h: Likewise.
48748         * sunrpc/rpc_thread.c: Likewise.
48749         * sysdeps/i386/strpbrk.S: Likewise.
48750         * sysdeps/ieee754/k_standard.c: Likewise.
48751         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48752         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48753         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
48754         * sysdeps/mach/hurd/profil.c: Likewise.
48755         * sysdeps/s390/dl-procinfo.h: Likewise.
48756         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
48757         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
48758         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
48759         * sysdeps/x86_64/dl-trampoline.S: Likewise.
48760         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48762 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
48764         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
48765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
48767 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
48769         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
48770         aix specific files.
48771         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
48772         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
48773         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
48774         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
48775         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
48776         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
48777         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
48778         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
48780 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48781             Roland McGrath  <roland@hack.frob.com>
48783         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
48784         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
48786 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48788         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
48789         __executable_start symbol instead of _start.
48791 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
48793         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
48794         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
48795         Move macros to...
48796         * sysdeps/gnu/ldsodefs.h: ... this new file.
48798         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
48799         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
48800         instead of ELFOSABI_LINUX.
48802         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
48803         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
48804         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
48805         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
48806         Likewise.
48807         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
48808         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
48809         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
48810         Likewise.
48811         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48812         (ibm_extended_long_double): Add ieee_nan member.
48813         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
48814         (do_test): New function.
48816         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
48817         TEST_TRUNC.
48818         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
48819         functions, renamed from truncdfsf_test, trunctfsf_test,
48820         trunctfdf_test.
48821         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
48822         functions.
48823         (do_test): Run all these.
48825 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
48827         * argp/argp-help.c: Fix typos.
48828         * argp/argp-parse.c: Likewise.
48829         * debug/backtracesyms.c: Likewise.
48830         * elf/elf.h: Likewise.
48831         * malloc/malloc.c: Likewise.
48832         * nis/nis_print.c: Likewise.
48833         * resolv/res_comp.c: Likewise.
48834         * stdlib/stdlib.h: Likewise.
48835         * sunrpc/clnt_tcp.c: Likewise.
48836         * sunrpc/clnt_udp.c: Likewise.
48837         * sunrpc/clnt_unix.c: Likewise.
48838         * sysdeps/unix/bsd/ptsname.c: Likewise.
48839         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48840         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
48841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
48842         Likewise.
48843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
48844         Likewise.
48845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
48846         Likewise.
48847         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
48849 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48851         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
48852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48854 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
48856         [BZ #15897]
48857         * dlfcn/Makefile (tests): Add bug-dl-leaf.
48858         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
48859         ($(objpfx)bug-dl-leaf): New rule.
48860         ($(objpfx)bug-dl-leaf.so): Likewise.
48861         ($(objpfx)bug-dl-leaf.out): Likewise.
48862         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
48863         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
48864         * dlfcn/bug-dl-leaf.c: New test.
48865         * dlfcn/bug-dl-leaf-lib.c: Likewise.
48866         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
48867         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
48868         (dlclose): Likewise.
48869         (dlmopen): Likewise.
48871 2013-08-27  Roland McGrath  <roland@hack.frob.com>
48873         * include/netdb.h [!_ISOMAC]:
48874         Don't include <tls.h>.
48875         (h_errno, __libc_h_errno): Move declaration and macros out of
48876         [_LIBC_REENTRANT].
48878         * include/resolv.h [_RESOLV_H_]:
48879         Don't include <tls.h>.
48880         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
48881         * resolv/res_libc.c: Don't include <tls.h>.
48882         (_res): Use __attribute__ ((nocommon)) in place of
48883         __attribute__ ((section (".bss"))).
48885         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
48886         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
48888         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
48890         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
48891         only under [SIOCGIFCONF && SIOCGIFNETMASK].
48893         * resolv/res_mkquery.c: Include <sys/time.h>.
48895         * inet/ifreq.c: Moved to ...
48896         * sysdeps/unix/ifreq.c: ... here.
48897         * inet/ifreq.c: New file, true stub version.
48899         * socket/sa_len.c: New file.
48900         * socket/Makefile (aux): Add it.
48901         * sysdeps/unix/sysv/linux/Makefile
48902         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
48903         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
48904         and #include <socket/sa_len.c>.
48905         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
48906         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
48908         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
48909         * bits/socket.h: ... here.
48911         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
48912         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
48913         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
48915 2013-08-27  Andreas Schwab  <schwab@suse.de>
48917         [BZ #15736]
48918         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
48919         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
48920         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
48921         * string/test-strcasecmp.c (test_main): Run tests in several
48922         locales.
48923         * string/test-strncasecmp.c (test_main): Likewise.
48925         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
48926         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
48927         to __strcasecmp_nonascii and __strncasecmp_nonascii.
48928         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
48929         (__strncasecmp_ssse3) [PIC]: Likewise.
48931 2013-08-26  Roland McGrath  <roland@hack.frob.com>
48933         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
48935         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
48936         instead of explicitly declaring xdecrypt.
48937         * nis/nss_nis/nis-publickey.c: Likewise.
48939 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48941         [BZ #15890]
48942         * nscd/aicache.c: Include res_hconf.h.
48943         (addhstaiX): Initialize res_hconf.
48945 2013-08-26  Andreas Schwab  <schwab@suse.de>
48947         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
48948         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
48950 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48952         * nscd/aicache.c (addhstaiX): Fix indentation.
48954 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
48956         * configure.ac: Quote $build_pt_chown test.
48957         * configure: Regenerated.
48959 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
48961         [BZ #15532]
48962         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
48963         * math/s_cexpf.c (__cexpf): Likewise.
48964         * math/s_cexpl.c (__cexpl): Likewise.
48965         * math/libm-test.inc (cexp_test_data): Correct expected return
48966         value for NaN + i0.  Add another test.
48968 2013-08-22  David S. Miller  <davem@davemloft.net>
48970         * po/ca.po: Update Catalan translation from translation project.
48971         * po/uk.po: Add Ukrainian translations from translation project.
48973 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
48975         [BZ #15797]
48976         * math/s_fdim.c (__fdim): Check for infinite arguments if result
48977         is infinite, not alongside NaN test.
48978         * math/s_fdimf.c (__fdimf): Likewise.
48979         * math/s_fdiml.c (__fdiml): Likewise.
48980         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
48981         errno is unchanged.
48983 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
48985         * argp/argp-help.c: Fix typos.
48986         * crypt/speeds.c: Likewise.
48987         * csu/check_fds.c: Likewise.
48988         * elf/dl-load.c: Likewise.
48989         * elf/dl-open.c: Likewise.
48990         * elf/reldep3.c: Likewise.
48991         * elf/reldep.c: Likewise.
48992         * elf/sprof.c: Likewise.
48993         * iconv/iconv_charmap.c: Likewise.
48994         * iconv/skeleton.c: Likewise.
48995         * iconv/strtab.c: Likewise.
48996         * io/lockf64.c: Likewise.
48997         * libio/libioP.h: Likewise.
48998         * resolv/gai_notify.c: Likewise.
48999         * resolv/ns_name.c: Likewise.
49000         * resolv/ns_samedomain.c: Likewise.
49001         * resolv/res_send.c: Likewise.
49002         * stdlib/random.c: Likewise.
49003         * sunrpc/rpc/xdr.h: Likewise.
49004         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
49005         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49006         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49007         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49008         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49009         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49010         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49011         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49012         * sysdeps/mach/hurd/check_fds.c: Likewise.
49013         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49014         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49015         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49016         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49017         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49018         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49019         * sysdeps/pthread/aio_notify.c: Likewise.
49020         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49021         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49022         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49023         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49024         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49026 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49028         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49029         version if bit_Slow_SSE4_2 is set.
49030         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49031         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49033 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49035         [BZ #15867]
49036         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49037         trampoline stack frame information.
49038         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49039         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49040         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49041         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49042         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49043         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49044         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49045         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49046         sa_flags value.
49047         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49048         interrupting a syscall and set with option SA_SIGINFO.
49050 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49052         [BZ #15531]
49053         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49054         argument is infinite.
49055         * math/s_cprojf.c (__cprojf): Likewise.
49056         * math/s_cprojl.c (__cprojl): Likewise.
49057         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49058         * math/libm-test.inc (cproj_test_data): Add more tests.
49060         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49062         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49063         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49064         size.  Use __ffs to determine corresponding shift.
49066 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49067             Roland McGrath  <roland@hack.frob.com>
49069         * Makefile (INSTALL): Remove trailing blank lines from output of
49070         makeinfo.
49072 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49074         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49075         Align 32 bit compat elf_greg to 8 bytes.
49077 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49079         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49081 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49083         * string/strcoll_l.c (coll_seq): New structure.
49084         (get_next_seq_cached): New function.
49085         (get_next_seq): New function.
49086         (do_compare): New function.
49087         (STRCOLL): Use GNU style definition.  Simplify implementation
49088         by using get_next_seq, get_next_seq_cached and do_compare.
49090 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49092         [BZ #14699]
49093         CVE-2013-4237
49094         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49095         member.
49096         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49097         member.
49098         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49099         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49100         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49101         conditional.
49102         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49103         GETDENTS_64BIT_ALIGNED.
49104         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49105         * manual/filesys.texi (Reading/Closing Directory): Document
49106         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49107         strongly.
49108         * manual/conf.texi (Limits for Files): Add portability note to
49109         NAME_MAX, PATH_MAX.
49110         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49112 2013-08-13  Andreas Schwab  <schwab@suse.de>
49114         [BZ #15749]
49115         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49116         of fabs.
49117         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49118         LDBL_MAX_EXP >= 16384]: Add tests for it.
49120 2013-08-12  David S. Miller  <davem@davemloft.net>
49122         * version.h (RELEASE): Set to "development".
49123         (VERSION): Set to "2.18.90".
49124         * NEWS: Add 2.19 section.
49126 2013-08-03  David S. Miller  <davem@davemloft.net>
49128         * po/ko.po: Update Korean translation from translation project.
49130 2013-08-01  David S. Miller  <davem@davemloft.net>
49132         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49133         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49134         Bilka.
49136 2013-07-30  David S. Miller  <davem@davemloft.net>
49138         * po/fr.po: Update French translation from translation project.
49140 2013-07-28  David S. Miller  <davem@davemloft.net>
49142         * po/cs.po: Update Czech translation from translation project.
49144         * po/sv.po: Update Swedish translation from translation project.
49146 2013-07-27  David S. Miller  <davem@davemloft.net>
49148         * po/eo.po: Update Esperanto translation from translation project.
49150         * po/vi.po: Update Vietnamese translation from translation project.
49152         * po/de.po: Update German translation from translation project.
49154 2013-07-26  David S. Miller  <davem@davemloft.net>
49156         * po/bg.po: Update Bulgarian translation from translation project.
49158         * po/nl.po: Update Dutch translation from translation project.
49159         * po/pl.po: Update Polish translation from translation project.
49160         * po/ru.po: Update Russian translation from translation project.
49162 2013-07-24  David S. Miller  <davem@davemloft.net>
49164         * po/libc.pot: Update.
49166 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49168         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49169         variable page size.
49170         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49171         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49172         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49174 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49176         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49178 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49179             Andreas Schwab  <schwab@suse.de>
49180             Roland McGrath  <roland@hack.frob.com>
49181             Joseph Myers  <joseph@codesourcery.com>
49182             Carlos O'Donell  <carlos@redhat.com>
49184         [BZ #15755]
49185         * config.h.in: Define HAVE_PT_CHOWN.
49186         * config.make.in (build-pt-chown): New variable.
49187         * configure.in (--enable-pt_chown): New configure option.
49188         * configure: Regenerate.
49189         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49190         build-pt-chown is enabled.
49191         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49192         pt_chown to fix pty ownership.
49193         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49194         CLOSE_ALL_FDS.
49195         * manual/install.texi (Configuring and compiling): Mention
49196         --enable-pt_chown. Add @findex for grantpt.
49197         * INSTALL: Regenerate.
49199 2013-07-20  David S. Miller  <davem@davemloft.net>
49201         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49202         difference between 32-bit and 64-bit.
49204 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49206         [BZ #15711]
49207         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49208         Avoid system header dependency with -ffreestanding.
49209         ($(objpfx)bits/syscall%d): Likewise.
49211 2013-07-13  David S. Miller  <davem@davemloft.net>
49213         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49214         underflows from atanl/atan2l due to bug 15319.
49215         (casinh_test_data): Likewise.
49217 2013-07-07  David S. Miller  <davem@davemloft.net>
49219         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49221 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49223         * sysdeps/i386/fpu/libm-test-ulps: Update.
49224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49226 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49228         * configure.in (--enable-lock-elision): Fix message text.
49229         * INSTALL: Regenerate.
49230         * configure: Regenerate.
49232 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49234         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49236 2013-07-03  Andreas Jaeger  <aj@suse.de>
49238         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49239         define.
49240         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49241         (ptrace_peeksiginfo_args): Add.
49242         (__ptrace_peeksiginfo_flags): Add.
49243         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49244         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49245         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49247 2013-07-03  Allan McRae  <allan@archlinux.org>
49249         * sysdeps/i386/fpu/libm-test-ulps: Update.
49251 2013-07-02  David S. Miller  <davem@davemloft.net>
49253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49255 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49259 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49261         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49264 2013-07-02  Andi Kleen <ak@linux.intel.com>
49266         * config.h.in (ENABLE_LOCK_ELISION): Add.
49267         * configure.in (--enable-lock-elision): Add option.
49268         * manual/install.texi: Document --enable lock elision.
49269         * configure: Regenerate
49270         * INSTALL: Regenerate.
49272 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49274         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49275         SSE4.2 strcasecmp for libc.a.
49276         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49278 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49280         [BZ #13304]
49281         * soft-fp/op-common.h (_FP_FMA): New macro.
49282         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49283         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49284         (_FP_MUL_MEAT_1_imm): ... here.
49285         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49286         (_FP_MUL_MEAT_1_wide): ... here.
49287         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49288         (_FP_MUL_MEAT_1_hard): ... here.
49289         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49290         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49291         (_FP_MUL_MEAT_2_wide): ... here.
49292         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49293         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49294         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49295         (_FP_MUL_MEAT_2_gmp): ... here.
49296         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49297         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49298         (_FP_MUL_MEAT_4_wide): ... here.
49299         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49300         (_FP_MUL_MEAT_4_gmp): ... here.
49301         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49302         (_FP_WFRACBITS_DW_S): Likewise.
49303         (_FP_WFRACXBITS_DW_S): Likewise.
49304         (_FP_HIGHBIT_DW_S): Likewise.
49305         (FP_FMA_S): Likewise.
49306         (_FP_FRAC_HIGH_DW_S): Likewise.
49307         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49308         (_FP_WFRACBITS_DW_D): Likewise.
49309         (_FP_WFRACXBITS_DW_D): Likewise.
49310         (_FP_HIGHBIT_DW_D): Likewise.
49311         (FP_FMA_D): Likewise.
49312         (_FP_FRAC_HIGH_DW_D): Likewise.
49313         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49314         (_FP_WFRACBITS_DW_E): Likewise.
49315         (_FP_WFRACXBITS_DW_E): Likewise.
49316         (_FP_HIGHBIT_DW_E): Likewise.
49317         (FP_FMA_E): Likewise.
49318         (_FP_FRAC_HIGH_DW_E): Likewise.
49319         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49320         (_FP_WFRACBITS_DW_Q): Likewise.
49321         (_FP_WFRACXBITS_DW_Q): Likewise.
49322         (_FP_HIGHBIT_DW_Q): Likewise.
49323         (FP_FMA_Q): Likewise.
49324         (_FP_FRAC_HIGH_DW_Q): Likewise.
49325         * soft-fp/fmasf4.c: New file.
49326         * soft-fp/fmadf4.c: Likewise.
49327         * soft-fp/fmatf4.c: Likewise.
49329 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49332         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49333         Silvermont.
49334         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49335         macro.
49336         (index_Slow_SSE4_2): Likewise.
49337         (index_Prefer_PMINUB_for_stringop): Likewise.
49338         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49339         bit_Slow_SSE4_2 is set.
49340         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49341         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49343 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49345         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49346         rtld_global._dl_hwcap2.
49347         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49348         POWER8.
49349         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49350         POWER8 feature descriptions defined in _dl_hwcap2.
49351         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49352         string handling for POWER8 feature bits.
49353         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49354         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49355         _dl_powerpc_cap_flags.
49356         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49357         * sysdeps/powerpc/rtld-global-offsets.sym
49358         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49359         _dl_hwcap2 in the rtld_global_ro structure.
49361 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49363         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49364         hardware capabilities in support of AT_HWCAP2.
49365         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49366         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49367         GLRO(dl_hwcap2).
49368         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49369         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49370         explicitly the unknown a_type display mechanism is used.
49371         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49372         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49373         struct member.
49374         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49375         to macro prototype for AT_HWCAP2 support.
49376         * sysdeps/i386/dl-procinfo.h: Likewise.
49377         * sysdeps/s390/dl-procinfo.h: Likewise.
49378         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49379         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49380         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49381         return -1 for unknown a_type display fallback.
49382         * sysdeps/sparc/dl-procinfo.h: Likewise.
49383         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49384         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49386 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49388         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49389         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49391 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49393         [BZ #12492]
49394         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49395         mprotect making __stack_prot writable.
49397 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49398             Joseph Myers  <joseph@codesourcery.com>
49400         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49401         as being properly aligned.
49403 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49405         * dlfcn/modstatic5.c: New file.
49406         * dlfcn/tststatic5.c: New file.
49407         * dlfcn/Makefile (tests): Add tststatic5.
49408         (tests-static): Likewise.
49409         (modules-names): Add modstatic5.
49410         (tststatic5-ENV): New variable.
49411         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49413         [BZ #15022]
49414         * elf/dl-support.c (_dl_main_map): New variable.
49415         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49416         (_dl_nns, _dl_load_adds): Set to 1.
49417         (_dl_initial_searchlist): Refer to _dl_main_map.
49418         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49419         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49420         call to _dl_get_origin.
49421         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49422         around call_map.
49423         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49424         * dlfcn/modstatic3.c: New file.
49425         * dlfcn/tststatic3.c: New file.
49426         * dlfcn/tststatic4.c: New file.
49427         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49428         (tests-static): Likewise.
49429         (modules-names): Add modstatic3.
49430         (tststatic3-ENV, tststatic4-ENV): New variables.
49431         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49432         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49434 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49436         * configure.in (CC): Require GCC version 4.4 or later.
49437         * configure: Regenerated.
49438         * manual/install.texi (Tools for Compilation): Update GCC version
49439         requirement.
49440         * INSTALL: Regenerated.
49442 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49444         [BZ #15674]
49445         * string/test-memcmp.c (check2): New.
49446         (main): Call check2.
49448         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49450 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49452         [BZ #15022]
49453         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49454         over to...
49455         (dl_open_worker) [!SHARED]: ... here.
49457 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49459         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49461 2013-06-25  Richard Henderson  <rth@redhat.com>
49463         * locale/programs/locarchive.c: Include <libc-internal.h>
49465 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49467         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49468         trailing whitespace removed.
49470 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49472         [BZ #10283]
49473         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49474         * locale/programs/locarchive.c: Include libc-mmap.h.
49475         (prepare_address_space): Take two new outputs (the mmap base and len).
49476         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49477         values.
49478         (create_archive): Declare new mmap base and len values for
49479         prepare_address_space, and store the result in ah.
49480         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49481         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49482         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49483         Declare new mmap base and len values for
49484         prepare_address_space, and store the result in new_ah.
49485         (open_archive): Declare new mmap base and len values for
49486         prepare_address_space, and store the result in ah.
49487         (close_archive): If ah->mmap_base is not NULL, use that and
49488         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49489         * sysdeps/generic/libc-mmap.h: New file.
49491 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49493         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49494         (ALIGN_UP): Likewise.
49495         (PTR_ALIGN_DOWN): Likewise.
49496         (PTR_ALIGN_UP): Likewise.
49498 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49500         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49501         entry mapped to PPC_PLATFORM_POWER8.
49502         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49503         POWER8.
49504         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49505         (_dl_string_platform): Add case for exporting platform position for
49506         POWER8.
49507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49508         search path to sysdeps/powerpc/powerpc32/power8 directory.
49509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49510         search path to sysdeps/powerpc/powerpc64/power8 directory.
49511         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49512         power7 directories.
49513         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49514         power7 directories.
49516 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49518         * INSTALL: Regenerate.
49520         * nscd/connections.c (nscd_init): Fix comment.
49522 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49524         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49526         [BZ #15667]
49527         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49528         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49530 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49532         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
49533         DL_DST_REQ_STATIC.
49534         (DL_DST_REQ_STATIC): Remove macro.
49536 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
49538         [BZ #7006]
49539         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
49540         with a shift of 0 bits.
49542 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49544         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
49545         $(tststatic-ENV).
49547 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49549         [BZ #15655]
49550         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
49552 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49554         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
49555         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
49556         accepts -fno-tree-loop-distribute-patterns.
49557         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
49558         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
49559         recursive call.
49560         * string/memset.c (memset): Likewise.
49561         * string/test-memmove.c (simple_memmove): Disable loop transformation
49562         to library calls.
49563         * string/test-memset.c (simple_memset): Likewise.
49564         * benchtests/bench-memmove.c (simple_memmove): Likewise.
49565         * benchtests/bench-memset.c (simple_memset): Likewise.
49566         * configure: Regenerated.
49568 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
49570         * math/test-misc.c (main): Ignore fesetround failure when failures
49571         of subsequent rounding tests would be ignored.
49573         [BZ #15654]
49574         * math/fedisblxcpt.c (fedisableexcept): Return 0.
49575         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
49576         * math/fegetenv.c (__fegetenv): Return 0.
49577         * math/fegetexcept.c (fegetexcept): Return 0.
49578         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
49579         FE_TONEAREST.
49580         * math/feholdexcpt.c (feholdexcept): Return 0.
49581         * math/fesetenv.c (__fesetenv): Return 0.
49582         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
49583         argument FE_TONEAREST.
49584         * math/feupdateenv.c (__feupdateenv): Return 0.
49585         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
49587 2013-06-18  Roland McGrath  <roland@hack.frob.com>
49589         * elf/rtld-Rules (rtld-compile-command.S): New variable.
49590         (rtld-compile-command.s, rtld-compile-command.c): New variables.
49591         ($(objpfx)rtld-%.os rules): Use them.
49593 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49595         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
49596         fields.
49598 2013-06-17  Roland McGrath  <roland@hack.frob.com>
49600         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
49601         length of target pattern, then descending length of dependency pattern.
49602         * configure.in (AWK): Require gawk 3.1.2 or newer.
49603         * manual/install.texi (Tools for Compilation): Say that we do.
49604         * configure: Regenerated.
49606         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
49607         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
49608         * scripts/sysd-rules.awk: ... this new script.
49609         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
49610         than a glob-style pattern.
49612 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
49614         * math/test-misc.c (main): Do not treat incorrectly rounded
49615         conversions as failure unless ROUNDING_TESTS passes.
49617 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
49619         [BZ #15631]
49620         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
49621         restore exception state around main square root computation, then
49622         check for inexactness explicitly.
49624         * math/libm-test.inc (fma_test_data): Add another test.
49626 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
49628         * manual/threads.texi (Non-POSIX Extensions): New document
49629         node.  Document pthread_getattr_default_np and
49630         pthread_setattr_default_np.
49632         * Versions.def (libpthread): Add GLIBC_2.18.
49633         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
49634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49635         Likewise.
49636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49637         Likewise.
49638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49639         Likewise.
49640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49641         Likewise.
49642         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
49643         Likewise.
49644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49645         Likewise.
49646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49647         Likewise.
49648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
49649         Likewise.
49650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49651         Likewise.
49653 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49656         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
49658 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49659             H.J. Lu  <hjl.tools@gmail.com>
49661         [BZ #15627]
49662         * sysdeps/x86_64/rtld-memset.c: Remove file.
49663         * sysdeps/x86_64/rtld-memset.S: New file.
49665 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
49667         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
49668         (test_in_one_mode): Take arguments for whether the rounding mode
49669         is supported for each floating-point type.
49670         (do_test): Pass new arguments to test_in_one_mode using
49671         ROUNDING_TESTS.
49673 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49675         * posix/tst-waitid.c (do_test): Distinguish different instances of
49676         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
49677         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
49678         before entering the kernel for waitpid.
49680 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49682         * NEWS: Fix note on clock function precision.  Text by Roland
49683         McGrath.
49685 2013-06-13  Roland McGrath  <roland@hack.frob.com>
49687         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
49688         it into place only when and if the sanity check passes.
49690 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
49692         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
49693         output for whether conversion result is exact.  Take argument
49694         indicating whether type is IBM long double.
49695         (round_for_all): Change need_exact field to ibm_ld.
49696         * stdlib/tst-strtod-round.c (struct exactness): New type.
49697         (struct test): Change bool ld_ok field to struct exactness exact.
49698         (TEST): Update all definitions for change to field.
49699         (tests): Regenerate array contents.
49700         (test_in_one_mode): Take pointer to new field instead of old ld_ok
49701         field value.  Check for IBM long double here.
49702         (do_test): Update calls to test_in_one_mode.
49704 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49706         [BZ #12515]
49707         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
49708         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
49710 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49712         [BZ #15605]
49713         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
49714         generated by the compiler on loop optimizations.
49715         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
49716         general definitions.
49718 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
49720         * math/bug-nextafter.c: Include <math-tests.h>.
49721         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49722         the relevant type.
49723         * math/bug-nexttoward.c: Include <math-tests.h>.
49724         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49725         the relevant type.
49726         * math/test-misc.c: Include <math-tests.h>.
49727         (main): Only test for exceptions if EXCEPTION_TESTS is true for
49728         the relevant type.
49730 2013-06-12  Andreas Jaeger  <aj@suse.de>
49732         * po/ia.po: Update Interlingua translation from translation
49733         project.
49735 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49737         * include/fenv.h: Include stdbool.h.
49738         (struct rm_ctx): New structure.
49739         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
49740         Define macro.
49741         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
49742         (SET_RESTORE_ROUNDF): Likewise.
49743         (SET_RESTORE_ROUNDL): Likewise.
49744         (SET_RESTORE_ROUND_NOEX): Likewise.
49745         (SET_RESTORE_ROUND_NOEXF): Likewise.
49746         (SET_RESTORE_ROUND_NOEXL): Likewise.
49747         (SET_RESTORE_ROUND_53BIT): Likewise.
49748         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
49749         (libc_feresetround_noexf_ctx): Likewise.
49750         (libc_feresetround_noexl_ctx): Likewise.
49751         (libc_feholdsetround_53bit_ctx): Likewise.
49752         (libc_feresetround_53bit_ctx): Likewise.
49753         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
49754         (libc_feholdexcept_setround_sse_ctx): New function.
49755         (libc_fesetenv_sse_ctx): Likewise.
49756         (libc_feupdateenv_sse_ctx): Likewise.
49757         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
49758         (libc_feholdexcept_setround_387_ctx): Likewise.
49759         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
49760         (libc_feholdsetround_387_prec_ctx): Likewise.
49761         (libc_feholdsetround_387_ctx): Likewise.
49762         (libc_feholdsetround_387_53bit_ctx): Likewise.
49763         (libc_feholdsetround_sse_ctx): Likewise.
49764         (libc_feresetround_sse_ctx): Likewise.
49765         (libc_feresetround_387_ctx): Likewise.
49766         (libc_feupdateenv_387_ctx): Likewise.
49767         (libc_feholdexcept_setroundf_ctx): Define macro.
49768         (libc_fesetenvf_ctx): Likewise.
49769         (libc_feupdateenvf_ctx): Likewise.
49770         (libc_feholdsetroundf_ctx): Likewise.
49771         (libc_feresetroundf_ctx): Likewise.
49772         (libc_feholdexcept_setround_ctx): Likewise.
49773         (libc_fesetenv_ctx): Likewise.
49774         (libc_feupdateenv_ctx): Likewise.
49775         (libc_feholdsetround_ctx): Likewise.
49776         (libc_feresetround_ctx): Likewise.
49777         (libc_feholdexcept_setroundl_ctx): Likewise.
49778         (libc_feupdateenvl_ctx): Likewise.
49779         (libc_feholdsetroundl_ctx): Likewise.
49780         (libc_feresetroundl_ctx): Likewise.
49781         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
49782         (libc_feresetround_53bit_ctx): Likewise.
49784 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49786         * locale/iso-639.def: Convert to UTF-8.
49788 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
49790         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
49791         (EXCEPTION_TESTS_double): Likewise.
49792         (EXCEPTION_TESTS_long_double): Likewise.
49793         (EXCEPTION_TESTS): Likewise.
49794         * math/libm-test.inc (test_exceptions): Only test exceptions if
49795         EXCEPTION_TESTS (FLOAT).
49797 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49799         * benchtests/Makefile (string-bench): Add strcpy_chk and
49800         stpcpy_chk.
49801         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
49802         * benchtests/bench-stpcpy_chk.c: New file.
49803         * benchtests/bench-strcpy_chk-ifunc.c: New file.
49804         * benchtests/bench-strcpy_chk.c: New file.
49805         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
49806         code.
49807         (do_test): Likewise.
49809 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49811         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
49812         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
49813         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
49814         with tabs where appropriate.
49815         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
49816         dl-procinfo.h.
49817         [PPC_PLATFORM_PPC440]: Likewise.
49818         [PPC_PLATFORM_PPC464]: Likewise.
49819         [PPC_PLATFORM_PPC476]: Likewise.
49820         (_dl_string_platform): Add support for detecting ppc405, ppc440,
49821         ppc464, and ppc476 platform strings merging from ports/
49822         dl-procinfo.h.
49824 2013-06-11  Andreas Schwab  <schwab@suse.de>
49826         [BZ #14991]
49827         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
49828         (from_ucs4_idx): Regenerate.
49829         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
49830         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
49831         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
49832         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
49833         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
49834         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
49835         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
49836         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
49837         from FROM_LOOP and TO_LOOP specific macros.
49838         (BODY): Handle combining characters.
49839         * iconvdata/BIG5HKSCS.irreversible: Update.
49840         * iconvdata/BIG5HKSCS.precomposed: New file.
49841         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
49842         characters.
49843         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
49845 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49847         * include/sys/time.h: Fix indentation and add copyright header.
49849         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
49850         (do_test): Likewise.
49851         * string/test-memchr.c (do_one_test): Likewise.
49852         (do_test): Likewise.
49853         * string/test-memcmp.c (do_one_test): Likewise.
49854         (do_test): Likewise.
49855         * string/test-memcpy.c (do_one_test): Likewise.
49856         (do_test): Likewise.
49857         * string/test-memmem.c (do_one_test): Likewise.
49858         (do_test): Likewise.
49859         (do_random_tests): Likewise.
49860         * string/test-memmove.c (do_one_test): Likewise.
49861         (do_test): Likewise.
49862         * string/test-memset.c (do_one_test): Likewise.
49863         (do_test): Likewise.
49864         * string/test-rawmemchr.c (do_one_test): Likewise.
49865         (do_test): Likewise.
49866         * string/test-strcasecmp.c (do_one_test): Likewise.
49867         (do_test): Likewise.
49868         * string/test-strcasestr.c (do_one_test): Likewise.
49869         (do_test): Likewise.
49870         * string/test-strcat.c (do_one_test): Likewise.
49871         (do_test): Likewise.
49872         * string/test-strchr.c (do_one_test): Likewise.
49873         (do_test): Likewise.
49874         * string/test-strcmp.c (do_one_test): Likewise.
49875         (do_test): Likewise.
49876         * string/test-strcpy.c (do_one_test): Likewise.
49877         (do_test): Likewise.
49878         * string/test-string.h: Likewise.
49879         (test_init): Likewise.
49880         * string/test-strlen.c (do_one_test): Likewise.
49881         (do_test): Likewise.
49882         * string/test-strncasecmp.c (do_one_test): Likewise.
49883         (do_test): Likewise.
49884         * string/test-strncat.c (do_one_test): Likewise.
49885         (do_test): Likewise.
49886         * string/test-strncmp.c (do_one_test): Likewise.
49887         (do_test_limit): Likewise.
49888         (do_test): Likewise.
49889         * string/test-strncpy.c (do_one_test): Likewise.
49890         (do_test): Likewise.
49891         * string/test-strnlen.c (do_one_test): Likewise.
49892         (do_test): Likewise.
49893         * string/test-strpbrk.c (do_one_test): Likewise.
49894         (do_test): Likewise.
49895         * string/test-strrchr.c (do_one_test): Likewise.
49896         (do_test): Likewise.
49897         * string/test-strspn.c (do_one_test): Likewise.
49898         (do_test): Likewise.
49899         * string/test-strstr.c (do_one_test): Likewise.
49900         (do_test): Likewise.
49902         * benchtests/Makefile (string-bench): Add string benchmarks.
49903         * benchtests/bench-bcopy-ifunc.c: New file.
49904         * benchtests/bench-bcopy.c: New file.
49905         * benchtests/bench-bzero-ifunc.c: New file.
49906         * benchtests/bench-bzero.c: New file.
49907         * benchtests/bench-memccpy-ifunc.c: New file.
49908         * benchtests/bench-memccpy.c: New file.
49909         * benchtests/bench-memchr-ifunc.c: New file.
49910         * benchtests/bench-memchr.c: New file.
49911         * benchtests/bench-memcmp-ifunc.c: New file.
49912         * benchtests/bench-memcmp.c: New file.
49913         * benchtests/bench-memmem-ifunc.c: New file.
49914         * benchtests/bench-memmem.c: New file.
49915         * benchtests/bench-memmove-ifunc.c: New file.
49916         * benchtests/bench-memmove.c: New file.
49917         * benchtests/bench-mempcpy-ifunc.c: New file.
49918         * benchtests/bench-mempcpy.c: New file.
49919         * benchtests/bench-memset-ifunc.c: New file.
49920         * benchtests/bench-memset.c: New file.
49921         * benchtests/bench-rawmemchr-ifunc.c: New file.
49922         * benchtests/bench-rawmemchr.c: New file.
49923         * benchtests/bench-stpcpy-ifunc.c: New file.
49924         * benchtests/bench-stpcpy.c: New file.
49925         * benchtests/bench-stpncpy-ifunc.c: New file.
49926         * benchtests/bench-stpncpy.c: New file.
49927         * benchtests/bench-strcasecmp-ifunc.c: New file.
49928         * benchtests/bench-strcasecmp.c: New file.
49929         * benchtests/bench-strcasestr-ifunc.c: New file.
49930         * benchtests/bench-strcasestr.c: New file.
49931         * benchtests/bench-strcat-ifunc.c: New file.
49932         * benchtests/bench-strcat.c: New file.
49933         * benchtests/bench-strchr-ifunc.c: New file.
49934         * benchtests/bench-strchr.c: New file.
49935         * benchtests/bench-strchrnul-ifunc.c: New file.
49936         * benchtests/bench-strchrnul.c: New file.
49937         * benchtests/bench-strcmp-ifunc.c: New file.
49938         * benchtests/bench-strcmp.c: New file.
49939         * benchtests/bench-strcpy-ifunc.c: New file.
49940         * benchtests/bench-strcpy.c: New file.
49941         * benchtests/bench-strcspn-ifunc.c: New file.
49942         * benchtests/bench-strcspn.c: New file.
49943         * benchtests/bench-strlen-ifunc.c: New file.
49944         * benchtests/bench-strlen.c: New file.
49945         * benchtests/bench-strncasecmp-ifunc.c: New file.
49946         * benchtests/bench-strncasecmp.c: New file.
49947         * benchtests/bench-strncat-ifunc.c: New file.
49948         * benchtests/bench-strncat.c: New file.
49949         * benchtests/bench-strncmp-ifunc.c: New file.
49950         * benchtests/bench-strncmp.c: New file.
49951         * benchtests/bench-strncpy-ifunc.c: New file.
49952         * benchtests/bench-strncpy.c: New file.
49953         * benchtests/bench-strnlen-ifunc.c: New file.
49954         * benchtests/bench-strnlen.c: New file.
49955         * benchtests/bench-strpbrk-ifunc.c: New file.
49956         * benchtests/bench-strpbrk.c: New file.
49957         * benchtests/bench-strrchr-ifunc.c: New file.
49958         * benchtests/bench-strrchr.c: New file.
49959         * benchtests/bench-strspn-ifunc.c: New file.
49960         * benchtests/bench-strspn.c: New file.
49961         * benchtests/bench-strstr-ifunc.c: New file.
49962         * benchtests/bench-strstr.c: New file.
49964         * benchtests/Makefile: Disable parallel execution of targets.
49965         (string-bench): Add memcpy.
49966         (benchset): New variable to store a list of benchmark sets.
49967         (bench-func): Renamed from bench.
49968         (bench-set): New target.
49969         (bench): Depend on bench-func and bench-set.
49970         * benchtests/README: Add section on benchmark sets.
49971         * benchtests/bench-memcpy-ifunc.c: New file.
49972         * benchtests/bench-memcpy.c: New file.
49973         * benchtests/bench-string.h: New file.
49975 2013-06-11  Andreas Schwab  <schwab@suse.de>
49977         [BZ #15577]
49978         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
49979         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
49980         values in the triple.
49981         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
49982         terminator in the group key.
49984 2013-06-11  Andreas Jaeger  <aj@suse.de>
49986         * po/zh_TW.po: Update Chinese (traditional) translation from
49987         translation project.
49989 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49991         * include/time.h (__clock_gettime): Add libc_hidden_proto.
49992         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
49993         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
49994         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
49995         (clock_getcpuclockid): Likewise.
49996         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
49997         Add weak_alias and libc_hidden_def.
49998         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
49999         * rt/clock_gettime.c (clock_gettime): Rename to
50000         __clock_gettime.  Add weak_alias and libc_hidden_def.
50001         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
50002         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
50003         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
50004         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
50005         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
50006         Likewise.
50007         * rt/clock_settime.c (clock_settime): Rename to
50008         __clock_settime.  Add weak_alias and libc_hidden_def.
50009         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50011 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
50013         * mach/err_boot.sub: Remove trailing whitespace.
50014         * mach/err_ipc.sub: Likewise.
50015         * mach/err_mach.sub: Likewise.
50017         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50018         (ROUNDING_TESTS_double): Likewise.
50019         (ROUNDING_TESTS_long_double): Likewise.
50020         (ROUNDING_TESTS): Likewise.
50021         * math/libm-test.inc: Include <math-tests.h>.
50022         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50023         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50024         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50025         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50027 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50029         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50030         of assigning.
50032 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50034         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50035         otherwise empty TRANS lines.
50036         * sysdeps/gnu/errlist.c: Regenerated.
50038         * catgets/gencat.c (error_print): Use (void) in function
50039         definition.
50040         * crypt/crypt_util.c (__init_des): Likewise.
50041         * crypt/speeds.c (Stop): Likewise.
50042         (main): Likewise.
50043         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50044         * inet/ruserpass.c (token): Likewise.
50045         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50046         * intl/localealias.c (extend_alias_table): Likewise.
50047         * intl/plural-exp.c (init_germanic_plural): Likewise.
50048         * libio/fcloseall.c (__fcloseall): Likewise.
50049         * libio/genops.c (_IO_flush_all): Likewise.
50050         (_IO_flush_all_linebuffered): Likewise.
50051         (_IO_cleanup): Likewise.
50052         (_IO_iter_begin): Likewise.
50053         (_IO_iter_end): Likewise.
50054         (_IO_list_lock): Likewise.
50055         (_IO_list_unlock): Likewise.
50056         (_IO_list_resetlock): Likewise.
50057         * libio/getchar.c (getchar): Likewise.
50058         * libio/getchar_u.c (getchar_unlocked): Likewise.
50059         * libio/getwchar.c (getwchar): Likewise.
50060         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50061         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50062         * login/getpt.c (__getpt): Likewise.
50063         * login/tst-utmp.c (main): Likewise.
50064         * malloc/hooks.c (__malloc_check_init): Likewise.
50065         * malloc/malloc.c (__malloc_stats): Likewise.
50066         * malloc/mtrace.c (tr_break): Likewise.
50067         (mtrace): Likewise.
50068         (muntrace): Likewise.
50069         * misc/fstab.c (endfsent): Likewise.
50070         * misc/getclktck.c (__getclktck): Likewise.
50071         * misc/getdtsz.c (__getdtablesize): Likewise.
50072         * misc/gethostid.c (gethostid): Likewise.
50073         * misc/getpagesize.c (__getpagesize): Likewise.
50074         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50075         (__get_nprocs): Likewise.
50076         (__get_phys_pages): Likewise.
50077         (__get_avphys_pages): Likewise.
50078         * misc/getttyent.c (getttyent): Likewise.
50079         (setttyent): Likewise.
50080         (endttyent): Likewise.
50081         * misc/getusershell.c (getusershell): Likewise.
50082         (endusershell): Likewise.
50083         (setusershell): Likewise.
50084         (initshells): Likewise.
50085         * misc/hsearch.c (__hdestroy): Likewise.
50086         * misc/sync.c (sync): Likewise.
50087         * misc/syslog.c (closelog_internal): Likewise.
50088         (closelog): Likewise.
50089         * misc/ttyslot.c (ttyslot): Likewise.
50090         * misc/vhangup.c (vhangup): Likewise.
50091         * posix/fork.c (__fork): Likewise.
50092         * posix/getegid.c (__getegid): Likewise.
50093         * posix/geteuid.c (__geteuid): Likewise.
50094         * posix/getgid.c (__getgid): Likewise.
50095         * posix/getpid.c (__getpid): Likewise.
50096         * posix/getppid.c (__getppid): Likewise.
50097         * posix/getuid.c (__getuid): Likewise.
50098         * posix/pause.c (pause): Likewise.
50099         * posix/setpgrp.c (setpgrp): Likewise.
50100         * posix/setsid.c (__setsid): Likewise.
50101         * posix/test-vfork.c (noop): Likewise.
50102         * resolv/gethnamaddr.c (_endhtent): Likewise.
50103         (_gethtent): Likewise.
50104         (ht_endhostent): Likewise.
50105         (gethostent): Likewise.
50106         (dns_service): Likewise.
50107         * stdlib/drand48.c (drand48): Likewise.
50108         * stdlib/lrand48.c (lrand48): Likewise.
50109         * stdlib/mrand48.c (mrand48): Likewise.
50110         * stdlib/rand.c (rand): Likewise.
50111         * stdlib/random.c (__random): Likewise.
50112         * stdlib/setenv.c (clearenv): Likewise.
50113         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50114         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50115         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50116         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50117         (__get_nprocs): Likewise.
50118         (__get_phys_pages): Likewise.
50119         (__get_avphys_pages): Likewise.
50120         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50121         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50122         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50123         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50124         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50125         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50126         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50127         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50128         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50129         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50130         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50131         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50132         * sysdeps/posix/clock.c (clock): Likewise.
50133         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50134         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50135         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50136         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50137         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50138         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50139         (__get_nprocs_conf): Likewise.
50140         (__get_phys_pages): Likewise.
50141         (__get_avphys_pages): Likewise.
50142         * time/clock.c (clock): Likewise.
50143         * time/tzset.c (__tzname_max): Likewise.
50145 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50147         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50148         (__bswap_32): Do not use "register".
50149         * crypt/crypt.c (_ufc_doit_r): Likewise.
50150         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50151         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50152         * gmon/gmon.c (__monstartup): Likewise.
50153         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50154         * hurd/hurdmalloc.c (more_memory): Likewise.
50155         (malloc): Likewise.
50156         (free): Likewise.
50157         (realloc): Likewise.
50158         (malloc_fork_prepare): Likewise.
50159         (malloc_fork_parent): Likewise.
50160         (malloc_fork_child): Likewise.
50161         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50162         (_svcauth_des): Likewise.
50163         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50164         * inet/inet_net.c (inet_network): Likewise.
50165         * inet/inet_netof.c (inet_netof): Likewise.
50166         * inet/rcmd.c (__validuser2_sa): Likewise.
50167         * io/fts.c (fts_open): Likewise.
50168         (fts_load): Likewise.
50169         (fts_close): Likewise.
50170         (fts_read): Likewise.
50171         (fts_children): Likewise.
50172         (fts_build): Likewise.
50173         (fts_stat): Likewise.
50174         (fts_sort): Likewise.
50175         (fts_alloc): Likewise.
50176         (fts_lfree): Likewise.
50177         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50178         (_IO_file_xsgetn): Likewise.
50179         (_IO_file_xsgetn_mmap): Likewise.
50180         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50181         (_IO_cookie_write): Likewise.
50182         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50183         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50184         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50185         * malloc/obstack.c (_obstack_begin): Likewise.
50186         (_obstack_begin_1): Likewise.
50187         (_obstack_newchunk): Likewise.
50188         (_obstack_allocated_p): Likewise.
50189         (obstack_free): Likewise.
50190         (_obstack_memory_used): Likewise.
50191         * misc/getttyent.c (getttynam): Likewise.
50192         (getttyent): Likewise.
50193         (skip): Likewise.
50194         (value): Likewise.
50195         * misc/getusershell.c (initshells): Likewise.
50196         * misc/syslog.c (__vsyslog_chk): Likewise.
50197         * misc/ttyslot.c (ttyslot): Likewise.
50198         * nis/nis_hash.c (__nis_hash): Likewise.
50199         * posix/fnmatch_loop.c (FCT): Likewise.
50200         * posix/getconf.c (print_all): Likewise.
50201         (main): Likewise.
50202         * posix/getopt.c (exchange): Likewise.
50203         * posix/glob.c (globfree): Likewise.
50204         (prefix_array): Likewise.
50205         (__glob_pattern_type): Likewise.
50206         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50207         (NS_GET32): Likewise.
50208         (NS_PUT16): Likewise.
50209         (NS_PUT32): Likewise.
50210         * resolv/gethnamaddr.c (getanswer): Likewise.
50211         (gethostbyname2): Likewise.
50212         (gethostbyaddr): Likewise.
50213         (_gethtent): Likewise.
50214         (_gethtbyname2): Likewise.
50215         (_gethtbyaddr): Likewise.
50216         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50217         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50218         * resolv/res_init.c (__res_vinit): Likewise.
50219         (net_mask): Likewise.
50220         * resolv/res_mkquery.c (outchar): Likewise.
50221         (PRINT): Likewise.
50222         * stdio-common/printf_fp.c (outchar): Likewise.
50223         (PRINT): Likewise.
50224         * stdio-common/printf_fphex.c (outchar): Likewise.
50225         (PRINT): Likewise.
50226         * stdio-common/printf_size.c (outchar): Likewise.
50227         (PRINT): Likewise.
50228         * stdio-common/test_rdwr.c (main): Likewise.
50229         * stdio-common/tfformat.c (matches): Likewise.
50230         * stdio-common/vfprintf.c (outchar): Likewise.
50231         (printf_unknown): Likewise.
50232         (buffered_vfprintf): Likewise.
50233         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50234         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50235         (ReadFile): Likewise.
50236         * stdlib/qsort.c (SWAP): Likewise.
50237         (_quicksort): Likewise.
50238         * stdlib/setenv.c (__add_to_environ): Likewise.
50239         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50240         * stdlib/strtol_l.c (__strtol_l): Likewise.
50241         * stdlib/tst-strtod.c (main): Likewise.
50242         * stdlib/tst-strtol.c (main): Likewise.
50243         * stdlib/tst-strtoll.c (main): Likewise.
50244         * string/bits/string2.h (__strcmp_cc): Likewise.
50245         (__strcmp_cg): Likewise.
50246         (__strcspn_c1): Likewise.
50247         (__strcspn_c2): Likewise.
50248         (__strcspn_c3): Likewise.
50249         (__strspn_c1): Likewise.
50250         (__strspn_c2): Likewise.
50251         (__strspn_c3): Likewise.
50252         (__strsep_1c): Likewise.
50253         (__strsep_2c): Likewise.
50254         (__strsep_3c): Likewise.
50255         * string/memccpy.c (__memccpy): Likewise.
50256         * string/stpcpy.c (__stpcpy): Likewise.
50257         * string/strcmp.c (strcmp): Likewise.
50258         * string/strrchr.c (strrchr): Likewise.
50259         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50260         Likewise.
50261         * sysdeps/mach/hurd/getcwd.c
50262         (_hurd_canonicalize_directory_name_internal): Likewise.
50263         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50264         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50265         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50266         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50267         Likewise, in both definitions.
50268         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50269         definitions.
50270         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50271         64] (__bswap_64): Likewise.
50272         * time/test_time.c (main): Likewise.
50273         * time/tzfile.c (__tzfile_read): Likewise.
50274         (__tzfile_compute): Likewise.
50275         * time/tzset.c (__tzset_parse_tz): Likewise.
50276         (tzset_internal): Likewise.
50277         (compute_change): Likewise.
50278         * wcsmbs/wcscat.c (__wcscat): Likewise.
50279         * wcsmbs/wcschr.c (wcschr): Likewise.
50280         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50281         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50282         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50283         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50284         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50285         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50286         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50287         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50288         * wcsmbs/wmemset.c (wmemset): Likewise.
50290 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50292         * scripts/config.guess: Update to version 2013-05-16.
50293         * scripts/config.sub: Update to version 2013-04-24.
50294         * scripts/install-sh: Update to version 2011-11-20.07.
50295         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50296         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50298 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50300         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50301         * elf/sln.c: Likewise.
50302         * hurd/hurd/ioctl.h: Likewise.
50303         * hurd/hurdmalloc.c: Likewise.
50304         * hurd/xattr.c: Likewise.
50305         * include/shlib-compat.h: Likewise.
50306         * inet/ruserpass.c: Likewise.
50307         * libio/iofgets_u.c: Likewise.
50308         * libio/iofgetws_u.c: Likewise.
50309         * locale/programs/ld-identification.c: Likewise.
50310         * locale/programs/ld-time.c: Likewise.
50311         * mach/msg-destroy.c: Likewise.
50312         * nss/nss_files/files-netgrp.c: Likewise.
50313         * resolv/res_data.c: Likewise.
50314         * soft-fp/op-1.h: Likewise.
50315         * soft-fp/op-2.h: Likewise.
50316         * soft-fp/op-4.h: Likewise.
50317         * soft-fp/op-common.h: Likewise.
50318         * stdio-common/printf_fphex.c: Likewise.
50319         * stdlib/strtod_l.c: Likewise.
50320         * sunrpc/rpc/clnt.h: Likewise.
50321         * sysdeps/generic/framestate.c: Likewise.
50322         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50323         * sysdeps/i386/bsd-setjmp.S: Likewise.
50324         * sysdeps/i386/__longjmp.S: Likewise.
50325         * sysdeps/i386/setjmp.S: Likewise.
50326         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50327         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50328         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50329         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50330         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50331         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50332         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50333         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50334         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50335         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50336         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50337         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50338         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50339         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50340         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50341         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50342         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50343         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50344         * sysdeps/ieee754/support.c: Likewise.
50345         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50346         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50347         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50348         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50349         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50350         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50351         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50352         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50353         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50354         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50355         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50356         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50357         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50358         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50359         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50360         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50361         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50364 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50366         * posix/transbug.c: Remove executable mode.
50368 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50370         * crypt/speeds.c: Remove trailing whitespace.
50371         * dlfcn/default.c: Likewise.
50372         * elf/ifuncdep2.c: Likewise.
50373         * elf/ifuncmain1.c: Likewise.
50374         * elf/ifuncmain1vis.c: Likewise.
50375         * elf/testobj.h: Likewise.
50376         * elf/tst-stackguard1.c: Likewise.
50377         * gmon/sys/gmon.h: Likewise.
50378         * hurd/hurdmsg.c: Likewise.
50379         * hurd/new-fd.c: Likewise.
50380         * hurd/ports-get.c: Likewise.
50381         * iconvdata/ibm1008_420.c: Likewise.
50382         * inet/tst-getni1.c: Likewise.
50383         * inet/tst-getni2.c: Likewise.
50384         * libio/ioungetc.c: Likewise.
50385         * libio/wfiledoalloc.c: Likewise.
50386         * manual/libm-err-tab.pl: Likewise.
50387         * math/w_dremf.c: Likewise.
50388         * misc/ftruncate.c: Likewise.
50389         * posix/bug-glob2.c: Likewise.
50390         * posix/tst-pcre.c: Likewise.
50391         * posix/wait4.c: Likewise.
50392         * resolv/README: Likewise.
50393         * resolv/res_debug.h: Likewise.
50394         * resolv/tst-inet_ntop.c: Likewise.
50395         * setjmp/bug269-setjmp.c: Likewise.
50396         * soft-fp/extended.h: Likewise.
50397         * soft-fp/op-1.h: Likewise.
50398         * soft-fp/op-2.h: Likewise.
50399         * soft-fp/op-4.h: Likewise.
50400         * soft-fp/op-8.h: Likewise.
50401         * soft-fp/testit.c: Likewise.
50402         * stdio-common/bug16.c: Likewise.
50403         * stdlib/random.c: Likewise.
50404         * sunrpc/rpcsvc/rquota.x: Likewise.
50405         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50406         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50407         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50408         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50409         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50410         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50411         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50412         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50413         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50414         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50415         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50416         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50417         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50418         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50419         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50420         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50421         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50422         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50423         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50424         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50425         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50426         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50427         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50428         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50429         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50430         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50431         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50432         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50433         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50434         * sysdeps/ieee754/s_lib_version.c: Likewise.
50435         * sysdeps/mach/hurd/check_fds.c: Likewise.
50436         * sysdeps/mach/hurd/getsockname.c: Likewise.
50437         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50438         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50439         * sysdeps/powerpc/bits/link.h: Likewise.
50440         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50441         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50442         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50443         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50444         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50445         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50446         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50447         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50448         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50449         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50450         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50451         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50452         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50453         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50454         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50455         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50456         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50457         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50458         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50459         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50460         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50461         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50462         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50463         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50464         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50465         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50466         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50467         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50468         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50469         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50470         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50471         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50472         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50473         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50474         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50475         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50476         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50477         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50478         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50479         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50480         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50481         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50482         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50483         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50484         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50485         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50486         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50487         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50488         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50489         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50490         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50491         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50492         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50493         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50494         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50495         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50496         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50497         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50498         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50499         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50500         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50501         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50502         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50503         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50504         * sysdeps/powerpc/sysdep.h: Likewise.
50505         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50506         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50507         * sysdeps/sh/dl-trampoline.S: Likewise.
50508         * sysdeps/sh/memset.S: Likewise.
50509         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50510         * sysdeps/sh/strlen.S: Likewise.
50511         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50512         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50513         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50514         * sysdeps/sparc/sparc32/rem.S: Likewise.
50515         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50516         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50517         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50518         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50519         * sysdeps/sparc/sparc32/urem.S: Likewise.
50520         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50521         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50522         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50523         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50524         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50525         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50526         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50527         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50528         * sysdeps/unix/bsd/times.c: Likewise.
50529         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50530         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
50533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50534         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
50535         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50536         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
50537         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
50538         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
50539         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
50540         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
50541         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
50542         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50543         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
50544         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
50545         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
50546         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
50547         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
50548         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
50549         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
50550         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
50551         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50552         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
50553         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
50554         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
50555         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
50556         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50557         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
50558         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
50559         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
50560         * sysdeps/x86_64/strcspn.S: Likewise.
50562 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50564         * locale/C-translit.h: Revert #include <stdint.h> because this is a
50565         generated file.  Regenerate properly from gen-translit.pl.
50566         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
50567         locale/C-translit.h.
50569 2013-06-05  Andreas Schwab  <schwab@suse.de>
50571         [BZ #15100]
50572         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
50573         week as 6 instead of -1.
50574         * time/tst-strptime.c (day_tests): Add test case.
50576 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50578         * sysdeps/generic/math_private.h
50579         (libc_feholdexcept_setround_53bit): Replace with
50580         libc_feholdsetround_53bit.
50581         (libc_feupdateenv_53bit): Replace with
50582         libc_feresetround_53bit.
50583         (SET_RESTORE_ROUND_53BIT): Adjust.
50585 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50587         * string/test-strchrnul.c: Add copyright header.
50589         * posix/tst-getaddrinfo4.c: Increase test timeout.
50591 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
50593         [BZ #15536]
50594         * math/libm-test.inc (MAX_EXP): Remove
50595         (MIN_EXP): Define.
50596         (ulp): Use MIN_EXP - MANT_DIG.
50597         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
50599 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
50601         * po/be.po: Revert last change.
50602         * po/zh_CN.po: Likewise.
50603         * po/header.pot: Likewise.
50605 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
50607         * Makefile ($(common-objpfx)linkobj/libc.so): Define
50608         link-libc-deps to empty as target-specific variable.
50609         * Makerules (link-libc-args): New variable.
50610         (libc-for-link): Likewise.
50611         (link-libc-deps): Likewise.
50612         (lib%.so): Depend on $(link-libc-deps).  Link with
50613         $(link-libc-args).
50614         (build-module): Link with $(link-libc-args).
50615         (build-module-asneeded): Likewise.
50616         (build-module-helper-objlist): Filter out $(link-libc-deps) from
50617         list of objects.
50618         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
50619         target-specific variable.
50620         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
50621         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
50622         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
50623         libc.
50624         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
50625         libc and ld.so.
50626         ($(objpfx)libpcprofile.so): Likewise.
50627         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
50628         libc_nonshared.a.
50629         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
50630         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
50631         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
50632         $(link-libc-deps).
50633         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
50634         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
50635         * login/Makefile ($(objpfx)libutil.so): Likewise.
50636         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
50637         * math/Makefile ($(objpfx)libm.so): Likewise.
50638         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
50639         $(objpfx)libnsl.so): Define libc-for-link as target-specific
50640         variable instead of depending directly on libc.
50641         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
50642         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
50643         $(link-libc-deps).
50644         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
50645         libc.
50646         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
50647         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
50648         ($(objpfx)libanl.so): Likewise.
50649         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
50650         ld.so.
50651         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
50652         $(link-libc-deps).
50653         * sysdeps/i386/fpu/Makefile: Remove file.
50654         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
50655         ($(objpfx)libm.so): Remove dependency on ld.so.
50657 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
50659         [BZ # 15553]
50660         * nis/yp_xdr.c (XDRMAXNAME): Define.
50661         (XDRMAXRECORD): Define.
50662         (xdr_domainname): Use XDRMAXNAME.
50663         (xdr_mapname): Likewise.
50664         (xdr_peername): Likewise.
50665         (xdr_keydat): Use XDRMAXRECORD.
50666         (xdr_valdat): Likewise.
50668 2013-05-30  Jeff Law  <law@redhat.com>
50670         [BZ #14256]
50671         * manual/errno.texi (ESTALE): Update to account for more than
50672         just NFS file systems.
50673         * sysdeps/gnu/errlist.c: Regenerated.
50675 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50677         [BZ #15465]
50678         * elf/Makefile (tests): Add tst-null-argv.
50679         (modules-names):  Add tst-null-argv-lib.
50680         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
50681         (tst-null-argv-ENV): Set environment for tst-null-argv.
50682         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
50683         (RTLD_PROGNAME): New macro.
50684         * elf/tst-null-argv.c: New test case.
50685         * elf/tst-null-argv-lib.c: Library for test case.
50686         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
50687         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
50688         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
50689         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
50690         * elf/dl-init.c (call_init): Likewise.
50691         (_dl_init): Likewise.
50692         * elf/dl-load.c (print_search_path): Likewise.
50693         (_dl_map_object): Likewise.
50694         * elf/dl-lookup.c (do_lookup_x): Likewise.
50695         (add_dependency): Likewise.
50696         (_dl_lookup_symbol_x): Likewise.
50697         (_dl_debug_bindings): Likewise.
50698         * elf/dl-open.c (_dl_show_scope): Likewise.
50699         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
50700         * elf/dl-version.c (match_symbol): Likewise.
50701         (_dl_check_map_versions): Likewise.
50702         * elf/rtld.c (dl_main): Likewise.
50703         (print_unresolved): Use RTLD_PROGNAME.
50704         (print_missing_version): Likewise.
50705         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
50706         (elf_machine_rela): Likewise.
50707         * sysdeps/powerpc/powerpc32/dl-machine.c
50708         (__process_machine_rela): Likewise.
50709         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50710         Likewise.
50711         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
50712         Likewise.
50713         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
50714         Likewise.
50715         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50716         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
50717         Likewise.
50718         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
50719         Likewise.
50720         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50722 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
50724         * po/be.po: Add descriptive title.
50725         * po/zh_CN.po: Likewise.
50726         * po/header.pot: Likewise.
50728 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
50730         * locale/programs/locarchive.c (create_archive): Inlucde fname in
50731         error message.
50732         (enlarge_archive): Likewise.
50734 2013-05-28  Ben North  <ben@redfrontdoor.org>
50736         * manual/arith.texi (frexp): It is the magnitude of the return
50737         value which lies in [0.5, 1), not the return value itself.
50739 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50743 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
50745         * stdio-common/bug26.c (main): Correct fscanf template.
50747         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
50748         declare _dl_skip_args.
50750         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
50751         Don't declare.
50753         * manual/platform.texi: Add missing @end deftypefun.
50755 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50757         [BZ #15529]
50758         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
50759         bit of mantissa of 2^16382.
50760         * math/libm-test.inc (hypot_test_data): Add more tests.
50762         * math/libm-test.inc: Add drem and pow10 to list of tested
50763         functions.
50764         (pow10_test): New function.
50765         (drem_test): Likewise.
50766         (drem_test_tonearest): Likewise.
50767         (drem_test_towardzero): Likewise.
50768         (drem_test_downward): Likewise.
50769         (drem_test_upward): Likewise.
50770         (main): Call the new functions.
50772         * math/libm-test.inc (finite_test_data): Remove.
50773         (finite_test): Run tests from isfinite_test_data.
50774         (gamma_test_data): Remove.
50775         (gamma_test): Run tests from lgamma_test_data.
50776         * sysdeps/i386/fpu/libm-test-ulps: Update.
50777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50779 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50781         * manual/platform.texi: Add PowerPC PPR function set documentation.
50782         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
50783         implementation.
50785 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
50787         * math/libm-test.inc (MAX_EXP): Define.
50788         (ULPDIFF): Define.
50789         (ulp): New function.
50790         (check_float_internal): Use ULPDIFF.
50791         (cpow_test): Disable failing test.
50792         (check_ulp): Test ulp() implemetnation.
50793         (main): Call check_ulp before starting tests.
50795 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
50797         * math/gen-libm-test.pl (generate_testfile): Do not handle
50798         START_DATA and END_DATA.
50799         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
50800         END_DATA.
50801         (acos_tonearest_test_data): Likewise.
50802         (acos_towardzero_test_data): Likewise.
50803         (acos_downward_test_data): Likewise.
50804         (acos_upward_test_data): Likewise.
50805         (acosh_test_data): Likewise.
50806         (asin_test_data): Likewise.
50807         (asin_tonearest_test_data): Likewise.
50808         (asin_towardzero_test_data): Likewise.
50809         (asin_downward_test_data): Likewise.
50810         (asin_upward_test_data): Likewise.
50811         (asinh_test_data): Likewise.
50812         (atan_test_data): Likewise.
50813         (atanh_test_data): Likewise.
50814         (atan2_test_data): Likewise.
50815         (cabs_test_data): Likewise.
50816         (cacos_test_data): Likewise.
50817         (cacosh_test_data): Likewise.
50818         (carg_test_data): Likewise.
50819         (casin_test_data): Likewise.
50820         (casinh_test_data): Likewise.
50821         (catan_test_data): Likewise.
50822         (catanh_test_data): Likewise.
50823         (cbrt_test_data): Likewise.
50824         (ccos_test_data): Likewise.
50825         (ccosh_test_data): Likewise.
50826         (ceil_test_data): Likewise.
50827         (cexp_test_data): Likewise.
50828         (cimag_test_data): Likewise.
50829         (clog_test_data): Likewise.
50830         (clog10_test_data): Likewise.
50831         (conj_test_data): Likewise.
50832         (copysign_test_data): Likewise.
50833         (cos_test_data): Likewise.
50834         (cos_tonearest_test_data): Likewise.
50835         (cos_towardzero_test_data): Likewise.
50836         (cos_downward_test_data): Likewise.
50837         (cos_upward_test_data): Likewise.
50838         (cosh_test_data): Likewise.
50839         (cosh_tonearest_test_data): Likewise.
50840         (cosh_towardzero_test_data): Likewise.
50841         (cosh_downward_test_data): Likewise.
50842         (cosh_upward_test_data): Likewise.
50843         (cpow_test_data): Likewise.
50844         (cproj_test_data): Likewise.
50845         (creal_test_data): Likewise.
50846         (csin_test_data): Likewise.
50847         (csinh_test_data): Likewise.
50848         (csqrt_test_data): Likewise.
50849         (ctan_test_data): Likewise.
50850         (ctan_tonearest_test_data): Likewise.
50851         (ctan_towardzero_test_data): Likewise.
50852         (ctan_downward_test_data): Likewise.
50853         (ctan_upward_test_data): Likewise.
50854         (ctanh_test_data): Likewise.
50855         (ctanh_tonearest_test_data): Likewise.
50856         (ctanh_towardzero_test_data): Likewise.
50857         (ctanh_downward_test_data): Likewise.
50858         (ctanh_upward_test_data): Likewise.
50859         (erf_test_data): Likewise.
50860         (erfc_test_data): Likewise.
50861         (exp_test_data): Likewise.
50862         (exp_tonearest_test_data): Likewise.
50863         (exp_towardzero_test_data): Likewise.
50864         (exp_downward_test_data): Likewise.
50865         (exp_upward_test_data): Likewise.
50866         (exp10_test_data): Likewise.
50867         (exp2_test_data): Likewise.
50868         (expm1_test_data): Likewise.
50869         (fabs_test_data): Likewise.
50870         (fdim_test_data): Likewise.
50871         (finite_test_data): Likewise.
50872         (floor_test_data): Likewise.
50873         (fma_test_data): Likewise.
50874         (fma_towardzero_test_data): Likewise.
50875         (fma_downward_test_data): Likewise.
50876         (fma_upward_test_data): Likewise.
50877         (fmax_test_data): Likewise.
50878         (fmin_test_data): Likewise.
50879         (fmod_test_data): Likewise.
50880         (fpclassify_test_data): Likewise.
50881         (frexp_test_data): Likewise.
50882         (gamma_test_data): Likewise.
50883         (hypot_test_data): Likewise.
50884         (ilogb_test_data): Likewise.
50885         (isfinite_test_data): Likewise.
50886         (isgreater_test_data): Likewise.
50887         (isgreaterequal_test_data): Likewise.
50888         (isinf_test_data): Likewise.
50889         (isless_test_data): Likewise.
50890         (islessequal_test_data): Likewise.
50891         (islessgreater_test_data): Likewise.
50892         (isnan_test_data): Likewise.
50893         (isnormal_test_data): Likewise.
50894         (issignaling_test_data): Likewise.
50895         (isunordered_test_data): Likewise.
50896         (j0_test_data): Likewise.
50897         (j1_test_data): Likewise.
50898         (jn_test_data): Likewise.
50899         (ldexp_test_data): Likewise.
50900         (lgamma_test_data): Likewise.
50901         (lrint_test_data): Likewise.
50902         (lrint_tonearest_test_data): Likewise.
50903         (lrint_towardzero_test_data): Likewise.
50904         (lrint_downward_test_data): Likewise.
50905         (lrint_upward_test_data): Likewise.
50906         (llrint_test_data): Likewise.
50907         (llrint_tonearest_test_data): Likewise.
50908         (llrint_towardzero_test_data): Likewise.
50909         (llrint_downward_test_data): Likewise.
50910         (llrint_upward_test_data): Likewise.
50911         (log_test_data): Likewise.
50912         (log10_test_data): Likewise.
50913         (log1p_test_data): Likewise.
50914         (log2_test_data): Likewise.
50915         (logb_test_data): Likewise.
50916         (logb_downward_test_data): Likewise.
50917         (lround_test_data): Likewise.
50918         (llround_test_data): Likewise.
50919         (modf_test_data): Likewise.
50920         (nearbyint_test_data): Likewise.
50921         (nextafter_test_data): Likewise.
50922         (nexttoward_test_data): Likewise.
50923         (pow_test_data): Likewise.
50924         (pow_tonearest_test_data): Likewise.
50925         (pow_towardzero_test_data): Likewise.
50926         (pow_downward_test_data): Likewise.
50927         (pow_upward_test_data): Likewise.
50928         (remainder_test_data): Likewise.
50929         (remainder_tonearest_test_data): Likewise.
50930         (remainder_towardzero_test_data): Likewise.
50931         (remainder_downward_test_data): Likewise.
50932         (remainder_upward_test_data): Likewise.
50933         (remquo_test_data): Likewise.
50934         (rint_test_data): Likewise.
50935         (rint_tonearest_test_data): Likewise.
50936         (rint_towardzero_test_data): Likewise.
50937         (rint_downward_test_data): Likewise.
50938         (rint_upward_test_data): Likewise.
50939         (round_test_data): Likewise.
50940         (scalb_test_data): Likewise.
50941         (scalbn_test_data): Likewise.
50942         (scalbln_test_data): Likewise.
50943         (signbit_test_data): Likewise.
50944         (sin_test_data): Likewise.
50945         (sin_tonearest_test_data): Likewise.
50946         (sin_towardzero_test_data): Likewise.
50947         (sin_downward_test_data): Likewise.
50948         (sin_upward_test_data): Likewise.
50949         (sincos_test_data): Likewise.
50950         (sinh_test_data): Likewise.
50951         (sinh_tonearest_test_data): Likewise.
50952         (sinh_towardzero_test_data): Likewise.
50953         (sinh_downward_test_data): Likewise.
50954         (sinh_upward_test_data): Likewise.
50955         (sqrt_test_data): Likewise.
50956         (tan_test_data): Likewise.
50957         (tan_tonearest_test_data): Likewise.
50958         (tan_towardzero_test_data): Likewise.
50959         (tan_downward_test_data): Likewise.
50960         (tan_upward_test_data): Likewise.
50961         (tanh_test_data): Likewise.
50962         (tgamma_test_data): Likewise.
50963         (trunc_test_data): Likewise.
50964         (y0_test_data): Likewise.
50965         (y1_test_data): Likewise.
50966         (yn_test_data): Likewise.
50967         (significand_test_data): Likewise.
50969         * math/gen-libm-test.pl (@functions): Remove variable.
50970         (generate_testfile): Don't handle START and END lines.
50971         * math/libm-test.inc (START): New macro.
50972         (END): Likewise.
50973         (END_COMPLEX): Likewise.
50974         (acos_test): Use END macro without arguments.
50975         (acos_test_tonearest): Likewise.
50976         (acos_test_towardzero): Likewise.
50977         (acos_test_downward): Likewise.
50978         (acos_test_upward): Likewise.
50979         (acosh_test): Likewise.
50980         (asin_test): Likewise.
50981         (asin_test_tonearest): Likewise.
50982         (asin_test_towardzero): Likewise.
50983         (asin_test_downward): Likewise.
50984         (asin_test_upward): Likewise.
50985         (asinh_test): Likewise.
50986         (atan_test): Likewise.
50987         (atanh_test): Likewise.
50988         (atan2_test): Likewise.
50989         (cabs_test): Likewise.
50990         (cacos_test): Use END_COMPLEX macro without arguments.
50991         (cacosh_test): Likewise.
50992         (carg_test): Use END macro without arguments.
50993         (casin_test): Use END_COMPLEX macro without arguments.
50994         (casinh_test): Likewise.
50995         (catan_test): Likewise.
50996         (catanh_test): Likewise.
50997         (cbrt_test): Use END macro without arguments.
50998         (ccos_test): Use END_COMPLEX macro without arguments.
50999         (ccosh_test): Likewise.
51000         (ceil_test): Use END macro without arguments.
51001         (cexp_test): Use END_COMPLEX macro without arguments.
51002         (cimag_test): Use END macro without arguments.
51003         (clog_test): Use END_COMPLEX macro without arguments.
51004         (clog10_test): Likewise.
51005         (conj_test): Likewise.
51006         (copysign_test): Use END macro without arguments.
51007         (cos_test): Likewise.
51008         (cos_test_tonearest): Likewise.
51009         (cos_test_towardzero): Likewise.
51010         (cos_test_downward): Likewise.
51011         (cos_test_upward): Likewise.
51012         (cosh_test): Likewise.
51013         (cosh_test_tonearest): Likewise.
51014         (cosh_test_towardzero): Likewise.
51015         (cosh_test_downward): Likewise.
51016         (cosh_test_upward): Likewise.
51017         (cpow_test): Use END_COMPLEX macro without arguments.
51018         (cproj_test): Likewise.
51019         (creal_test): Use END macro without arguments.
51020         (csin_test): Use END_COMPLEX macro without arguments.
51021         (csinh_test): Likewise.
51022         (csqrt_test): Likewise.
51023         (ctan_test): Likewise.
51024         (ctan_test_tonearest): Likewise.
51025         (ctan_test_towardzero): Likewise.
51026         (ctan_test_downward): Likewise.
51027         (ctan_test_upward): Likewise.
51028         (ctanh_test): Likewise.
51029         (ctanh_test_tonearest): Likewise.
51030         (ctanh_test_towardzero): Likewise.
51031         (ctanh_test_downward): Likewise.
51032         (ctanh_test_upward): Likewise.
51033         (erf_test): Use END macro without arguments.
51034         (erfc_test): Likewise.
51035         (exp_test): Likewise.
51036         (exp_test_tonearest): Likewise.
51037         (exp_test_towardzero): Likewise.
51038         (exp_test_downward): Likewise.
51039         (exp_test_upward): Likewise.
51040         (exp10_test): Likewise.
51041         (exp2_test): Likewise.
51042         (expm1_test): Likewise.
51043         (fabs_test): Likewise.
51044         (fdim_test): Likewise.
51045         (finite_test): Likewise.
51046         (floor_test): Likewise.
51047         (fma_test): Likewise.
51048         (fma_test_towardzero): Likewise.
51049         (fma_test_downward): Likewise.
51050         (fma_test_upward): Likewise.
51051         (fmax_test): Likewise.
51052         (fmin_test): Likewise.
51053         (fmod_test): Likewise.
51054         (fpclassify_test): Likewise.
51055         (frexp_test): Likewise.
51056         (gamma_test): Likewise.
51057         (hypot_test): Likewise.
51058         (ilogb_test): Likewise.
51059         (isfinite_test): Likewise.
51060         (isgreater_test): Likewise.
51061         (isgreaterequal_test): Likewise.
51062         (isinf_test): Likewise.
51063         (isless_test): Likewise.
51064         (islessequal_test): Likewise.
51065         (islessgreater_test): Likewise.
51066         (isnan_test): Likewise.
51067         (isnormal_test): Likewise.
51068         (issignaling_test): Likewise.
51069         (isunordered_test): Likewise.
51070         (j0_test): Likewise.
51071         (j1_test): Likewise.
51072         (jn_test): Likewise.
51073         (ldexp_test): Likewise.
51074         (lgamma_test): Likewise.
51075         (lrint_test): Likewise.
51076         (lrint_test_tonearest): Likewise.
51077         (lrint_test_towardzero): Likewise.
51078         (lrint_test_downward): Likewise.
51079         (lrint_test_upward): Likewise.
51080         (llrint_test): Likewise.
51081         (llrint_test_tonearest): Likewise.
51082         (llrint_test_towardzero): Likewise.
51083         (llrint_test_downward): Likewise.
51084         (llrint_test_upward): Likewise.
51085         (log_test): Likewise.
51086         (log10_test): Likewise.
51087         (log1p_test): Likewise.
51088         (log2_test): Likewise.
51089         (logb_test): Likewise.
51090         (logb_test_downward): Likewise.
51091         (lround_test): Likewise.
51092         (llround_test): Likewise.
51093         (modf_test): Likewise.
51094         (nearbyint_test): Likewise.
51095         (nextafter_test): Likewise.
51096         (nexttoward_test): Likewise.
51097         (pow_test): Likewise.
51098         (pow_test_tonearest): Likewise.
51099         (pow_test_towardzero): Likewise.
51100         (pow_test_downward): Likewise.
51101         (pow_test_upward): Likewise.
51102         (remainder_test): Likewise.
51103         (remainder_test_tonearest): Likewise.
51104         (remainder_test_towardzero): Likewise.
51105         (remainder_test_downward): Likewise.
51106         (remainder_test_upward): Likewise.
51107         (remquo_test): Likewise.
51108         (rint_test): Likewise.
51109         (rint_test_tonearest): Likewise.
51110         (rint_test_towardzero): Likewise.
51111         (rint_test_downward): Likewise.
51112         (rint_test_upward): Likewise.
51113         (round_test): Likewise.
51114         (scalb_test): Likewise.
51115         (scalbn_test): Likewise.
51116         (scalbln_test): Likewise.
51117         (signbit_test): Likewise.
51118         (sin_test): Likewise.
51119         (sin_test_tonearest): Likewise.
51120         (sin_test_towardzero): Likewise.
51121         (sin_test_downward): Likewise.
51122         (sin_test_upward): Likewise.
51123         (sincos_test): Likewise.
51124         (sinh_test): Likewise.
51125         (sinh_test_tonearest): Likewise.
51126         (sinh_test_towardzero): Likewise.
51127         (sinh_test_downward): Likewise.
51128         (sinh_test_upward): Likewise.
51129         (sqrt_test): Likewise.
51130         (tan_test): Likewise.
51131         (tan_test_tonearest): Likewise.
51132         (tan_test_towardzero): Likewise.
51133         (tan_test_downward): Likewise.
51134         (tan_test_upward): Likewise.
51135         (tanh_test): Likewise.
51136         (tgamma_test): Likewise.
51137         (trunc_test): Likewise.
51138         (y0_test): Likewise.
51139         (y1_test): Likewise.
51140         (yn_test): Likewise.
51141         (significand_test): Likewise.
51143 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51145         [BZ #15381]
51146         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51148 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51150         [BZ #14894]
51151         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51152         __ppc_mdoio and __ppc_mdoom.
51153         * manual/platform.texi: Document new functions __ppc_yield,
51154         __ppc_mdoio and __ppc_mdoom.
51156 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51158         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51159         (main): Mention "tls" pseudo-hwcap is legacy.
51160         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51162 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51164         * math/gen-libm-test.pl (parse_args): Output only string of
51165         arguments as text for test name, not full call or descriptions of
51166         tests for extra outputs.
51167         (generate_testfile): Do not pass function name to parse_args.
51168         Generate this_func variable from START.
51169         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51170         field to arg_str.
51171         (struct test_ff_f_data): Likewise.
51172         (test_ff_f_data_nexttoward): Likewise.
51173         (struct test_fi_f_data): Likewise.
51174         (struct test_fl_f_data): Likewise.
51175         (struct test_if_f_data): Likewise.
51176         (struct test_fff_f_data): Likewise.
51177         (struct test_c_f_data): Likewise.
51178         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51179         (struct test_fF_f1_data): Likewise.
51180         (struct test_ffI_f1_data): Likewise.
51181         (struct test_c_c_data): Rename test_name field to arg_str.
51182         (struct test_cc_c_data): Likewise.
51183         (struct test_f_i_data): Likewise.
51184         (struct test_ff_i_data): Likewise.
51185         (struct test_f_l_data): Likewise.
51186         (struct test_f_L_data): Likewise.
51187         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51188         and extra2_name.
51189         (COMMON_TEST_SETUP): New macro.
51190         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51191         (COMMON_TEST_CLEANUP): Likewise.
51192         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51193         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51194         macros.
51195         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51196         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51197         macros.
51198         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51199         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51200         cleanup macros.
51201         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51202         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51203         macros.
51204         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51205         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51206         macros.
51207         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51208         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51209         cleanup macros.
51210         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51211         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51212         cleanup macros.
51213         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51214         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51215         cleanup macros.
51216         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51217         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51218         macros.
51219         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51220         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51221         macros.
51222         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51223         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51224         macros.
51225         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51226         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51227         cleanup macros.
51228         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51229         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51230         cleanup macros.
51231         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51232         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51233         macros.
51234         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51235         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51236         cleanup macros.
51237         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51238         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51239         macros.
51240         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51241         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51242         macros.
51243         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51244         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51245         cleanup macros.
51246         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51248 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51250         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51251         to _sifields.sigfault.
51252         (si_addr_lsb): Define new macro.
51253         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51254         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51255         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51257 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51259         [BZ #15441]
51260         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51261         returns -1.
51262         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51263         null return -1.
51264         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51265         loading the domain.
51267 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51269         * math/gen-libm-test.pl (parse_args): Do not include expected
51270         result in test name.
51271         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51272         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51273         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51274         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51275         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51278 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51280         * benchtests/Makefile: Sort function entries.
51282         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51283         tanh, asinh, acosh, atanh.
51284         * benchtests/acos-inputs: New file.
51285         * benchtests/acosh-inputs: New file.
51286         * benchtests/asin-inputs: New file.
51287         * benchtests/asinh-inputs: New file.
51288         * benchtests/atanh-inputs: New file.
51289         * benchtests/cosh-inputs: New file.
51290         * benchtests/log-inputs: New file.
51291         * benchtests/sinh-inputs: New file.
51292         * benchtests/tanh-inputs: New file.
51294 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51296         [BZ #15339]
51297         * posix/tst-getaddrinfo4.c: New test.
51298         * posix/Makefile (tests): Add it.
51300 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51302         [BZ #15339]
51303         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51304         when no services were used.
51305         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51306         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51308 2013-05-21  Andreas Schwab  <schwab@suse.de>
51310         [BZ #15014]
51311         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51312         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51313         successful.
51314         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51315         redundant variable declarations and reallocation of buffer when
51316         parsing as IPv6 address.  Always set NSS status when called from
51317         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51318         buffer too small.  Correct computation of needed size.
51319         * nss/Makefile (tests): Add test-digits-dots.
51320         * nss/test-digits-dots.c: New test.
51322 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51324         * benchtests/Makefile: Remove instructions for adding
51325         benchmark tests.
51326         * benchtests/README: New file to explain how to execute and
51327         enhance the benchmark tests.
51329 2013-05-21  Andreas Schwab  <schwab@suse.de>
51331         [BZ #15493]
51332         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51333         * setjmp/tst-sigsetjmp.c: New test.
51335 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51337         * sysdeps/x86_64/memset.S (memset): New implementation.
51338         (__bzero): Likewise.
51339         (__memset_tail): New function.
51341 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51343         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51344         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51345         __memcpy_sse2_unaligned ifunc selection.
51346         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51347         Add memcpy-sse2-unaligned.S.
51348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51349         Add: __memcpy_sse2_unaligned.
51351 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51353         [BZ #15490]
51354         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51355         math_force_eval before restoring floating-point envrionment.
51356         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51357         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51358         Likewise.
51359         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51360         <math_private.h>.
51361         (__nearbyintl): Use math_force_eval before restoring
51362         floating-point environment.
51363         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51365         * math/gen-libm-test.pl (special_functions): Remove.
51366         (parse_args): Don't handle TEST_extra.  Handle functions with no
51367         return value.
51368         * math/libm-test.inc (struct test_sincos_data): Replace with
51369         struct test_fFF_11_data.
51370         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51371         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51372         (sincos_test_data): Change element type to struct
51373         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51374         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51375         RUN_TEST_LOOP_sincos.
51376         * math/README.libm-test: Don't mention special handling of
51377         individual functions.
51378         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51379         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51380         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51381         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51382         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51385         * math/gen-libm-test.pl (get_variable): Remove function.
51386         (parse_args): Don't show pointer parameters to call in test
51387         names.  Use "extra output N" in test names for extra outputs
51388         rather than naming variables.
51390 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51392         [BZ #15488]
51393         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51394         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51395         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51396         double tests.
51397         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51398         disable.
51399         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51400         check_long_double.
51402         * math/gen-libm-test.pl (@tests): Remove variable.
51403         ($count): Likewise.
51404         (new_test): Remove function.
51405         (show_exceptions): New function.
51406         (special_functions): Use show_exceptions instead of new_test.
51407         (parse_args): Likewise.
51408         (generate_testfile): Pass only function name in generated call to
51409         print_max_error or print_complex_max_error.
51410         (get_ulps): Do not handle complex tests specially.
51411         (output_test): Rename to ...
51412         (get_all_ulps_for_test): ... this.  Return a string rather than
51413         printing to a file.  Require ulps to be present.
51414         (output_ulps): Generate arrays rather than #defines.
51415         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51416         (struct ulp_data): New type.
51417         (BUILD_COMPLEX_ULP): Remove macro.
51418         (compare_ulp_data): New function.
51419         (find_ulps): Likewise.
51420         (find_test_ulps): Likewise.
51421         (find_function_ulps): Likewise.
51422         (find_complex_function_ulps): Likewise.
51423         (print_max_error): Determine allowed ulps using
51424         find_function_ulps.
51425         (print_complex_max_error): Determine allowed ulps using
51426         find_complex_function_ulps.
51427         (check_float_internal): Determine max ulps using find_test_ulps.
51428         (check_float): Do not take max_ulp parameter.  Update call to
51429         check_float_internal.
51430         (check_complex): Likewise.
51431         (check_int): Do not take max_ulp parameter.
51432         (check_long): Likewise.
51433         (check_bool): Likewise.
51434         (check_longlong): Likewise.
51435         (struct test_f_f_data): Remove max_ulp field.
51436         (struct test_ff_f_data): Likewise.
51437         (struct test_ff_f_data_nexttoward): Likewise.
51438         (struct test_fi_f_data): Likewise.
51439         (struct test_fl_f_data): Likewise.
51440         (struct test_if_f_data): Likewise.
51441         (struct test_fff_f_data): Likewise.
51442         (struct test_c_f_data): Likewise.
51443         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51444         (struct test_fF_f1_data): Likewise.
51445         (struct test_ffI_f1_data): Likewise.
51446         (struct test_c_c_data): Remove max_ulp field.
51447         (struct test_cc_c_data): Likewise.
51448         (struct test_f_i_data): Likewise.
51449         (struct test_ff_i_data): Likewise.
51450         (struct test_f_l_data): Likewise.
51451         (struct test_f_L_data): Likewise.
51452         (struct test_sincos_data): Likewise.
51453         (RUN_TEST_f_f): Do not handle ulps.
51454         (RUN_TEST_LOOP_f_f): Likewise.
51455         (RUN_TEST_2_f): Likewise.
51456         (RUN_TEST_LOOP_2_f): Likewise.
51457         (RUN_TEST_fff_f): Likewise.
51458         (RUN_TEST_LOOP_fff_f): Likewise.
51459         (RUN_TEST_c_f): Likewise.
51460         (RUN_TEST_LOOP_c_f): Likewise.
51461         (RUN_TEST_f_f1): Likewise.
51462         (RUN_TEST_LOOP_f_f1): Likewise.
51463         (RUN_TEST_fF_f1): Likewise.
51464         (RUN_TEST_LOOP_fF_f1): Likewise.
51465         (RUN_TEST_fI_f1): Likewise.
51466         (RUN_TEST_LOOP_fI_f1): Likewise.
51467         (RUN_TEST_ffI_f1): Likewise.
51468         (RUN_TEST_LOOP_ffI_f1): Likewise.
51469         (RUN_TEST_c_c): Likewise.
51470         (RUN_TEST_LOOP_c_c): Likewise.
51471         (RUN_TEST_cc_c): Likewise.
51472         (RUN_TEST_LOOP_cc_c): Likewise.
51473         (RUN_TEST_f_i): Likewise.
51474         (RUN_TEST_LOOP_f_i): Likewise.
51475         (RUN_TEST_f_i_tg): Likewise.
51476         (RUN_TEST_LOOP_f_i_tg): Likewise.
51477         (RUN_TEST_ff_i_tg): Likewise.
51478         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51479         (RUN_TEST_f_b): Likewise.
51480         (RUN_TEST_LOOP_f_b): Likewise.
51481         (RUN_TEST_f_b_tg): Likewise.
51482         (RUN_TEST_LOOP_f_b_tg): Likewise.
51483         (RUN_TEST_f_l): Likewise.
51484         (RUN_TEST_LOOP_f_l): Likewise.
51485         (RUN_TEST_f_L): Likewise.
51486         (RUN_TEST_LOOP_f_L): Likewise.
51487         (RUN_TEST_sincos): Likewise.
51488         (RUN_TEST_LOOP_sincos): Likewise.
51490 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51492         [BZ #15480]
51493         [BZ #15485]
51494         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51495         main case of finite arguments, set rounding mode to FE_TONEAREST
51496         and discard exceptions.
51497         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51498         exceptions.
51499         (remainder_tonearest_test_data): New variable.
51500         (remainder_test_tonearest): New function.
51501         (remainder_towardzero_test_data): New variable.
51502         (remainder_test_towardzero): New function.
51503         (remainder_downward_test_data): New variable.
51504         (remainder_test_downward): New function.
51505         (remainder_upward_test_data): New variable.
51506         (remainder_test_upward): New function.
51507         (main): Call the new test functions.
51509         * math/libm-test.inc (struct test_f_f1_data): Remove field
51510         extra_init.
51511         (struct test_fF_f1_data): Likewise.
51512         (struct test_ffI_f1_data): Likewise.
51513         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51514         based on value of EXTRA_EXPECTED.
51515         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51516         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51517         EXTRA_VAR based on value of EXTRA_EXPECTED.
51518         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51519         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51520         EXTRA_VAR based on value of EXTRA_EXPECTED.
51521         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51522         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51523         EXTRA_VAR based on value of EXTRA_EXPECTED.
51524         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51525         * math/gen-libm-test.pl (parse_args): Don't output initializers
51526         for extra output values.
51528         * math/libm-test.inc (check_int): Expect result to be exactly
51529         equal to expected value and do not handle ulps.
51530         (check_long): Likewise.
51531         (check_longlong): Likewise.
51533         * math/libm-test.inc (ceil_test_data): Test for "inexact"
51534         exceptions.
51535         (cimag_test_data): Likewise.
51536         (conj_test_data): Likewise.
51537         (copysign_test_data): Likewise.
51538         (cproj_test_data): Likewise.
51539         (creal_test_data): Likewise.
51540         (fabs_test_data): Likewise.
51541         (fdim_test_data): Likewise.
51542         (finite_test_data): Likewise.
51543         (floor_test_data): Likewise.
51544         (fmax_test_data): Likewise.
51545         (fmin_test_data): Likewise.
51546         (fmod_test_data): Likewise.
51547         (fpclassify_test_data): Likewise.
51548         (frexp_test_data): Likewise.
51549         (ilogb_test_data): Likewise.
51550         (isfinite_test_data): Likewise.
51551         (isgreater_test_data): Likewise.
51552         (isgreaterequal_test_data): Likewise.
51553         (isinf_test_data): Likewise.
51554         (isless_test_data): Likewise.
51555         (islessequal_test_data): Likewise.
51556         (islessgreater_test_data): Likewise.
51557         (isnan_test_data): Likewise.
51558         (isnormal_test_data): Likewise.
51559         (issignaling_test_data): Likewise.
51560         (isunordered_test_data): Likewise.
51561         (ldexp_test_data): Likewise.
51562         (lrint_test_data): Likewise.
51563         (lrint_test_data) [TEST_FLOAT]: Disable one test.
51564         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
51565         (lrint_tonearest_test_data): Test for "inexact" exceptions.
51566         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51567         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
51568         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51569         test input.
51570         (lrint_towardzero_test_data): Test for "inexact" exceptions.
51571         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51572         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
51573         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
51574         that test input.
51575         (lrint_downward_test_data): Test for "inexact" exceptions.
51576         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51577         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
51578         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
51579         test input.
51580         (lrint_upward_test_data): Test for "inexact" exceptions.
51581         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
51582         test input.
51583         (llrint_test_data): Test for "inexact" exceptions.
51584         (llrint_test_data) [TEST_FLOAT]: Disable one test.
51585         (llrint_tonearest_test_data): Test for "inexact" exceptions.
51586         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
51587         (llrint_towardzero_test_data): Test for "inexact" exceptions.
51588         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
51589         (llrint_downward_test_data): Test for "inexact" exceptions.
51590         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
51591         (llrint_upward_test_data): Test for "inexact" exceptions.
51592         (logb_test_data): Likewise.
51593         (logb_downward_test_data): Likewise.
51594         (nextafter_test_data): Likewise.
51595         (nexttoward_test_data): Likewise.
51596         (remainder_test_data): Likewise.
51597         (remquo_test_data): Likewise.
51598         (scalbn_test_data): Likewise.
51599         (scalbln_test_data): Likewise.
51600         (signbit_test_data): Likewise.
51601         (sqrt_test_data): Likewise.
51602         (significand_test_data): Likewise.
51604 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51606         [BZ #15424]
51607         * benchtests/bench-modf.c (struct args): Mark arg0 as
51608         volatile.
51609         * scripts/bench.pl: Mark members of struct args as volatile.
51611 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51613         [BZ # 15497]
51614         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
51615         negative infinity on POWER6 or lower.
51616         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
51618 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51620         [BZ #15442]
51621         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
51622         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
51623         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
51624         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
51625         (_FP_SETQNAN): New macro.
51626         (_FP_SETQNAN_SEMIRAW): Likewise.
51627         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
51628         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
51629         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
51630         (FP_EXTEND): Use _FP_FRAC_SNANP.
51631         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
51632         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
51633         into account.
51634         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51635         New macro.
51636         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
51637         Likewise.
51639 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51641         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
51642         with DIVIDE_BY_ZERO_EXCEPTION.
51643         (gamma_test_data): Likewise.
51644         (lgamma_test_data): Likewise.
51645         (log_test_data): Likewise.
51646         (log10_test_data): Likewise.
51647         (log2_test_data): Likewise.
51648         (tgamma_test_data): Likewise.
51650         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
51651         (acos_test_tonearest): Likewise.
51652         (acos_test_towardzero): Likewise.
51653         (acos_test_downward): Likewise.
51654         (acos_test_upward): Likewise.
51655         (acosh_test): Likewise.
51656         (asin_test): Likewise.
51657         (asin_test_tonearest): Likewise.
51658         (asin_test_towardzero): Likewise.
51659         (asin_test_downward): Likewise.
51660         (asin_test_upward): Likewise.
51661         (asinh_test): Likewise.
51662         (atan_test): Likewise.
51663         (atanh_test): Likewise.
51664         (atan2_test): Likewise.
51665         (cabs_test): Likewise.
51666         (cacos_test): Likewise.
51667         (cacosh_test): Likewise.
51668         (casin_test): Likewise.
51669         (casinh_test): Likewise.
51670         (catan_test): Likewise.
51671         (catanh_test): Likewise.
51672         (cbrt_test): Likewise.
51673         (ccos_test): Likewise.
51674         (ccosh_test): Likewise.
51675         (cexp_test): Likewise.
51676         (clog_test): Likewise.
51677         (clog10_test): Likewise.
51678         (cos_test): Likewise.
51679         (cos_test_tonearest): Likewise.
51680         (cos_test_towardzero): Likewise.
51681         (cos_test_downward): Likewise.
51682         (cos_test_upward): Likewise.
51683         (cosh_test): Likewise.
51684         (cosh_test_tonearest): Likewise.
51685         (cosh_test_towardzero): Likewise.
51686         (cosh_test_downward): Likewise.
51687         (cosh_test_upward): Likewise.
51688         (cpow_test): Likewise.
51689         (csin_test): Likewise.
51690         (csinh_test): Likewise.
51691         (csqrt_test): Likewise.
51692         (ctan_test): Likewise.
51693         (ctan_test_tonearest): Likewise.
51694         (ctan_test_towardzero): Likewise.
51695         (ctan_test_downward): Likewise.
51696         (ctan_test_upward): Likewise.
51697         (ctanh_test): Likewise.
51698         (ctanh_test_tonearest): Likewise.
51699         (ctanh_test_towardzero): Likewise.
51700         (ctanh_test_downward): Likewise.
51701         (ctanh_test_upward): Likewise.
51702         (erf_test): Likewise.
51703         (erfc_test): Likewise.
51704         (exp_test): Likewise.
51705         (exp_test_tonearest): Likewise.
51706         (exp_test_towardzero): Likewise.
51707         (exp_test_downward): Likewise.
51708         (exp_test_upward): Likewise.
51709         (exp10_test): Likewise.
51710         (exp2_test): Likewise.
51711         (expm1_test): Likewise.
51712         (fmod_test): Likewise.
51713         (gamma_test): Likewise.
51714         (hypot_test): Likewise.
51715         (j0_test): Likewise.
51716         (j1_test): Likewise.
51717         (jn_test): Likewise.
51718         (lgamma_test): Likewise.
51719         (log_test): Likewise.
51720         (log10_test): Likewise.
51721         (log1p_test): Likewise.
51722         (log2_test): Likewise.
51723         (logb_test_downward): Likewise.
51724         (pow_test): Likewise.
51725         (pow_test_tonearest): Likewise.
51726         (pow_test_towardzero): Likewise.
51727         (pow_test_downward): Likewise.
51728         (pow_test_upward): Likewise.
51729         (remainder_test): Likewise.
51730         (remquo_test): Likewise.
51731         (sin_test): Likewise.
51732         (sin_test_tonearest): Likewise.
51733         (sin_test_towardzero): Likewise.
51734         (sin_test_downward): Likewise.
51735         (sin_test_upward): Likewise.
51736         (sincos_test): Likewise.
51737         (sinh_test): Likewise.
51738         (sinh_test_tonearest): Likewise.
51739         (sinh_test_towardzero): Likewise.
51740         (sinh_test_downward): Likewise.
51741         (sinh_test_upward): Likewise.
51742         (sqrt_test): Likewise.
51743         (tan_test): Likewise.
51744         (tan_test_tonearest): Likewise.
51745         (tan_test_towardzero): Likewise.
51746         (tan_test_downward): Likewise.
51747         (tan_test_upward): Likewise.
51748         (tanh_test): Likewise.
51749         (tgamma_test): Likewise.
51750         (y0_test): Likewise.
51751         (y1_test): Likewise.
51752         (yn_test): Likewise.
51754         * math/gen-libm-test.pl (adjust_arg): Remove function.
51755         (special_function): Remove argument $in_func.  Only handle
51756         generating output for tables of tests, not inside functions.
51757         (parse_args): Likewise.
51758         (generate_testfile): Remove variable $in_func.  Update call to
51759         parse_args.
51760         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
51761         (MINUS_ZERO_INIT): Rename macro to minus_zero.
51762         (PLUS_INFTY_INIT): Rename macro to plus_infty.
51763         (MINUS_INFTY_INIT): Rename macro to minus_infty.
51764         (QNAN_VALUE_INIT): Rename macro to qnan_value.
51765         (MAX_VALUE_INIT): Rename macro to max_value.
51766         (MIN_VALUE_INIT): Rename macro to min_value.
51767         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
51768         (plus_zero): Remove variable.
51769         (minus_zero): Likewise.
51770         (plus_infty): Likewise.
51771         (minus_infty): Likewise.
51772         (qnan_value): Likewise.
51773         (max_value): Likewise.
51774         (min_value): Likewise.
51775         (min_subnorm_value): Likewise.
51777 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51779         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
51780         uint64_t or uint32_t usage.
51781         * crypt/sha256-block.c: Likewise.
51782         * crypt/sha256-crypt.c: Likewise.
51783         * crypt/sha256.c: Likewise.
51784         * crypt/sha512-block.c: Likewise.
51785         * crypt/sha512-crypt.c: Likewise.
51786         * crypt/sha512.c: Likewise.
51787         * debug/backtrace-tst.c: Likewise.
51788         * debug/pcprofiledump.c: Likewise.
51789         * elf/cache.c: Likewise.
51790         * elf/dl-cache.c: Likewise.
51791         * elf/dl-misc.c: Likewise.
51792         * elf/dl-profile.c: Likewise.
51793         * elf/dl-support.c: Likewise.
51794         * elf/ldconfig.c: Likewise.
51795         * elf/sprof.c: Likewise.
51796         * iconv/dummy-repertoire.c: Likewise.
51797         * iconv/iconv_charmap.c: Likewise.
51798         * iconv/skeleton.c: Likewise.
51799         * iconvdata/8bit-generic.c: Likewise.
51800         * iconvdata/cp737.h: Likewise.
51801         * iconvdata/cp775.h: Likewise.
51802         * iconvdata/ibm1008.h: Likewise.
51803         * iconvdata/ibm1025.h: Likewise.
51804         * iconvdata/ibm1046.h: Likewise.
51805         * iconvdata/ibm1097.h: Likewise.
51806         * iconvdata/ibm1112.h: Likewise.
51807         * iconvdata/ibm1122.h: Likewise.
51808         * iconvdata/ibm1123.h: Likewise.
51809         * iconvdata/ibm1124.h: Likewise.
51810         * iconvdata/ibm1129.h: Likewise.
51811         * iconvdata/ibm1130.h: Likewise.
51812         * iconvdata/ibm1132.h: Likewise.
51813         * iconvdata/ibm1133.h: Likewise.
51814         * iconvdata/ibm1137.h: Likewise.
51815         * iconvdata/ibm1140.h: Likewise.
51816         * iconvdata/ibm1141.h: Likewise.
51817         * iconvdata/ibm1142.h: Likewise.
51818         * iconvdata/ibm1143.h: Likewise.
51819         * iconvdata/ibm1144.h: Likewise.
51820         * iconvdata/ibm1145.h: Likewise.
51821         * iconvdata/ibm1146.h: Likewise.
51822         * iconvdata/ibm1147.h: Likewise.
51823         * iconvdata/ibm1148.h: Likewise.
51824         * iconvdata/ibm1149.h: Likewise.
51825         * iconvdata/ibm1153.h: Likewise.
51826         * iconvdata/ibm1154.h: Likewise.
51827         * iconvdata/ibm1155.h: Likewise.
51828         * iconvdata/ibm1156.h: Likewise.
51829         * iconvdata/ibm1157.h: Likewise.
51830         * iconvdata/ibm1158.h: Likewise.
51831         * iconvdata/ibm1160.h: Likewise.
51832         * iconvdata/ibm1161.h: Likewise.
51833         * iconvdata/ibm1162.h: Likewise.
51834         * iconvdata/ibm1163.h: Likewise.
51835         * iconvdata/ibm1164.h: Likewise.
51836         * iconvdata/ibm1166.h: Likewise.
51837         * iconvdata/ibm1167.h: Likewise.
51838         * iconvdata/ibm12712.h: Likewise.
51839         * iconvdata/ibm1390.h: Likewise.
51840         * iconvdata/ibm1399.h: Likewise.
51841         * iconvdata/ibm16804.h: Likewise.
51842         * iconvdata/ibm4517.h: Likewise.
51843         * iconvdata/ibm4899.h: Likewise.
51844         * iconvdata/ibm4909.h: Likewise.
51845         * iconvdata/ibm4971.h: Likewise.
51846         * iconvdata/ibm5347.h: Likewise.
51847         * iconvdata/ibm803.h: Likewise.
51848         * iconvdata/ibm856.h: Likewise.
51849         * iconvdata/ibm901.h: Likewise.
51850         * iconvdata/ibm902.h: Likewise.
51851         * iconvdata/ibm9030.h: Likewise.
51852         * iconvdata/ibm9066.h: Likewise.
51853         * iconvdata/ibm921.h: Likewise.
51854         * iconvdata/ibm922.h: Likewise.
51855         * iconvdata/ibm9448.h: Likewise.
51856         * iconvdata/isiri-3342.h: Likewise.
51857         * iconvdata/jis0201.h: Likewise.
51858         * include/link.h: Likewise.
51859         * include/netdb.h: Likewise.
51860         * inet/check_native.c: Likewise.
51861         * inet/check_pf.c: Likewise.
51862         * inet/getipv4sourcefilter.c: Likewise.
51863         * inet/getnameinfo.c: Likewise.
51864         * inet/getsourcefilter.c: Likewise.
51865         * inet/htonl.c: Likewise.
51866         * inet/setipv4sourcefilter.c: Likewise.
51867         * inet/setsourcefilter.c: Likewise.
51868         * inet/test-inet6_opt.c: Likewise.
51869         * inet/tst-network.c: Likewise.
51870         * locale/C-collate.c: Likewise.
51871         * locale/C-ctype.c: Likewise.
51872         * locale/C-time.c: Likewise.
51873         * locale/C-translit.h: Likewise.
51874         * locale/loadarchive.c: Likewise.
51875         * locale/programs/3level.h: Likewise.
51876         * locale/programs/charmap.c: Likewise.
51877         * locale/programs/charmap.h: Likewise.
51878         * locale/programs/ld-address.c: Likewise.
51879         * locale/programs/ld-collate.c: Likewise.
51880         * locale/programs/ld-ctype.c: Likewise.
51881         * locale/programs/ld-identification.c: Likewise.
51882         * locale/programs/ld-measurement.c: Likewise.
51883         * locale/programs/ld-messages.c: Likewise.
51884         * locale/programs/ld-monetary.c: Likewise.
51885         * locale/programs/ld-name.c: Likewise.
51886         * locale/programs/ld-numeric.c: Likewise.
51887         * locale/programs/ld-paper.c: Likewise.
51888         * locale/programs/ld-telephone.c: Likewise.
51889         * locale/programs/ld-time.c: Likewise.
51890         * locale/programs/linereader.c: Likewise.
51891         * locale/programs/locale.c: Likewise.
51892         * locale/programs/locarchive.c: Likewise.
51893         * locale/programs/locfile.h: Likewise.
51894         * locale/programs/repertoire.c: Likewise.
51895         * locale/programs/simple-hash.c: Likewise.
51896         * locale/programs/simple-hash.h: Likewise.
51897         * malloc/memusage.c: Likewise.
51898         * malloc/memusagestat.c: Likewise.
51899         * nis/nis_defaults.c: Likewise.
51900         * nis/nis_hash.c: Likewise.
51901         * nis/nis_print.c: Likewise.
51902         * nis/nis_xdr.c: Likewise.
51903         * nscd/connections.c: Likewise.
51904         * nscd/hstcache.c: Likewise.
51905         * nscd/nscd_gethst_r.c: Likewise.
51906         * nscd/nscd_getserv_r.c: Likewise.
51907         * nscd/nscd_helper.c: Likewise.
51908         * nscd/servicescache.c: Likewise.
51909         * nss/makedb.c: Likewise.
51910         * nss/nss_db/db-XXX.c: Likewise.
51911         * nss/nss_db/db-initgroups.c: Likewise.
51912         * nss/nss_db/db-netgrp.c: Likewise.
51913         * nss/nss_files/files-network.c: Likewise.
51914         * nss/nss_files/files-parse.c: Likewise.
51915         * posix/bug-regex5.c: Likewise.
51916         * posix/fnmatch_loop.c: Likewise.
51917         * posix/regcomp.c: Likewise.
51918         * posix/regexec.c: Likewise.
51919         * posix/tst-rfc3484-2.c: Likewise.
51920         * posix/tst-rfc3484-3.c: Likewise.
51921         * posix/tst-rfc3484.c: Likewise.
51922         * resolv/nss_dns/dns-canon.c: Likewise.
51923         * resolv/nss_dns/dns-network.c: Likewise.
51924         * resolv/res_init.c: Likewise.
51925         * resolv/res_mkquery.c: Likewise.
51926         * resolv/tst-aton.c: Likewise.
51927         * stdlib/cxa_atexit.c: Likewise.
51928         * stdlib/cxa_finalize.c: Likewise.
51929         * stdlib/gen-fpioconst.c: Likewise.
51930         * stdlib/strtol_l.c: Likewise.
51931         * string/tst-endian.c: Likewise.
51932         * sunrpc/auth_des.c: Likewise.
51933         * sunrpc/clnt_udp.c: Likewise.
51934         * sunrpc/rtime.c: Likewise.
51935         * sunrpc/svcauth_des.c: Likewise.
51936         * sunrpc/xdr.c: Likewise.
51937         * sunrpc/xdr_intXX_t.c: Likewise.
51938         * sunrpc/xdr_rec.c: Likewise.
51939         * sysdeps/generic/ldconfig.h: Likewise.
51940         * sysdeps/generic/ldsodefs.h: Likewise.
51941         * sysdeps/generic/memusage.h: Likewise.
51942         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51943         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
51944         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
51945         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51946         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51948         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51949         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51950         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51951         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51952         * sysdeps/posix/getaddrinfo.c: Likewise.
51953         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51954         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51955         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51956         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51957         * sysdeps/powerpc/test-gettimebase.c: Likewise.
51958         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
51959         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
51960         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
51961         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
51962         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
51963         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51964         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51965         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
51966         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
51967         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
51968         * sysdeps/x86_64/dl-tls.h: Likewise.
51969         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
51970         * time/alt_digit.c: Likewise.
51971         * time/era.c: Likewise.
51972         * wcsmbs/tst-c16c32-1.c: Likewise.
51974 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51976         * math/libm-test.inc (struct test_sincos_data): New type.
51977         (RUN_TEST_LOOP_sincos): New macro.
51978         (sincos_test_data): New variable.
51979         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
51981 2013-05-16  Richard Henderson  <rth@redhat.com>
51983         * math/atest-exp2.c (LIMB64): New macro.
51984         (CONSTSZ): New macro.
51985         (mp_exp1, mp_exp_m1, mp_log2): New variables.
51986         (hexdig): Move ...
51987         (print_mpn_fp): ... to function scope.
51988         (read_mpn_hex): Remove.
51989         (get_log2): Remove.
51990         (exp2_mpn): Use mp_log2.
51991         (main): Use mp_exp1.
51993 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
51995         * math/libm-test.inc: Remove comment about not testing "inexact"
51996         exceptions.
51997         (INEXACT_EXCEPTION): New macro.
51998         (NO_INEXACT_EXCEPTION): Likewise.
51999         (INVALID_EXCEPTION_OK): Update value.
52000         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52001         (OVERFLOW_EXCEPTION_OK): Likewise.
52002         (UNDERFLOW_EXCEPTION_OK): Likewise.
52003         (IGNORE_ZERO_INF_SIGN): Likewise.
52004         (ERRNO_UNCHANGED): Likewise.
52005         (ERRNO_EDOM): Likewise.
52006         (ERRNO_ERANGE): Likewise.
52007         (test_exceptions): Handle testing "inexact" exceptions.
52008         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52009         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52010         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52011         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52012         INEXACT_EXCEPTION.
52013         (rint_towardzero_test_data): Likewise.
52014         (rint_downward_test_data): Likewise.
52015         (rint_upward_test_data): Likewise.
52017         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52018         with OVERFLOW_EXCEPTION.
52019         (exp10_test_data): Likewise.
52020         (exp2_test_data): Likewise.
52021         (expm1_test_data): Likewise.
52022         (lgamma_test_data): Likewise.
52023         (pow_test_data): Likewise.
52024         (tgamma_test_data): Likewise.
52025         (yn_test_data): Remove duplicate test of overflow.
52027         * math/libm-test.inc (struct test_cc_c_data): New type.
52028         (RUN_TEST_LOOP_cc_c): New macro.
52029         (cpow_test_data): New variable.
52030         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52032         * math/libm-test.inc (struct test_f_L_data): New type.
52033         (RUN_TEST_LOOP_f_L): New macro.
52034         (llrint_test_data): New variable.
52035         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52036         (llrint_tonearest_test_data): New variable.
52037         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52038         (llrint_towardzero_test_data): New variable.
52039         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52040         (llrint_downward_test_data): New variable.
52041         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52042         (llrint_upward_test_data): New variable.
52043         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52044         (llround_test_data): New variable.
52045         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52047 2013-05-13  Peter Collingbourne  <pcc@google.com>
52049         * math/atest-exp2.c (get_log2): Remove const attribute.
52051 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52053         * math/libm-test.inc (struct test_f_l_data): New type.
52054         (RUN_TEST_LOOP_f_l): New macro.
52055         (lrint_test_data): New variable.
52056         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52057         (lrint_tonearest_test_data): New variable.
52058         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52059         (lrint_towardzero_test_data): New variable.
52060         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52061         (lrint_downward_test_data): New variable.
52062         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52063         (lrint_upward_test_data): New variable.
52064         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52065         (lround_test_data): New variable.
52066         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52068 2013-05-15  Peter Collingbourne  <pcc@google.com>
52070         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52071         (EXTRACT_WORDS64) Use where appropriate.
52072         (INSERT_WORDS64) Likewise.
52074         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52075         constraints with x constraints.
52076         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52078         * malloc/obstack.c (_obstack_compat): Add initializer.
52080 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52082         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52083         si_trapno and add si_addr_lsb to _sifields.sigfault.
52084         (si_trapno): Remove macro.
52085         (si_addr_lsb): Define new macro.
52086         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52088 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52090         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52091         instead of TEST_f_l.
52092         (llrint_test_tonearest): Likewise.
52093         (llrint_test_towardzero): Likewise.
52094         (llrint_test_downward): Likewise.
52095         (llrint_test_upward): Likewise.
52096         (llround_test): Likewise.
52098         * math/libm-test.inc (struct test_f_i_data): Add comment.
52099         (RUN_TEST_LOOP_f_b): New macro.
52100         (RUN_TEST_LOOP_f_b_tg): Likewise.
52101         (finite_test_data): New variable.
52102         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52103         (isfinite_test_data): New variable.
52104         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52105         (isinf_test_data): New variable.
52106         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52107         (isnan_test_data): New variable.
52108         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52109         (isnormal_test_data): New variable.
52110         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52111         (issignaling_test_data): New variable.
52112         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52113         (signbit_test_data): New variable.
52114         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52116         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52117         with INVALID_EXCEPTION.
52118         (acosh_test_data): Likewise.
52119         (asin_test_data): Likewise.
52120         (atanh_test_data): Likewise.
52121         (fmod_test_data): Likewise.
52122         (log_test_data): Likewise.
52123         (log10_test_data): Likewise.
52124         (log2_test_data): Likewise.
52125         (pow_test_data): Likewise.
52126         (sqrt_test_data): Likewise.
52127         (y0_test_data): Likewise.
52128         (y1_test_data): Likewise.
52129         (yn_test_data): Likewise.
52131         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52132         function contents.
52134         * math/libm-test.inc (struct test_ff_i_data): New type.
52135         (RUN_TEST_LOOP_ff_i_tg): New macro.
52136         (isgreater_test_data): New variable.
52137         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52138         (isgreaterequal_test_data): New variable.
52139         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52140         (isless_test_data): New variable.
52141         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52142         (islessequal_test_data): New variable.
52143         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52144         (islessgreater_test_data): New variable.
52145         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52146         (isunordered_test_data): New variable.
52147         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52149 2013-05-14  David S. Miller  <davem@davemloft.net>
52151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52153 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52155         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52157         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52158         extra_test to int.
52159         (struct test_f_i_data): Change type of max_ulp to int.
52161         * math/libm-test.inc (test_ffI_f1_data): New type.
52162         (RUN_TEST_LOOP_ffI_f1): New macro.
52163         (remquo_test_data): New variable.
52164         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52166         * setjmp/tst-setjmp-fp.c: New file.
52167         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52168         (link-libm): New variable.
52169         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52171         * math/libm-test.inc (struct test_f_i_data): New type.
52172         (RUN_TEST_LOOP_f_i): New macro.
52173         (RUN_TEST_LOOP_f_i_tg): Likewise.
52174         (fpclassify_test_data): New variable.
52175         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52176         (ilogb_test_data): New variable.
52177         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52179         * math/libm-test.inc (scalbln_test): Correct function name in END
52180         call.
52182         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52183         (RUN_TEST_LOOP_fI_f1): New macro.
52184         (frexp_test_data): New variable.
52185         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52187         * math/libm-test.inc (struct test_fF_f1_data): New type.
52188         (RUN_TEST_LOOP_fF_f1): New macro.
52189         (modf_test_data): New variable.
52190         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52192         * math/libm-test.inc (struct test_f_f1_data): New type.
52193         (RUN_TEST_LOOP_f_f1): New macro.
52194         (gamma_test_data): New variable.
52195         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52196         (lgamma_test_data): New variable.
52197         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52199 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52201         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52202         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52203         (main): Comment "tls" pseudo-hwcap.
52205 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52207         * math/libm-test.inc (struct test_fl_f_data): New type.
52208         (RUN_TEST_LOOP_fl_f): New variable.
52209         (scalbln_test_data): New variable.
52210         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52212         * math/libm-test.inc (struct test_fi_f_data): New type.
52213         (RUN_TEST_LOOP_fi_f): New macro.
52214         (ldexp_test_data): New variable.
52215         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52216         (scalbn_test_data): New variable.
52217         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52219         * math/libm-test.inc (struct test_c_f_data): New type.
52220         (RUN_TEST_LOOP_c_f): New macro.
52221         (cabs_test_data): New variable.
52222         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52223         (carg_test_data): New variable.
52224         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52225         (cimag_test_data): New variable.
52226         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52227         (creal_test_data): New variable.
52228         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52230         * math/libm-test.inc (struct test_if_f_data): New type.
52231         (RUN_TEST_LOOP_if_f): New macro.
52232         (jn_test_data): New variable.
52233         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52234         (yn_test_data): New variable.
52235         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52237         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52239 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52241         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52242         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52244 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52246         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52247         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52248         (bench-deps): Add bench-timing.h.
52249         * benchtests-bench-skeleton.c: Include bench-timing.h.
52250         (main): Use TIMING_* macros instead of clock_gettime.
52251         * benchtests/bench-timing.h: New file.
52253         [BZ #14582]
52254         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52255         Renamed from _LIB_VERSION.
52256         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52258 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52260         * math/libm-test.inc (struct test_fff_f_data): New type.
52261         (RUN_TEST_LOOP_fff_f): New macro.
52262         (fma_test_data): New variable.
52263         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52264         (fma_towardzero_test_data): New variable.
52265         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52266         (fma_downward_test_data): New variable.
52267         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52268         (fma_upward_test_data): New variable.
52269         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52271         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52272         (struct test_c_c_data): New type.
52273         (RUN_TEST_LOOP_c_c): New macro.
52274         (cacos_test_data): New variable.
52275         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52276         (cacosh_test_data): New variable.
52277         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52278         (casin_test_data): New variable.
52279         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52280         (casinh_test_data): New variable.
52281         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52282         (catan_test_data): New variable.
52283         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52284         (catanh_test_data): New variable.
52285         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52286         (ccos_test_data): New variable.
52287         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52288         (ccosh_test_data): New variable.
52289         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52290         (cexp_test_data): New variable.
52291         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52292         (clog_test_data): New variable.
52293         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52294         (clog10_test_data): New variable.
52295         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52296         (conj_test_data): New variable.
52297         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52298         (cproj_test_data): New variable.
52299         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52300         (csin_test_data): New variable.
52301         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52302         (csinh_test_data): New variable.
52303         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52304         (csqrt_test_data): New variable.
52305         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52306         (ctan_test_data): New variable.
52307         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52308         (ctan_tonearest_test_data): New variable.
52309         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52310         (ctan_towardzero_test_data): New variable.
52311         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52312         (ctan_downward_test_data): New variable.
52313         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52314         (ctan_upward_test_data): New variable.
52315         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52316         (ctanh_test_data): New variable.
52317         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52318         (ctanh_tonearest_test_data): New variable.
52319         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52320         (ctanh_towardzero_test_data): New variable.
52321         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52322         (ctanh_downward_test_data): New variable.
52323         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52324         (ctanh_upward_test_data): New variable.
52325         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52326         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52327         of BUILD_COMPLEX.
52329         * math/libm-test.inc (struct test_ff_f_data): New type.
52330         (struct test_ff_f_data_nexttoward): Likewise.
52331         (RUN_TEST_LOOP_2_f): New macro.
52332         (RUN_TEST_LOOP_ff_f): Likewise.
52333         (atan2_test_data): New variable.
52334         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52335         (copysign_test_data): New variable.
52336         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52337         (fdim_test_data): New variable.
52338         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52339         (fmax_test_data): New variable.
52340         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52341         (fmin_test_data): New variable.
52342         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52343         (fmod_test_data): New variable.
52344         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52345         (hypot_test_data): New variable.
52346         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52347         (nextafter_test_data): New variable.
52348         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52349         (nexttoward_test_data): New variable.
52350         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52351         (pow_test_data): New variable.
52352         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52353         (pow_tonearest_test_data): New variable.
52354         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52355         (pow_towardzero_test_data): New variable.
52356         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52357         (pow_downward_test_data): New variable.
52358         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52359         (pow_upward_test_data): New variable.
52360         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52361         (remainder_test_data): New variable.
52362         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52363         (scalb_test_data): New variable.
52364         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52365         * sysdeps/i386/fpu/libm-test-ulps: Update.
52367 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52369         * math/libm-test.inc (fma_test): Use max_value instead of local
52370         variable fltmax.
52371         (nextafter_test): Likewise.
52373         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52374         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52375         (acos_downward_test_data): New variable.
52376         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52377         (acos_upward_test_data): New variable.
52378         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52379         (acosh_test_data): New variable.
52380         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52381         (asin_test_data): New variable.
52382         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52383         (asin_tonearest_test_data): New variable.
52384         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52385         (asin_towardzero_test_data): New variable.
52386         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52387         (asin_downward_test_data): New variable.
52388         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52389         (asin_upward_test_data): New variable.
52390         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52391         (asinh_test_data): New variable.
52392         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52393         (atan_test_data): New variable.
52394         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52395         (atanh_test_data): New variable.
52396         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52397         (cbrt_test_data): New variable.
52398         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52399         (ceil_test_data): New variable.
52400         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52401         (cos_test_data): New variable.
52402         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52403         (cos_tonearest_test_data): New variable.
52404         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52405         (cos_towardzero_test_data): New variable.
52406         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52407         (cos_downward_test_data): New variable.
52408         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52409         (cos_upward_test_data): New variable.
52410         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52411         (cosh_test_data): New variable.
52412         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52413         (cosh_tonearest_test_data): New variable.
52414         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52415         (cosh_towardzero_test_data): New variable.
52416         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52417         (cosh_downward_test_data): New variable.
52418         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52419         (cosh_upward_test_data): New variable.
52420         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52421         (erf_test_data): New variable.
52422         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52423         (erfc_test_data): New variable.
52424         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52425         (exp_test_data): New variable.
52426         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52427         (exp_tonearest_test_data): New variable.
52428         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52429         (exp_towardzero_test_data): New variable.
52430         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52431         (exp_downward_test_data): New variable.
52432         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52433         (exp_upward_test_data): New variable.
52434         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52435         (exp10_test_data): New variable.
52436         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52437         (exp2_test_data): New variable.
52438         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52439         (expm1_test_data): New variable.
52440         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52441         (fabs_test_data): New variable.
52442         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52443         (floor_test_data): New variable.
52444         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52445         (j0_test_data): New variable.
52446         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52447         (j1_test_data): New variable.
52448         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52449         (log_test_data): New variable.
52450         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52451         (log10_test_data): New variable.
52452         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52453         (log1p_test_data): New variable.
52454         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52455         (log2_test_data): New variable.
52456         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52457         (logb_test_data): New variable.
52458         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52459         (logb_downward_test_data): New variable.
52460         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52461         (nearbyint_test_data): New variable.
52462         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52463         (rint_test_data): New variable.
52464         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52465         (rint_tonearest_test_data): New variable.
52466         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52467         (rint_towardzero_test_data): New variable.
52468         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52469         (rint_downward_test_data): New variable.
52470         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52471         (rint_upward_test_data): New variable.
52472         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52473         (round_test_data): New variable.
52474         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52475         (sin_test_data): New variable.
52476         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52477         (sin_tonearest_test_data): New variable.
52478         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52479         (sin_towardzero_test_data): New variable.
52480         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52481         (sin_downward_test_data): New variable.
52482         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52483         (sin_upward_test_data): New variable.
52484         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52485         (sinh_test_data): New variable.
52486         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52487         (sinh_tonearest_test_data): New variable.
52488         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52489         (sinh_towardzero_test_data): New variable.
52490         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52491         (sinh_downward_test_data): New variable.
52492         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52493         (sinh_upward_test_data): New variable.
52494         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52495         (sqrt_test_data): New variable.
52496         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52497         (tan_test_data): New variable.
52498         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52499         (tan_tonearest_test_data): New variable.
52500         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52501         (tan_towardzero_test_data): New variable.
52502         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52503         (tan_downward_test_data): New variable.
52504         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52505         (tan_upward_test_data): New variable.
52506         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52507         (tanh_test_data): New variable.
52508         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52509         (tgamma_test_data): New variable.
52510         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52511         (trunc_test_data): New variable.
52512         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52513         (y0_test_data): New variable.
52514         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52515         (y1_test_data): New variable.
52516         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52517         (significand_test_data): New variable.
52518         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52520 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52522         [BZ #12387]
52523         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52525 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52527         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52529 2013-05-10  Andreas Jaeger  <aj@suse.de>
52531         [BZ #15448]
52532         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
52533         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
52535 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52537         * math/gen-libm-test.pl (adjust_arg): New function.
52538         (special_functions): Handle generating output in both functions
52539         and arrays.
52540         (parse_args): Likewise.
52541         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
52542         $in_func argument to parse_args.
52543         * math/libm-test.inc (struct test_f_f_data): New type.
52544         (IF_ROUND_INIT_): New macro.
52545         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
52546         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
52547         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
52548         (IF_ROUND_INIT_FE_UPWARD): Likewise.
52549         (ROUND_RESTORE_): Likewise.
52550         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
52551         (ROUND_RESTORE_FE_TONEAREST): Likewise.
52552         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
52553         (ROUND_RESTORE_FE_UPWARD): Likewise.
52554         (RUN_TEST_LOOP_f_f): New macro.
52555         (acos_test_data): New variable.
52556         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
52557         (acos_tonearest_test_data): New variable.
52558         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52560 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52562         * benchtests/bench-skeleton.c (startup): Fix coding style.
52564 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
52566         [BZ #6809]
52567         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
52568         negative infinity argument.
52569         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
52570         negative infinity argument.
52571         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
52572         negative infinity argument.
52573         * math/libm-test.inc (tgamma_test): Expect errno to be set for
52574         domain errors.
52576 2013-05-10  Florian Weimer  <fweimer@redhat.com>
52578         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
52579         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
52580         * iconv/iconv_prog.c (main): Likewise.
52581         * locale/programs/charmap-dir.c (charmap_readdir)
52582         (fopen_uncompressed): Likewise.
52583         * locale/programs/locfile.c (siblings_uncached)
52584         (write_locale_data): Use lstat64 instead of lstat.
52585         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
52586         stat.
52588 2013-05-10  Andreas Jaeger  <aj@suse.de>
52590         [BZ #15395]
52591         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
52592         localization.
52593         Include <locale.h>.
52595 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
52597         * elf/dl-close.c (_dl_close_worker): Add comments.
52599 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
52601         [BZ #15359]
52602         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
52603         high part of pi/2.
52604         (__ieee754_rem_pio2l): Update comments.
52606         [BZ #15429]
52607         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
52608         high part of pi/2.
52609         (__ieee754_rem_pio2l): Update comments.
52611         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
52612         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
52614         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
52615         M_PI_4l.
52617         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
52618         (M_PI_34_LOG10El): Likewise.
52619         (M_PI2_LOG10El): Likewise.
52620         (M_PI4_LOG10El): Likewise.
52621         (M_PI_LOG10El): Likewise.
52623 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52627 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
52629         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
52630         (MINUS_ZERO_INIT): Likewise.
52631         (PLUS_INFTY_INIT): Likewise.
52632         (MINUS_INFTY_INIT): Likewise.
52633         (QNAN_VALUE_INIT): Likewise.
52634         (MAX_VALUE_INIT): Likewise.
52635         (MIN_VALUE_INIT): Likewise.
52636         (MIN_SUBNORM_VALUE_INIT): Likewise.
52637         (plus_zero): Initialize with PLUS_ZERO_INIT.
52638         (minus_zero): Initialize with MINUS_ZERO_INIT.
52639         (plus_infty): Initialize with PLUS_INFTY_INIT.
52640         (minus_infty): Initialize with MINUS_INFTY_INIT.
52641         (qnan_value): Initialize with QNAN_VALUE_INIT.
52642         (max_value): Initialize with MAX_VALUE_INIT.
52643         (min_value): Initialize with MIN_VALUE_INIT.
52644         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
52646         * math/libm-test.inc (RUN_TEST_if_f): New macro.
52647         (jn_test): Use TEST_if_f instead of TEST_ff_f.
52648         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
52649         (yn_test): Use TEST_if_f instead of TEST_ff_f.
52651         * math/libm-test.inc (RUN_TEST_f_f): New macro.
52652         (RUN_TEST_2_f): Likewise.
52653         (RUN_TEST_ff_f): Likewise.
52654         (RUN_TEST_fi_f): Likewise.
52655         (RUN_TEST_fl_f): Likewise.
52656         (RUN_TEST_fff_f): Likewise.
52657         (RUN_TEST_c_f): Likewise.
52658         (RUN_TEST_f_f1): Likewise.
52659         (RUN_TEST_fF_f1): Likewise.
52660         (RUN_TEST_fI_f1): Likewise.
52661         (RUN_TEST_ffI_f1): Likewise.
52662         (RUN_TEST_c_c): Likewise.
52663         (RUN_TEST_cc_c): Likewise.
52664         (RUN_TEST_f_i): Likewise.
52665         (RUN_TEST_f_i_tg): Likewise.
52666         (RUN_TEST_ff_i_tg): Likewise.
52667         (RUN_TEST_f_b): Likewise.
52668         (RUN_TEST_f_b_tg): Likewise.
52669         (RUN_TEST_f_l): Likewise.
52670         (RUN_TEST_f_L): Likewise.
52671         (RUN_TEST_sincos): Likewise.
52672         * math/gen-libm-test.pl (new_test): Take new argument to indicate
52673         whether to show exceptions.  Do not include ");\n" in return
52674         value.
52675         (special_functions): Output call to RUN_TEST_sincos instead of
52676         check_float calls.  Update calls to new_test.
52677         (parse_args): Output call to single RUN_TEST_* macro instead of
52678         check_* calls and other assignments.  Update calls to new_test.
52680         [BZ #2546]
52681         [BZ #2560]
52682         [BZ #5159]
52683         [BZ #15426]
52684         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
52685         input to result for tgamma overflow.
52686         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
52687         (gamma_coeff): New variable.
52688         (NCOEFF): New macro.
52689         (gamma_positive): New function.
52690         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
52691         underflow here.  Use gamma_positive instead of exp (lgamma) for
52692         other arguments.
52693         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
52694         (gamma_coeff): New variable.
52695         (NCOEFF): New macro.
52696         (gammaf_positive): New function.
52697         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
52698         underflow here.  Use gamma_positive instead of exp (lgamma) for
52699         other arguments.
52700         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
52701         (gamma_coeff): New variable.
52702         (NCOEFF): New macro.
52703         (gammal_positive): New function.
52704         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
52705         underflow here.  Use gamma_positive instead of exp (lgamma) for
52706         other arguments.
52707         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
52708         (gamma_coeff): New variable.
52709         (NCOEFF): New macro.
52710         (gammal_positive): New function.
52711         (__ieee754_gammal_r): Handle positive infinity, overflow and
52712         underflow here.  Handle NaN the same as positive infinity.  Remove
52713         check x < 0xffffffff for negative integers.  Use gamma_positive
52714         instead of exp (lgamma) for other arguments.
52715         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
52716         (gamma_coeff): New variable.
52717         (NCOEFF): New macro.
52718         (gammal_positive): New function.
52719         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
52720         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
52721         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
52722         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
52723         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
52724         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
52725         * sysdeps/generic/math_private.h (__gamma_productf): New
52726         prototype.
52727         (__gamma_product): Likewise.
52728         (__gamma_productl): Likewise.
52729         * math/Makefile (libm-calls): Add gamma_product.
52730         * math/libm-test.inc (tgamma_test): Add more tests.
52731         * sysdeps/i386/fpu/libm-test-ulps: Update.
52732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52734 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
52736         * benchtests/bench-skeleton.c (main): Preheat CPU.
52738 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
52740         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
52742 2013-05-07  Roland McGrath  <roland@hack.frob.com>
52744         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
52745         and _dl_skip_args_internal.
52747 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
52749         * manual/message.texi (Message Translation): Talk about users.
52750         Message to key mapping impacts design.
52752 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52754         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
52756         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
52758         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
52759         * sysdeps/wordsize-64/glob64.c: ... here.
52761         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
52762         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
52763         New macros.
52765         * debug/getlogin_r_chk.c: Moved to ...
52766         * login/getlogin_r_chk.c: ... here.
52767         * debug/Makefile (routines): Move getlogin_r_chk to ...
52768         * login/Makefile (routines): ... here.
52769         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
52770         * login/Versions (libc: GLIBC_2.4): ... here.
52772         * io/poll.c (__poll): Renamed from poll.
52773         Add libc_hidden_def.
52774         (poll): Define as weak alias.
52776         * debug/ptsname_r_chk.c: Moved to ...
52777         * login/ptsname_r_chk.c: ... here.
52778         * debug/Makefile (routines): Move ptsname_r_chk to ...
52779         * login/Makefile (routines): ... here.
52780         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
52781         * login/Versions (libc: GLIBC_2.4): ... here.
52783         * posix/getlogin.c: Moved to ...
52784         * login/getlogin.c: ... here.
52785         * posix/getlogin_r.c: Moved to ...
52786         * login/getlogin_r.c: ... here.
52787         * posix/getlogin_r.c: Moved to ...
52788         * login/getlogin_r.c: ... here.
52789         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
52790         * login/Makefile (routines): ... here.
52791         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
52792         * login/Versions (libc: GLIBC_2.0): ... here.
52794         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
52795         (setrlimit): Define as weak alias.
52797         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
52798         Call __ names for open, ftruncate, and close.
52799         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
52800         (truncate): Define as weak alias.
52802 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
52804         * math/gen-libm-test.pl (parse_args): Initialize x before each
52805         test of frexp, modf and remquo.
52807         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
52808         test signgam value.
52810 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52812         [BZ #15418]
52813         [BZ #15419]
52814         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
52815         internal tests.
52816         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52818 2013-05-06  Roland McGrath  <roland@hack.frob.com>
52820         * elf/dl-writev.h: New file.
52821         * elf/dl-misc.c: Include it.
52822         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
52823         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
52825 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
52827         * math/libm-test.inc (noXFails): Remove variable.
52828         (noXPasses): Likewise.
52829         (BUILD_COMPLEX_INT): Remove macro.
52830         (print_screen): Remove xfail argument.
52831         (print_screen_max_error): Likewise.
52832         (update_stats): Likewise.
52833         (print_max_error): Likewise.  Update calls to other affected
52834         functions.
52835         (print_complex_max_error): Likewise.
52836         (test_single_exception): Update calls to print_screen.
52837         (test_single_errno): Likewise.
52838         (check_float_internal): Remove xfail argument.  Update calls to
52839         other affected functions.
52840         (check_float): Likewise.
52841         (check_complex): Likewise.
52842         (check_int): Likewise.
52843         (check_long): Likewise.
52844         (check_bool): Likewise.
52845         (check_longlong): Likewise.
52846         (main): Don't print noXFails and noXPasses.
52847         * math/gen-libm-test.pl (top level): Don't mention expected
52848         failure handling in comment.
52849         (new_test): Don't handle expected failures.
52850         (parse_args): Don't mention expected failure handling in comment.
52851         (generate_testfile): Don't handle expected failures.
52852         (parse_ulps): Likewise.
52853         (print_ulps_file): Likewise.
52854         (get_failure): Remove function.
52855         (output_test): Don't handle expected failures.
52856         * make/README.libm-test: Don't mention expected failure handling.
52858         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
52859         (minus_zero): Likewise.
52860         (plus_infty): Likewise.
52861         (minus_infty): Likewise.
52862         (qnan_value): Likewise.
52863         (max_value): Likewise.
52864         (min_value): Likewise.
52865         (min_subnorm_value): Likewise.
52866         (initialize): Do not initialize those variables dynamically.
52868 2013-05-03  Roland McGrath  <roland@hack.frob.com>
52870         * io/open.c (__open_2): Moved to ...
52871         * io/open_2.c: ... this new file.
52872         * io/open64.c (__open64_2): Moved to ...
52873         * io/open64_2.c: ... this new file.
52874         * io/openat.c (__openat_2): Moved to ...
52875         * io/openat_2.c: ... this new file.
52876         * io/openat64.c (__openat64_2): Moved to ...
52877         * io/openat64_2.c: ... this new file.
52878         * io/Makefile (routines): Add them.
52879         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
52880         * sysdeps/unix/sysv/linux/open_2.c: File removed.
52881         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
52882         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
52883         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
52884         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
52885         (__openat64): Add hidden_ver.
52886         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
52887         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
52889         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
52890         Separately conditionalize setting of GLRO(dl_sysinfo) so
52891         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
52892         as well, but the actual setting is only under [NEED_DL_SYSINFO].
52894 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52896         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
52897         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
52898         definition.
52899         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
52900         * sysdeps/unix/sysv/linux/powerpc/init-first.c
52901         (_libc_vdso_platform_setup): Add __vdso_time initialization.
52902         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
52903         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
52905 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
52907         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
52908         test signgam value.
52910         * math/libm-test.inc (hypot_test): Do not use
52911         IGNORE_ZERO_INF_SIGN.
52913 2013-05-03  Andreas Jaeger  <aj@suse.de>
52915         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
52916         Linux 3.9.
52917         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
52918         (PF_MAX): Adjust for VSOCK change.
52920 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52924 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
52926         [BZ #15264]
52927         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
52928         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
52929         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
52931 2013-05-02  David S. Miller  <davem@davemloft.net>
52933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52935 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
52937         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
52939 2013-05-01  Roland McGrath  <roland@hack.frob.com>
52941         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
52943 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
52945         [BZ #14952]
52946         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
52947         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52948         Use __attribute__ ((__gnu_inline__)).
52949         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
52950         Don't use __attribute__ ((__gnu_inline__)).
52952 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
52954         [BZ #15423]
52955         * math/s_catan.c (__catan): Handle small real or imaginary part of
52956         input specially to avoid spurious underflow.
52957         * math/s_catanf.c (__catanf): Likewise.
52958         * math/s_catanh.c (__catanh): Likewise.
52959         * math/s_catanhf.c (__catanhf): Likewise.
52960         * math/s_catanhl.c (__catanhl): Likewise.
52961         * math/s_catanl.c (__catanl): Likewise.
52962         * math/libm-test.inc (catan_test): Add more tests.
52963         (catanh_test): Likewise.
52964         * sysdeps/i386/fpu/libm-test-ulps: Update.
52965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52967 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52971 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
52973         [BZ #15416]
52974         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
52975         accurately for denominator in atan2.
52976         * math/s_catanf.c (__catanf): Likewise.
52977         * math/s_catanh.c (__catanh): Likewise.
52978         * math/s_catanhf.c (__catanhf): Likewise.
52979         * math/s_catanhl.c (__catanhl): Likewise.
52980         * math/s_catanl.c (__catanl): Likewise.
52981         * math/libm-test.inc (catan_test): Add more tests.
52982         (catanh_test): Likewise.
52983         * sysdeps/i386/fpu/libm-test-ulps: Update.
52984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52986 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52988         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
52990         * benchtests/Makefile (bench): Remove slow benchmarks.
52991         * benchtests/atan-inputs: Add slow benchmark inputs.
52992         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
52993         (BENCH_FUNC): Accept variant offset.
52994         (VARIANT): Define.
52995         * benchtests/bench-skeleton.c (main): Run benchmark for each
52996         variant.
52997         * benchtests/cos-inputs: Add slow benchmark inputs.
52998         * benchtests/exp-inputs: Likewise.
52999         * benchtests/pow-inputs: Likewise.
53000         * benchtests/sin-inputs: Likewise.
53001         * benchtests/slowatan-inputs: Remove.
53002         * benchtests/slowatan.c: Remove.
53003         * benchtests/slowcos-inputs: Remove.
53004         * benchtests/slowcos.c: Remove.
53005         * benchtests/slowexp-inputs: Remove.
53006         * benchtests/slowexp.c: Remove.
53007         * benchtests/slowpow-inputs: Remove.
53008         * benchtests/slowpow.c: Remove.
53009         * benchtests/slowsin-inputs: Remove.
53010         * benchtests/slowsin.c: Remove.
53011         * benchtests/slowtan-inputs: Remove.
53012         * benchtests/slowtan.c: Remove.
53013         * benchtests/tan-inputs: Add slow benchmark inputs.
53014         * scripts/bench.pl: Parse comments and directives.
53016         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53017         in CPPFLAGS.
53018         ($(objpfx)bench-%.c): Remove *-ITER.
53019         * benchtests/bench-modf.c: Remove definition of ITER.
53020         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53021         (main): Loop for DURATION seconds instead of fixed number of
53022         iterations.
53023         * scripts/bench.pl: Don't expect iterations in parameters.
53025 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53027         * io/fchdir.c (__fchdir): Renamed from fchdir.
53028         (fchdir): Define as weak alias.
53030 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53032         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53033         (ERRNO_EDOM): Likewise.
53034         (ERRNO_ERANGE): Likewise.
53035         (noErrnoTests): New variable.
53036         (init_max_error): Set errno to 0.
53037         (test_single_errno): New function.
53038         (test_errno): Likewise.
53039         (check_float_internal): Call test_errno.  Set errno to 0.
53040         (check_complex): Refer to errno tests in comment.
53041         (check_int): Call test_errno.  Set errno to 0.
53042         (check_long): Likewise.
53043         (check_bool): Likewise.
53044         (check_longlong): Likewise.
53045         (cos_test): Use ERRNO_* flags for errno tests instead of
53046         check_int.
53047         (expm1_test): Likewise.
53048         (fmod_test): Likewise.
53049         (ilogb_test): Likewise.
53050         (lgamma_test): Likewise.
53051         (pow_test): Likewise.
53052         (remainder_test): Likewise.
53053         (sin_test): Likewise.
53054         (tan_test): Likewise.
53055         (yn_test): Likewise.
53056         (initialize): Set errno to 0.
53057         (main): Print number of errno tests.
53058         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53060 2013-04-29  Andreas Jaeger  <aj@suse.de>
53062         [BZ #15084]
53063         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53064         and RES_USEVC.
53066         [BZ #15085]
53067         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53068         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53069         unimplemented.
53071         [BZ #15380]
53072         * stdlib/random.c (__initstate): Return NULL if
53073         __initstate fails.
53075         [BZ #15086]
53076         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53077         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53078         RES_SNGLKUPREOP.
53080 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53084 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53086         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53087         of individual tests.
53088         (casin_test): Likewise.
53089         (casinh_test): Likewise.
53091 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53093         [BZ #15409]
53094         * math/s_catan.c (__catan): Handle arguments with large real or
53095         imaginary part separately without squaring.
53096         * math/s_catanf.c (__catanf): Likewise.
53097         * math/s_catanh.c (__catanh): Likewise.
53098         * math/s_catanhf.c (__catanhf): Likewise.
53099         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53100         and redefine.
53101         (__catanhl): Handle arguments with large real or imaginary part
53102         separately without squaring.
53103         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53104         and redefine.
53105         (__catanl): Handle arguments with large real or imaginary part
53106         separately without squaring.
53107         * math/libm-test.inc (catan_test): Add more tests.
53108         (catanh_test): Likewise.
53109         * sysdeps/i386/fpu/libm-test-ulps: Update.
53110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53112 2013-04-27  Andreas Jaeger  <aj@suse.de>
53114         [BZ #15007]
53115         * stdlib/stdlib.h: Update guards for qecvt.
53116         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53117         <stdlib.h>.
53119 2013-04-27  Allan McRae  <allan@archlinux.org>
53121         * sysdeps/i386/fpu/libm-test-ulps: Update.
53123 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53125         [BZ #15406]
53126         * math/s_catan.c: Include <float.h>.
53127         (__catan): Ensure underflow exception occurs for underflowed
53128         result.
53129         * math/s_catanf.c: Include <float.h>.
53130         (__catanf): Ensure underflow exception occurs for underflowed
53131         result.
53132         * math/s_catanh.c: Include <float.h>.
53133         (__catanh): Ensure underflow exception occurs for underflowed
53134         result.
53135         * math/s_catanhf.c: Include <float.h>.
53136         (__catanhf): Ensure underflow exception occurs for underflowed
53137         result.
53138         * math/s_catanhl.c: Include <float.h>.
53139         (__catanhl): Ensure underflow exception occurs for underflowed
53140         result.
53141         * math/s_catanl.c: Include <float.h>.
53142         (__catanl): Ensure underflow exception occurs for underflowed
53143         result.
53144         * math/libm-test.inc (catan_test): Add more tests.
53145         (catanh_test): Likewise.
53147         [BZ #15405]
53148         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53149         underflowed result.
53150         * math/s_ccoshf.c (__ccoshf): Likewise.
53151         * math/s_ccoshl.c (__ccoshl): Likewise.
53152         * math/s_csin.c (__csin): Likewise.
53153         * math/s_csinf.c (__csinf): Likewise.
53154         * math/s_csinh.c (__csinh): Likewise.
53155         * math/s_csinhf.c (__csinhf): Likewise.
53156         * math/s_csinhl.c (__csinhl): Likewise.
53157         * math/s_csinl.c (__csinl): Likewise.
53158         * math/libm-test.inc (ccos_test): Add more tests.
53159         (ccosh_test): Likewise.
53160         (csin_test): Likewise.
53161         (csinh_test): Likewise.
53163 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53165         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53166         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53167         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53168         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53169         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53170         powerpc/power5+/fpu folders.
53171         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53174 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53176         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53178 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53180         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53181         additions to variable.
53182         [$(config-machine) = x86_64] (modules-names): Likewise.
53183         ($(objpfx)tst-audit3): Remove dependency.
53184         ($(objpfx)tst-audit3.out): Likewise.
53185         ($(objpfx)tst-audit4): Likewise.
53186         ($(objpfx)tst-audit4.out): Likewise.
53187         ($(objpfx)tst-audit5): Likewise.
53188         ($(objpfx)tst-audit5.out): Likewise.
53189         ($(objpfx)tst-audit6): Likewise.
53190         ($(objpfx)tst-audit6.out): Likewise.
53191         ($(objpfx)tst-audit7): Likewise.
53192         ($(objpfx)tst-audit7.out): Likewise.
53193         (tst-audit3-ENV): Remove variable.
53194         (tst-audit4-ENV): Likewise.
53195         (tst-audit5-ENV): Likewise.
53196         (tst-audit6-ENV): Likewise.
53197         (tst-audit7-ENV): Likewise.
53198         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53199         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53200         addition to variable.
53201         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53202         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53203         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53204         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53205         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53206         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53207         tst-audit3, tst-audit4 and tst-audit5.
53208         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53209         tst-audit6 and tst-audit7.
53210         [$(subdir) = elf] (modules-names): Add audit modules for those
53211         tests.
53212         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53213         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53214         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53215         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53216         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53217         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53218         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53219         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53220         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53221         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53222         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53223         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53224         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53225         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53226         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53227         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53228         Likewise.
53229         [$(subdir) = elf && $(config-cflags-avx) = yes]
53230         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53231         [$(subdir) = elf && $(config-cflags-avx) = yes]
53232         (CFLAGS-tst-auditmod4a.c): Likewise.
53233         [$(subdir) = elf && $(config-cflags-avx) = yes]
53234         (CFLAGS-tst-auditmod4b.c): Likewise.
53235         [$(subdir) = elf && $(config-cflags-avx) = yes]
53236         (CFLAGS-tst-auditmod6b.c): Likewise.
53237         [$(subdir) = elf && $(config-cflags-avx) = yes]
53238         (CFLAGS-tst-auditmod6c.c): Likewise.
53239         [$(subdir) = elf && $(config-cflags-avx) = yes]
53240         (CFLAGS-tst-auditmod7b.c): Likewise.
53241         * elf/tst-audit3.c: Move to ...
53242         * sysdeps/x86_64/tst-audit3.c: ... here.
53243         * elf/tst-audit4.c: Move to ...
53244         * sysdeps/x86_64/tst-audit4.c: ... here.
53245         * elf/tst-audit5.c: Move to ...
53246         * sysdeps/x86_64/tst-audit5.c: ... here.
53247         * elf/tst-audit6.c: Move to ...
53248         * sysdeps/x86_64/tst-audit6.c: ... here.
53249         * elf/tst-audit7.c: Move to ...
53250         * sysdeps/x86_64/tst-audit7.c: ... here.
53251         * elf/tst-auditmod3a.c: Move to ...
53252         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53253         * elf/tst-auditmod3b.c: Move to ...
53254         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53255         * elf/tst-auditmod4a.c: Move to ...
53256         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53257         * elf/tst-auditmod4b.c: Move to ...
53258         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53259         * elf/tst-auditmod5a.c: Move to ...
53260         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53261         * elf/tst-auditmod5b.c: Move to ...
53262         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53263         * elf/tst-auditmod6a.c: Move to ...
53264         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53265         * elf/tst-auditmod6b.c: Move to ...
53266         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53267         * elf/tst-auditmod6c.c: Move to ...
53268         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53269         * elf/tst-auditmod7a.c: Move to ...
53270         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53271         * elf/tst-auditmod7b.c: Move to ...
53272         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53274 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53276         [BZ #15366]
53277         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53278         define unconditionally.
53279         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53280         define unconditionally.
53281         (INT8_C, INT16_C, etc.): Likewise.
53283 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53285         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53286         __ehdr_start with hidden visibility.
53288         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53290 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53292         * math/libm-test.inc (cos_test): Use accurate hex constants.
53293         (sincost_test): Likewise.
53295 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53297         * math/libm-test.inc (catan_test): Add more tests.
53298         (catanh_test): Likewise.
53300         * math/s_catanf.c (__catanf): Use suffixed floating-point
53301         constants.
53302         * math/s_catanhf.c (__catanhf): Likewise.
53303         * math/s_catanhl.c (__catanhl): Likewise.
53304         * math/s_catanl.c (__catanl): Likewise.
53306         [BZ #15394]
53307         * math/s_catan.c (__catan): Calculate imaginary part of result
53308         with log1p not log unless computing log of number close to 0.
53309         * math/s_catanf.c (__catanf): Likewise.
53310         * math/s_catanl.c (__catanl): Likewise.
53311         * math/s_catanh.c (__catanh): Calculate real part of result with
53312         log1p not log unless computing log of number close to 0.
53313         * math/s_catanhf.c (__catanhf): Likewise.
53314         * math/s_catanhl.c (__catanhl): Likewise.
53315         * math/libm-test.inc (catan_test): Add more tests.
53316         (catanh_test): Likewise.
53317         * sysdeps/i386/fpu/libm-test-ulps: Update.
53318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53320 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53322         * benchtests/Makefile: Mention files in which fast and slow
53323         paths of math functions are implemented.
53325 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53327         * sysdeps/posix/timespec_get.c: New file.
53329 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53331         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53332         POWER.
53333         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53334         for POWER.
53335         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53336         powerpc/power5/fpu folders.
53337         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53338         * benchtests/Makefile: Add modf testcase.
53339         * benchtests/bench-modf.c: New file: Benchmark test for mo
53341 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53343         [BZ #14888]
53344         * time/Makefile (tests): Add tst-strptime-whitespace.
53345         * time/strptime_l.c (get_number): Use ISSPACE.
53346         (__strptime_internal): Likewise.
53347         * time/tst-strptime-whitespace.c: New test case.
53349 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53351         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53352         member.
53353         (_nss_files_init): Set it here.
53355 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53357         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53358         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53359         unsigned.
53361 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53363         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53365 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53367         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53368         size just once.
53370 2013-04-21  David S. Miller  <davem@davemloft.net>
53372         * po/ru.po: Update Russion translation from translation project.
53374 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53376         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53377         and setfsgid.
53379 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53381         * configure.in: Remove i386 configure warning. Remove i386 case.
53382         * configure: Regenerate.
53383         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53384         Add example to error message.
53385         * sysdeps/i386/configure: Regenerate.
53387 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53389         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53390         slowtan.
53391         * benchtests/cos-inputs: New file.
53392         * benchtests/slowcos-inputs: New file.
53393         * benchtests/slowcos.c: New file.
53394         * benchtests/slowtan-inputs: New file.
53395         * benchtests/slowtan.c: New file.
53396         * benchtests/tan-inputs: New file.
53398 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53400         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53401         considered kosher.
53403 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53405         * benchtests/Makefile: Include cppflags-iterator.mk to add
53406         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53408         * Makefile.in (bench-clean): New target.
53409         * benchtests/Makefile (bench-clean): Likewise.
53411 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53413         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53415 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53417         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53419 2013-04-15  Andreas Schwab  <schwab@suse.de>
53421         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53422         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53423         * nscd/pwdcache.c (cache_addpw): Likewise.
53424         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53425         more than recsize.
53427 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53429         * benchtests/Makefile (bench): Write all output to
53430         bench-out.tmp together.
53432 2013-04-15  Andreas Schwab  <schwab@suse.de>
53434         * nscd/nscd.c (main): Don't fork again after closing files.
53436 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53438         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53440         * benchtests/Rules (bench-deps): Collect dependencies into a
53441         single variable.  Add Makefile to dependencies.
53442         ($(objpfx)bench-%.c): Depend on bench-deps.
53444 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53445             Xavier Roche  <roche+kml2@exalead.com>
53447         [BZ #15361]
53448         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53449         just that it's a file descriptor.
53450         * manual/llio.texi (Synchronizing AIO Operations): Update description
53451         for EBADF error from aio_fsync.
53453 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53455         * Rules (bench): Move target definition...
53456         * benchtests/Makefile: ... here.
53458 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53460         * math/libm-test.inc (cos_test): Fix PI/2 test.
53461         (sincos_test): Likewise.
53462         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53463         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53465 2013-04-11  Andreas Schwab  <schwab@suse.de>
53467         [BZ #13988]
53468         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53469         accept exponent character only when digits were seen.
53470         * stdio-common/Makefile (tests): Add bug26.
53471         * stdio-common/bug26.c: New file.
53473         [BZ #14293]
53474         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53475         non-freeable.
53477 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53479         * Makeconfig (rtld-prefix): Define built linker prefix.
53480         * Rules (run-bench): Use it.
53481         * math/Makefile (run-regen-ulps): Likewise.
53483         * Rules (bench): Remove eval.
53485 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53486             Roland McGrath  <roland@hack.frob.com>
53487             Ondrej Bilka  <neleai@seznam.cz>
53489         [BZ #15346]
53490         * time/getdate.c: Include ctype.h and alloca.h.
53491         (__getdate_r): Trim leading and trailing spaces of input.
53492         * time/tst-getdate.c (tests): Add tests with leading and
53493         trailing spaces.
53495 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53497         [BZ #14280]
53498         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53499         when computing value.
53501 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53503         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53504         Use testrun.sh to run libm tests.
53506         [BZ #15309]
53507         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53509 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53511         [BZ #15264]
53512         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53514 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53516         * Makefile.in (regen-ulps): New target.
53517         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53518         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53519         [ifneq (no,$(PERL)] (regen-ulps): New target.
53520         [ifeq (no,$(PERL)] (regen-ulps): New target.
53521         * math/libm-test.inc (ulps_file_name): Define.
53522         (output_dir): New variable.
53523         (options): Add "output-dir" option.
53524         (parse_opt): Handle 'o' case.
53525         (main): If output_dir is non-NULL use it as a prefix
53526         otherwise use "".
53527         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53529 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53531         [BZ #10060, #10062]
53532         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
53533         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
53534         fail configure if __sync_val_compare_and_swap is not inlined.
53535         * sysdeps/i386/configure: Regenerate.
53536         * configure.in: Build for i686 when configured for i386.
53537         * configure: Regenerate.
53538         * README: Remove i386 reference.
53540 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53542         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
53543         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53545 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
53547         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
53548         (lmsnanval): New variables.
53549         (F): Add conversion tests.
53550         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
53551         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
53553         * stdio-common/tstdiomisc.c (F): Properly collect individual
53554         tests' results.
53556         [BZ #14686, #15336]
53557         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
53558         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
53559         Instead, use input NaN values or generate a qNaN by arithmetic
53560         operation.  Also fix bugs to comply with the standard.
53561         * math/libm-test.inc (remainder_test): Add more tests.
53563         [BZ #15335, #15342]
53564         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
53565         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53566         input NaN values or generate a qNaN by arithmetic operation.
53568         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
53569         unreachable code.
53571         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
53572         definitions.
53574 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
53576         [BZ #14478]
53577         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
53578         underflowed result.
53579         * math/s_cexpf.c (__cexpf): Likewise.
53580         * math/s_cexpl.c (__cexpl): Likewise.
53581         * math/libm-test.inc (cexp_test): Add more tests.
53583 2013-04-03  Andreas Schwab  <schwab@suse.de>
53585         [BZ #15330]
53586         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
53587         order arrays from heap if bigger than alloca cutoff.
53589 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
53591         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53592         (SNAN_TESTS_double): Refer to GCC PR56831.
53593         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
53594         GCC PR56828.
53596 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53598         * Rules (bench): Move bench.out after the run is complete.
53600         * Rules (bench): Echo currently running benchmark.
53602         * benchtests/Makefile (bench): Add atan and slowatan.
53603         * benchtests/atan-inputs: New file.
53604         * benchtests/slowatan-inputs: New file.
53605         * benchtests/slowatan.c: New file.
53607         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
53608         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
53609         its value.
53611         [BZ #15305]
53612         * sysdeps/unix/sysv/linux/kernel-features.h
53613         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
53614         __ASSUME_XFS_RESTRICTED_CHOWN.
53615         * sysdeps/unix/sysv/linux/pathconf.c
53616         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
53617         Save and restore errno.
53619 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
53621         [BZ #15327]
53622         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
53623         arguments using __kernel_casinh.
53624         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
53625         arguments using __kernel_casinhf.
53626         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
53627         arguments using __kernel_casinhl.
53628         * math/libm-test.inc (cacosh_test): Add more tests.
53629         * sysdeps/i386/fpu/libm-test-ulps: Update.
53630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53632 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53634         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
53635         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
53637         * bench/Makefile (bench): Add sin and slowsin.
53638         * benchtests/sin-inputs: New file.
53639         * benchtests/slowsin-inputs: New file.
53640         * benchtests/slowsin.c: New file.
53642         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
53643         (bench): Add slowexp and slowpow.
53644         (exp-ITER): Increase iterations.
53645         (pow-ITER): Likewise.
53646         * benchtests/exp-inputs: Change input.
53647         * benchtests/pow-inputs: Likewise.
53648         * benchtests/slowexp-inputs: New file.
53649         * benchtests/slowexp.c: New file.
53650         * benchtests/slowpow-inputs: New file.
53651         * benchtests/slowpow.c: New file.
53653 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53655         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
53656         instructions.
53657         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53658         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
53659         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53660         * benchtests/Makefile: Add rint benchtest.
53661         * benchtests/rint-inputs: Input for rint benchtest.
53663 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
53665         * Versions.def (libm): Add GLIBC_2.18.
53666         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
53667         hidden libm prototypes.
53668         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
53669         * math/Makefile (libm-calls): Add s_issignaling.
53670         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
53671         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
53672         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
53673         declaration.
53674         * math/math.h [__USE_GNU] (issignaling): New macro.
53675         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
53676         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
53677         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
53678         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
53679         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
53680         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
53681         * manual/arith.texi (issignaling): New section.
53682         * manual/libm-err-tab.pl (@all_functions): Update comment.
53683         * math/gen-libm-test.pl (parse_args): Apply special handling for
53684         issignaling.
53685         * math/libm-test.inc (print_float, issignaling_test): New
53686         functions.
53687         (check_float_internal): Add issignaling checks.
53688         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
53689         default definition.
53690         * sysdeps/powerpc/math-tests.h: New file.
53691         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
53692         tests.
53693         * math/test-snan.c (TEST_FUNC): Likewise.
53695 2013-03-30  David S. Miller  <davem@davemloft.net>
53697         * po/de.po: Update from translation team.
53699 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
53701         [BZ #10357]
53702         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53703         imaginary part less than 1.0 and real part less than 0.5
53704         specially.
53705         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53706         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53707         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
53708         (cacos_test): Add more tests.
53709         (casin_test): Likewise.
53710         (casinh_test): Likewise.
53711         * sysdeps/i386/fpu/libm-test-ulps: Update.
53712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53714 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53716         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
53717         ONE with its value.
53719         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
53720         (__pow_mp): Replace ONE and MONE with their values.
53721         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53722         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
53723         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53724         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
53725         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53726         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53728         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
53730         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
53731         (__pow_mp): Replace ZERO and MZERO with their values.
53732         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53733         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53734         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
53735         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
53736         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53737         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
53738         (__sqr): Likewise.
53740         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
53742         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
53744 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53746         * include/stdlib.h [!SHARED] (__call_tls_dtors):
53747         Declare with __attribute__ ((weak)).
53748         * stdlib/exit.c (__libc_atexit) [!SHARED]:
53749         Call __call_tls_dtors only if it's not NULL.
53751 2013-03-28  Roland McGrath  <roland@hack.frob.com>
53753         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
53754         didn't do it already, then set _dl_phdr and _dl_phnum based on the
53755         magic __ehdr_start linker symbol if it's defined.
53756         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
53757         them up here if it was already done.
53759         * elf/dl-support.c (_dl_phdr): Make pointer to const.
53760         (_dl_aux_init): Use const in cast when setting it.
53761         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
53762         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
53763         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
53765         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53766         Declare them here.
53767         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
53768         * csu/libc-tls.c: Nor here.
53769         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
53771         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
53772         (__libc_message): Never call vsyslog.
53774 2013-03-28  Alan Modra  <amodra@gmail.com>
53776         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
53777         Define as empty.
53778         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
53779         Likewise.
53781 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53783         [BZ #15214]
53784         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
53785         underflow.
53786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53788 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53790         [BZ #15304]
53791         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
53792         Don't add gid passed as argument.
53794         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
53796 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
53798         [BZ #15307]
53799         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53800         imaginary part between 1.0 and 1.5 and real part less than 0.5
53801         specially.
53802         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53803         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53804         * math/libm-test.inc (cacos_test): Add more tests.
53805         (casin_test): Likewise.
53806         (casinh_test): Likewise.
53807         * sysdeps/i386/fpu/libm-test-ulps: Update.
53808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53810 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53812         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
53813         constants.
53814         (norm): Likewise.
53815         (denorm): Likewise.
53816         (__dbl_mp): Likewise.
53817         (add_magnitudes): Likewise.
53818         (sub_magnitudes): Likewise.
53819         (__add): Likewise.
53820         (__sub): Likewise.
53821         (__mul): Likewise.
53822         (__sqr): Likewise.
53823         (__inv): Likewise.
53824         (__dvd): Likewise.
53826         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
53827         commented code.
53828         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
53829         (__dubcos): Likewise.
53830         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
53831         (__ieee754_acos): Likewise.
53832         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
53833         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
53834         (__exp1): Likewise.
53835         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
53836         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
53837         (log1): Likewise.
53838         (my_log2): Likewise.
53839         (checkint): Likewise.
53840         * sysdeps/ieee754/dbl-64/e_remainder.c
53841         (__ieee754_remainder): Likewise.
53842         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
53843         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
53844         (bsloww): Likewise.
53845         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
53847         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
53848         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
53849         MANTISSA_STORE_T to store computations on mantissa.  Use
53850         macros for rounding and division.
53851         (denorm): Likewise.
53852         (__dbl_mp): Likewise.
53853         (add_magnitudes): Likewise.
53854         (sub_magnitudes): Likewise.
53855         (__mul): Likewise.
53856         (__sqr): Likewise.
53857         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
53858         powers of two in terms of TWOPOW macro.
53859         (mp_no): Make type of mantissa as MANTISSA_T.
53860         [!RADIXI]: Define RADIXI.
53861         [!TWO52]: Define TWO52.
53862         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
53864 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53866         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
53867         llroundl symbol when building for PPC32.
53869 2013-03-24  Mark H Weaver  <mhw@netris.org>
53871         * manual/arith.texi (Normalization Functions): Fix prototypes for
53872         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
53874 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53876         [BZ #13889]
53877         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
53878         high value to check if expl overflow.
53879         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
53880         to check for underflow and overflow.
53881         * math/libm-test.inc: Add exp test.
53883 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
53885         [BZ #11120]
53886         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
53887         with NOT_IN_libc.
53889 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53891         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
53892         symbol.
53894 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
53896         * math/gen-libm-test.pl (parse_args, special_functions): Properly
53897         wrap blocks consisting of several statements.
53899         * sysdeps/generic/math-tests.h: New file.
53900         * sysdeps/i386/fpu/math-tests.h: Likewise.
53901         * math/test-snan.c: Include it.
53902         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
53904 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53906         [BZ #15285]
53907         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
53908         (__ieee754_j0l): Do not improve calculations using cos of twice
53909         input for inputs above LDBL_MAX / 2.0L.
53910         (__ieee754_y0l): Likewise.
53911         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
53912         (__ieee754_j1l): Do not improve calculations using cos of twice
53913         input for inputs above LDBL_MAX / 2.0L.
53914         (__ieee754_y1l): Likewise.
53915         * math/libm-test.inc (j0_test): Add another test.
53916         (j1_test): Likewise.
53917         (y0_test): Likewise.
53918         (y1_test): Likewise.
53919         * sysdeps/i386/fpu/libm-test-ulps: Update.
53921 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53923         * Rules ($(objpfx)bench-%.c): Include code from a C source
53924         file.
53926 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
53928         [BZ #15287]
53929         * math/k_casinh.c (__kernel_casinh): Handle arguments with
53930         imaginary part 1.0 and real part less than 0.5 specially.
53931         * math/k_casinhf.c (__kernel_casinhf): Likewise.
53932         * math/k_casinhl.c (__kernel_casinhl): Likewise.
53933         * math/libm-test.inc (cacos_test): Add more tests.
53934         (casin_test): Likewise.
53935         (casinh_test): Likewise.
53936         * sysdeps/i386/fpu/libm-test-ulps: Update.
53937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53939 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53941         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
53942         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
53944 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
53946         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
53947         * config.make.in (config-cflags-sse4): Remove variable.
53948         (config-cflags-avx): Likewise.
53949         (config-cflags-sse2avx): Likewise.
53950         (config-cflags-novzeroupper): Likewise.
53951         (config-asflags-i686): Likewise.
53952         (have-mfma4): Likewise.
53953         (have-as-vis3): Likewise.
53954         (MIG): Likewise.
53955         * configure.in (MIG): Do not AC_SUBST.
53956         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
53957         (libc_cv_cc_sse4): Do not AC_SUBST.
53958         (libc_cv_cc_avx): Likewise.
53959         (libc_cv_cc_sse2avx): Likewise.
53960         (libc_cv_cc_novzeroupper): Likewise.
53961         (libc_cv_cc_fma4): Likewise.
53962         (libc_cv_as_i686): Likewise.
53963         (libc_cv_sparc_as_vis3): Likewise.
53964         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
53965         LIBC_CONFIG_VAR.
53966         (config-asflags-i686): Likewise.
53967         (config-cflags-avx): Likewise.
53968         (config-cflags-sse2avx): Likewise.
53969         (have-mfma4): Likewise.
53970         (config-cflags-novzeroupper): Likewise.
53971         * sysdeps/mach/configure.in (MIG): Likewise.
53972         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
53973         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
53974         LIBC_CONFIG_VAR.
53975         (config-cflags-avx): Likewise.
53976         (config-cflags-sse2avx): Likewise.
53977         (have-mfma4): Likewise.
53978         (config-cflags-novzeroupper): Likewise.
53979         * configure: Regenerated.
53980         * sysdeps/i386/configure: Likewise.
53981         * sysdeps/mach/configure: Likewise.
53982         * sysdeps/sparc/configure: Likewise.
53983         * sysdeps/x86_64/configure: Likewise.
53985 2013-03-20  Roland McGrath  <roland@hack.frob.com>
53987         [BZ #14812]
53988         * locale/programs/localedef.c (options): Put N_ translation marker
53989         on argument names, not just descriptions.
53991 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53993         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
53995 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
53997         [BZ #14176]
53998         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54000 2013-03-19  Roland McGrath  <roland@hack.frob.com>
54002         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
54003         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
54004         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
54005         [!BEFORE_ABORT] (before_abort): New function.
54006         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
54007         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
54008         (writev_for_fatal): New function.
54009         (WRITEV_FOR_FATAL): New macro; call that.
54010         (backtrace_and_maps): New function.
54011         (BEFORE_ABORT): New macro; call that.
54012         (struct str_list): Type removed.
54013         (__libc_message, __libc_fatal): Functions removed.
54014         Include <sysdeps/posix/libc_fatal.c> instead.
54016 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54018         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54019         constants.
54020         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54021         double constants.
54023 2013-03-19  Andreas Schwab  <schwab@suse.de>
54025         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54026         * sysdeps/gnu/configure: Regenerate.
54028         * configure.in: Substitute libc_cv_rtlddir.
54029         * configure: Regenerate.
54030         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54031         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54032         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54033         * elf/Makefile (install-others, CFLAGS-interp.c)
54034         (ldso_install, common-ldd-rewrite): Likewise.
54035         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54036         $(inst_slibdir)/$(rtld-installed-name).
54037         * scripts/rellns-sh: Add -p option.
54038         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54039         for source.
54041 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54043         * manual/nptl.texi: Renamed to ...
54044         * manual/threads.texi: ... this.
54045         * manual/Makefile (chapters): Update.
54047 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54049         [BZ #14812]
54050         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54051         on argument names, not just descriptions.
54052         * malloc/memusagestat.c (options): Likewise.
54053         * nss/getent.c (options): Likewise.
54055 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54057         [BZ #14812]
54058         * iconv/iconv_prog.c (options): Put N_ translation marker
54059         on argument names, not just descriptions.
54060         * iconv/iconvconfig.c (options): Likewise.
54062 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54064         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54065         implementation which is faster on all x86_64 architectures.
54066         Tested on AMD, Intel Nehalem, SNB, IVB.
54067         * sysdeps/x86_64/strnlen.S: Likewise.
54069         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54070         Remove all multiarch strlen and strnlen versions.
54071         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54072         Remove strlen and strnlen related parts.
54074         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54075         Inline strlen part.
54076         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54078         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54079         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54080         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54081         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54082         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54083         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54085 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54087         * manual/memory.texi (Malloc Tunable Parameters):
54088         Sort parameters alphabetically. Add comments for missing entries.
54090 2013-03-17  David S. Miller  <davem@davemloft.net>
54092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54094 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54096         [BZ #15283]
54097         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54098         for arguments at most half maximum finite value.
54099         * math/libm-test.inc (j0_test): Add more tests.
54100         (j1_test): Likewise.
54101         (y0_test): Likewise.
54102         (y1_test): Likewise.
54103         * sysdeps/i386/fpu/libm-test-ulps: Update.
54104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54106         [BZ #14155]
54107         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54108         1 / x and functions P and Q for arguments above 0x1p256L.
54109         (__ieee754_y0l): Likewise.
54110         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54111         (__ieee754_y1l): Likewise.
54112         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54113         (j1_test): Likewise.
54114         (y0_test): Likewise.
54115         (y1_test): Likewise.
54117 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54119         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54120         variable.
54122 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54124         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54125         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54126         zero since it's initialized to EXEC_PAGESIZE.
54128         * sysdeps/unix/sysv/linux/ldsodefs.h
54129         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54130         * sysdeps/generic/ldsodefs.h: ... here.
54132 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54134         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54136         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54137         math/test-snan.c.
54138         * math/test-snan.c: Renamed from
54139         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54140         * math/Makefile (tests): Add test-snan.
54141         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54142         test-powerpc-snan.
54144         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54145         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54146         functions.
54147         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54148         __builtin_nan family of functions.
54149         * math/libm-test.inc (initialize): Initialize qnan_value with
54150         __builtin_nan family of functions.
54151         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54152         Remove variables.
54153         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54154         Remove functions.
54155         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54156         storage class.  Initialize qNaN_var and sNaN_var with
54157         __builtin_nan and __builtin_nans families of functions,
54158         respectively.
54160         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54161         (sqrt_test): Remove duplicate test with qNaN input.
54162         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54163         (round_test, signbit_test, significand_test): Note missing +/-Inf
54164         as well as qNaN tests.
54166         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54167         qNaN_var.  Fix a few strings, too.
54168         * math/libm-test.inc (nan_value): Rename to qnan_value.
54169         * math/gen-libm-test.pl (%beautify): Adjust to that.
54170         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54171         * math/test-misc.c (main): Likewise.
54172         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54173         to __qnan_bytes, and __qnan_union, respectively.
54174         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54175         Likewise.
54176         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54177         and lqnanval, respectively.
54178         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54179         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54180         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54181         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54183         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54184         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54185         doubles.
54187         * math/test-misc.c (main): Fix copy'n'pastos.
54188         * misc/tst-efgcvt.c (special): Likewise.
54190         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54191         Remove declarations.
54193 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54195         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54196         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54197         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54198         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54200 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54202         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54203         macro to return vdso values correctly in IFUNC implementations.
54204         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54205         Optimization by using IFUNC.
54207 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54208             Richard Henderson  <rth@redhat.com>
54209             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54211         * Makefile.in (bench): New target.
54212         * NEWS: Mention the benchmark framework.
54213         * Rules (bench): Likewise.
54214         (binaries-bench): Generate binaries for functions to
54215         benchmark.
54216         * benchtests/Makefile: New makefile for benchmark tests.
54217         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54218         programs.
54219         * benchtests/exp-inputs: New input file for EXP function.
54220         * benchtests/pow-inputs: New input file for POW function.
54221         * scripts/bench.pl: New script to generate source files for
54222         benchmark programs.
54224 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54226         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54227         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54228         computations on mantissa.  Use macros for rounding and
54229         division.
54230         (denorm): Likewise.
54231         (__dbl_mp): Likewise.
54232         (add_magnitudes): Likewise.
54233         (sub_magnitudes): Likewise.
54234         (__mul): Likewise.
54235         (__sqr): Likewise.
54236         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54237         powers of two in terms of TWOPOW macro.
54238         (mp_no): Make type of mantissa as MANTISSA_T.
54239         [!RADIXI]: Define RADIXI.
54240         [!TWO52]: Define TWO52.
54241         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54243         * manual/nptl.texi (cindex): Modify threads to pthreads.
54245 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54247         * sysdeps/x86_64/preconfigure: Regenerated.
54249 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54251         [BZ #14155]
54252         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54253         0x1p28 and above.
54254         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54255         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54256         0x1p28 and above.
54257         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54258         * math/libm-test.inc (j0_test): Do not allow one spurious
54259         underflow exception.
54260         (y1_test): Likewise.
54262 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54264         * manual/Makefile (chapters): Add nptl.
54265         * manual/debug.texi (Debugging Support): Add link to Threads
54266         chapter.
54267         * manual/nptl.texi: New file.
54269         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54271 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54273         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54274         for non-NULL pointer before the memory validity test. Pointed
54275         out by Holger Brunck <holger.brunck@keymile.com>.
54277 2013-03-13  Andreas Schwab  <schwab@suse.de>
54279         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54280         instead of .os.
54282 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54284         * timezone/zic.c: Update from tzcode 2013b.
54286 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54288         * manual/install.texi (Configuring and compiling):
54289         Mention i686 and i586.
54290         * INSTALL: Regenerate.
54292 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54294         * sysdeps/init_array/elf-init.c: New file.
54295         * csu/elf-init.c
54296         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54297         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54299         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54300         __gmon_start__ as global, but as static with a .preinit_array pointer.
54301         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54302         * sysdeps/init_array/crti.S: New file, empty except for comments.
54303         * sysdeps/init_array/crtn.S: Likewise.
54305 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54307         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54308         definining bcopy.
54309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54310         Remove Prefer_SSE_for_memop.
54311         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54312         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54313         HAS_PREFER_SSE_FOR_MEMOP.
54314         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54315         memset-x86-64.
54316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54317         Remove bzero, memset ifunc support.
54318         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54319         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54320         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54321         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54323 2013-03-11  Andreas Schwab  <schwab@suse.de>
54325         [BZ #15234]
54326         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54327         by SHLIB_COMPAT.
54328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54329         (GLIBC_2.16): Remove pthread_atfork.
54331 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54333         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54334         (ptestcases.h): Likewise.
54336 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54338         * Makeconfig ($(common-objpfx)config.status): Depend on
54339         sysdeps/*/preconfigure{,.in} too.
54341 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54343         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54344         (__free_hook): Use void * instead of __malloc_ptr_t.
54345         (__malloc_hook): Likewise.
54346         (__realloc_hook): Likewise.
54347         (__memalign_hook): Likewise.
54348         (__after_morecore_hook): Likewise.
54349         * malloc/arena.c (save_malloc_hook): Likewise.
54350         (save_free_hook): Likewise.
54351         * malloc/hooks.c (malloc_hook_ini): Likewise.
54352         (realloc_hook_ini): Likewise.
54353         (memalign_hook_ini): Likewise.
54354         * malloc/malloc.c (malloc_hook_ini): Likewise.
54355         (realloc_hook_ini): Likewise.
54356         (memalign_hook_ini): Likewise.
54357         (__free_hook): Likewise.
54358         (__malloc_hook): Likewise.
54359         (__realloc_hook): Likewise.
54360         (__memalign_hook): Likewise.
54361         (__libc_malloc): Likewise.
54362         (__libc_free): Likewise.
54363         (__libc_realloc): Likewise.
54364         (__libc_memalign): Likewise.
54365         (__libc_valloc): Likewise.
54366         (__libc_pvalloc): Likewise.
54367         (__libc_calloc): Likewise.
54368         (__posix_memalign): Likewise.
54369         * malloc/morecore.c (__sbrk): Likewise.
54370         (__default_morecore): Likewise.
54372         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54374         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54375         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54376         __malloc_ptrdiff_t.
54378         * malloc/malloc.h (__malloc_size_t): Remove macro.
54379         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54380         __malloc_size_t.
54381         (old_memalign_hook): Likewise.
54382         (old_realloc_hook): Likewise.
54383         (struct hdr): Likewise.
54384         (flood): Likewise.
54385         (mallochook): Likewise.
54386         (memalignhook): Likewise.
54387         (reallochook): Likewise.
54388         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54389         (tr_old_realloc_hook): Likewise.
54390         (tr_old_memalign_hook): Likewise.
54391         (tr_mallochook): Likewise.
54392         (tr_reallochook): Likewise.
54393         (tr_memalignhook): Likewise.
54395 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54397         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54398         default_ldbl_pack and using as default implementation.
54399         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54400         implementation.
54401         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54402         redundant definition.
54403         (ldbl_insert_mantissa): Likewise.
54404         (ldbl_canonicalize): Likewise.
54405         (ldbl_nearbyint): Likewise.
54406         (ldbl_pack): Rename to ldbl_pack_ppc.
54407         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54408         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54409         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54411 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54414         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54415         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54416         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54417         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54418         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54419         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54420         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54422 2013-03-07  Andreas Jaeger  <aj@suse.de>
54424         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54425         bits/mman-linux.h.
54427 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54429         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54430         Include mpa.h and declare __MPEXP.
54431         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54432         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54433         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54434         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54435         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54436         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54437         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54439         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54440         (__slowpow): Use long double EXPL and LOGL functions to
54441         compute POW.
54442         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54443         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54444         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54445         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54446         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54447         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54450         intermediate variable to calculate exponent.
54451         (__sqr): Likewise.
54452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54453         Likewise.
54454         (__sqr): Likewise.
54456         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54457         [!NO__SQR]: Define __sqr.
54458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54459         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54460         sysdeps/ieee754/dbl-64/mpa.c.
54461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54463         [BZ #12723]
54464         * posix/Makefile (tests): Add tst-pathconf.
54465         * posix/tst-pathconf.c: New test case.
54466         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54467         _PC_PIPE_BUF.
54468         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54470 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54472         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54474 2013-03-06  Andreas Jaeger  <aj@suse.de>
54476         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54477         definition via __MAP_ANONYMOUS.
54479         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54480         it's not part of Linux headers.
54482         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54483         (MAP_HUGE_MASK): Define.
54485         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54486         Define.
54487         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54488         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54489         Define.
54490         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54491         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54492         Define.
54493         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54494         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54495         Define.
54496         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54498         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54499         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54500         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54501         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54502         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54503         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54505         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54506         Handle f2fs.
54508         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54509         Handle f2fs and efivarfs.
54511         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54512         f2fs.
54514         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54515         (EFIVARFS_MAGIC): Add.
54516         (F2FS_LINK_MAX): Add.
54518 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54520         * stdio-common/vfprintf.c: Replace __builtin_expect with
54521         __glibc_unlikely.
54523 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54525         [BZ #13550]
54526         * sysdeps/generic/bp-sym.h: Remove file.
54527         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54528         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54529         <bp-sym.h> and <bp-asm.h>.
54530         (__longjmp): Don't use BP_SYM.
54531         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54532         and <bp-asm.h>.
54533         (memcpy): Don't use BP_SYM.
54534         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
54535         <bp-sym.h> and <bp-asm.h>.
54536         (memcpy): Don't use BP_SYM.
54537         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
54538         <bp-asm.h>.
54539         (memcpy): Don't use BP_SYM.
54540         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
54541         <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/memcmp.S: Don't include
54549         <bp-sym.h> and <bp-asm.h>.
54550         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54551         pointers.
54552         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
54553         <bp-sym.h> and <bp-asm.h>.
54554         (memcpy): Don't use BP_SYM.
54555         * sysdeps/powerpc/powerpc64/power4/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/power4/strncmp.S: Don't include
54564         <bp-sym.h> and <bp-asm.h>.
54565         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54566         pointers.
54567         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
54568         <bp-sym.h> and <bp-asm.h>.
54569         (memcpy): Don't use BP_SYM.
54570         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
54571         <bp-sym.h> and <bp-asm.h>.
54572         (memset): Don't use BP_SYM.
54573         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54574         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54575         (__bzero): Don't use BP_SYM.
54576         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54577         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54578         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
54579         <bp-sym.h> and <bp-asm.h>.
54580         (__memchr): Don't use BP_SYM.
54581         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
54582         <bp-sym.h> and <bp-asm.h>.
54583         (memcmp): Don't use BP_SYM.  Remove comment about bounded
54584         pointers.
54585         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
54586         <bp-sym.h> and <bp-asm.h>.
54587         (memcpy): Don't use BP_SYM.
54588         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
54589         <bp-sym.h> and <bp-asm.h>.
54590         (__mempcpy): Don't use BP_SYM.
54591         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
54592         <bp-sym.h> and <bp-asm.h>.
54593         (__memrchr): Don't use BP_SYM.
54594         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
54595         <bp-sym.h> and <bp-asm.h>.
54596         (memset): Don't use BP_SYM.
54597         (__bzero): Likewise.
54598         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
54599         <bp-sym.h> and <bp-asm.h>.
54600         (__rawmemchr): Don't use BP_SYM.
54601         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
54602         <bp-sym.h> and <bp-asm.h>.
54603         (__STRCMP): Don't use BP_SYM.
54604         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
54605         <bp-sym.h> and <bp-asm.h>.
54606         (strchr): Don't use BP_SYM.
54607         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
54608         <bp-sym.h> and <bp-asm.h>.
54609         (__strchrnul): Don't use BP_SYM.
54610         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
54611         <bp-sym.h> and <bp-asm.h>.
54612         (strlen): Don't use BP_SYM.
54613         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
54614         <bp-sym.h> and <bp-asm.h>.
54615         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54616         pointers.
54617         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
54618         <bp-sym.h> and <bp-asm.h>.
54619         (__strnlen): Don't use BP_SYM.
54620         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
54621         <bp-sym.h> and <bp-asm.h>.
54622         (__GI__setjmp): Don't use BP_SYM.
54623         (_setjmp): Likewise.
54624         (__sigsetjmp): Likewise.
54625         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
54626         (L(start_addresses)): Don't use BP_SYM.
54627         (_start): Likewise.
54628         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
54629         <bp-asm.h>.
54630         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
54631         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
54632         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54633         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54634         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
54635         <bp-asm.h>.
54636         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
54637         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
54638         about bounded pointers.
54639         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54640         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54641         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
54642         <bp-asm.h>.
54643         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54644         about bounded pointers.  Remove GKM FIXME comments.
54645         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54646         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
54647         <bp-asm.h>.
54648         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
54649         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
54650         Remove GKM FIXME comments.
54651         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54652         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54653         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
54654         <bp-asm.h>.
54655         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
54656         about bounded pointers.  Remove GKM FIXME comment.
54657         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
54658         and <bp-asm.h>.
54659         (strncmp): Don't use BP_SYM.  Remove comment about bounded
54660         pointers.
54661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
54662         <bp-sym.h> and <bp-asm.h>.
54663         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
54665         <bp-sym.h> and <bp-asm.h>.
54666         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54667         comment.
54669 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54671         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
54672         call free(NULL).
54674 2013-03-05  David S. Miller  <davem@davemloft.net>
54676         * po/es.po: Update from translation team.
54678 2013-03-05  Andreas Jaeger  <aj@suse.de>
54680         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
54681         <bits/mman-linux.h>.
54682         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54683         is fine.
54684         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
54685         <bits/mman-linux.h> to end of file.
54686         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54687         is fine.
54688         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
54689         <bits/mman-linux.h> to end of file.
54690         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
54691         is fine.
54692         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
54693         <bits/mman-linux.h> to end of file.
54695         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
54696         (MCL_CURRENT, MCL_FUTURE): Define here.
54698 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54700         [BZ #15232]
54701         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
54702         attribute_hidden.
54703         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54705 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54707         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
54708         fourth parameter needed for rt_sigprocmask syscall.
54709         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
54710         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54711         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
54712         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54713         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54714         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
54716 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
54718         [BZ #13550]
54719         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
54720         comment about bounded pointers.
54721         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
54722         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
54724 2013-03-04  Andreas Jaeger  <aj@suse.de>
54726         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
54727         common definitions.
54729         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
54730         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
54731         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
54732         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54733         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54734         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54736 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54738         [BZ #15055]
54739         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
54740         __ieee754_sqrl instead of __sqrl.
54742 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
54744         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
54745         * sysdeps/powerpc/fpu_control.h: ... here.
54746         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
54747         * sysdeps/powerpc/bits/fenvinline.h: ... here.
54748         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
54749         * sysdeps/powerpc/bits/mathinline.h: ... here.
54751 2013-03-01  Roland McGrath  <roland@hack.frob.com>
54753         * elf/dl-hwcaps.c (_dl_important_hwcaps):
54754         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
54755         to just [NEED_DL_SYSINFO_DSO].
54756         * elf/dl-support.c: Likewise.
54757         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
54758         * elf/rtld.c (dl_main): Likewise.
54759         * elf/setup-vdso.h (setup_vdso): Likewise.
54760         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
54761         * sysdeps/unix/sysv/linux/dl-sysdep.c
54762         (_dl_discover_osversion): Likewise.
54764 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
54766         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
54767         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54769 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
54771         * NEWS: Mention libm performance improvements and non-x86 PI
54772         futex support.
54774         * csu/libc-start.c (__pthread_initialize_minimal): Change
54775         function arguments.
54776         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
54778 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
54780         [BZ #13550]
54781         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
54782         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
54783         <bp-sym.h> and <bp-asm.h>.
54784         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54785         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
54786         and <bp-asm.h>.
54787         (memcpy): Don't use BP_SYM.
54788         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
54789         <bp-asm.h>.
54790         (__mpn_add_n): Don't use BP_SYM.
54791         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
54792         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
54793         and <bp-asm.h>.
54794         (__mpn_addmul_1): Don't use BP_SYM.
54795         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54796         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
54797         <bp-sym.h>.
54798         (_setjmp): Don't use BP_SYM.
54799         (__novmx_setjmp): Likewise.
54800         (__GI__setjmp): Likewise.
54801         (__vmx_setjmp): Likewise.
54802         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
54803         <bp-sym.h>.
54804         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
54805         (__bzero): Don't use BP_SYM.
54806         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
54807         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
54808         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
54809         <bp-sym.h> and <bp-asm.h>.
54810         (memcpy): Don't use BP_SYM.
54811         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
54812         <bp-sym.h> and <bp-asm.h>.
54813         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54814         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
54815         <bp-sym.h> and <bp-asm.h>.
54816         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
54817         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
54818         <bp-asm.h>.
54819         (__mpn_lshift): Don't use BP_SYM.
54820         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54821         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
54822         <bp-asm.h>.
54823         (memset): Don't use BP_SYM.
54824         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
54825         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
54826         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
54827         <bp-asm.h>.
54828         (__mpn_mul_1): Don't use BP_SYM.
54829         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54830         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
54831         <bp-sym.h> and <bp-asm.h>.
54832         (memcmp): Don't use BP_SYM.
54833         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
54834         <bp-sym.h> and <bp-asm.h>.
54835         (memcpy): Don't use BP_SYM.
54836         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
54837         <bp-sym.h> and <bp-asm.h>.
54838         (memset): Don't use BP_SYM.
54839         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
54840         <bp-sym.h> and <bp-asm.h>.
54841         (strncmp): Don't use BP_SYM.
54842         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
54843         <bp-sym.h> and <bp-asm.h>.
54844         (memcpy): Don't use BP_SYM.
54845         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
54846         <bp-sym.h> and <bp-asm.h>.
54847         (memset): Don't use BP_SYM.
54848         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
54849         <bp-sym.h> and <bp-asm.h>.
54850         (__memchr): Don't use BP_SYM.
54851         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
54852         <bp-sym.h> and <bp-asm.h>.
54853         (memcmp): Don't use BP_SYM.
54854         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
54855         <bp-sym.h> and <bp-asm.h>.
54856         (memcpy): Don't use BP_SYM.
54857         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
54858         <bp-sym.h> and <bp-asm.h>.
54859         (__mempcpy): Don't use BP_SYM.
54860         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
54861         <bp-sym.h> and <bp-asm.h>.
54862         (__memrchr): Don't use BP_SYM.
54863         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
54864         <bp-sym.h> and <bp-asm.h>.
54865         (memset): Don't use BP_SYM.
54866         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
54867         <bp-sym.h> and <bp-asm.h>.
54868         (__rawmemchr): Don't use BP_SYM.
54869         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
54870         <bp-sym.h> and <bp-asm.h>.
54871         (__STRCMP): Don't use BP_SYM.
54872         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
54873         <bp-sym.h> and <bp-asm.h>.
54874         (strchr): Don't use BP_SYM.
54875         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
54876         <bp-sym.h> and <bp-asm.h>.
54877         (__strchrnul): Don't use BP_SYM.
54878         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
54879         <bp-sym.h> and <bp-asm.h>.
54880         (strlen): Don't use BP_SYM.
54881         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
54882         <bp-sym.h> and <bp-asm.h>.
54883         (strncmp): Don't use BP_SYM.
54884         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
54885         <bp-sym.h> and <bp-asm.h>.
54886         (__strnlen): Don't use BP_SYM.
54887         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
54888         <bp-asm.h>.
54889         (__mpn_rshift): Don't use BP_SYM.
54890         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
54891         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
54892         <bp-sym.h> and <bp-asm.h>.
54893         (__sigsetjmp): Don't use BP_SYM.
54894         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
54895         (L(start_addresses)): Don't use BP_SYM.
54896         (_start): Likewise.
54897         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
54898         <bp-asm.h>.
54899         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
54900         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54901         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54902         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
54903         <bp-asm.h>.
54904         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
54905         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
54906         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
54907         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
54908         <bp-asm.h>.
54909         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54910         comments.
54911         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
54912         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
54913         <bp-asm.h>.
54914         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
54915         FIXME comments.
54916         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
54917         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
54918         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
54919         <bp-asm.h>.
54920         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
54921         comment.
54922         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
54923         and <bp-asm.h>.
54924         (strncmp): Don't use BP_SYM,
54925         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
54926         <bp-asm.h>.
54927         (__mpn_sub_n): Don't use BP_SYM.
54928         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
54929         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
54930         and <bp-asm.h>.
54931         (__mpn_submul_1): Don't use BP_SYM.
54932         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
54933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
54934         <bp-sym.h> and <bp-asm.h>.
54935         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
54936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
54937         <bp-sym.h> and <bp-asm.h>.
54938         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
54939         comment.
54941 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
54944         Use ZK to minimize writes to Z.
54945         (sub_magnitudes): Simplify code a bit.
54946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
54947         Use ZK to minimize writes to Z.
54948         (sub_magnitudes): Simplify code a bit.
54950 2013-02-27  Roland McGrath  <roland@hack.frob.com>
54952         * csu/gmon-start.c: Add special exception to license text.
54954 2013-02-27  Richard Henderson  <rth@redhat.com>
54956         * scripts/config.guess: Update from config.git.
54957         * scripts/config.sub: Likewise.
54959 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54961         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
54963         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
54965         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
54967         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
54969         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
54971 2013-02-26  Roland McGrath  <roland@hack.frob.com>
54973         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
54974         [$(build-shared = yes].
54976 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54978         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
54979         (__mul): Reduce iterations for calculating mantissa.
54981         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
54982         MPTWO.
54983         (__mpranred): Likewise.
54985         [BZ #15160]
54986         * malloc/memusagestat.c (main): Draw graphs for heap and stack
54987         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
54989 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
54991         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
54992         Define __attribute__.
54994 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54996         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
54997         unused.
54998         * posix/regex_internal.h (__attribute): Remove.
54999         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55000         (re_string_context_at): Likewise.
55001         (bitset_not): Use __attribute__ and mark function as possibly
55002         unused.
55003         (bitset_merge): Likewise.
55004         (bitset_mask): Likewise.
55005         (re_string_char_size_at): Likewise.
55006         (re_string_wchar_at): Likewise.
55007         (re_string_elem_size_at): Likewise.
55009 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55011         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55012         code.
55013         (cc32): Likewise.
55015         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55016         (__acr): Likewise.
55017         (__cpy): Likewise.
55018         (norm): Likewise.
55019         (denorm): Likewise.
55020         (__dbl_mp): Likewise.
55021         (add_magnitudes): Likewise.
55022         (sub_magnitudes): Likewise.
55023         (__mul): Likewise.
55024         (__inv): Likewise.
55026         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55027         style.
55029         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55030         style.
55032         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55033         code.
55035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55036         up changes with default code.
55037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55038         Likewise.
55040 2013-02-24  Allan McRae  <allan@archlinux.org>
55042         * manual/socket.texi (The Internet Namespace): Order menu items
55043         to match that in the file.
55045         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55046         node listing of the info page menu.
55048 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55050         [BZ #13550]
55051         * sysdeps/i386/bp-asm.h: Remove file.
55052         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55053         (PARMS): Do not use macros from bp-asm.h.
55054         (S1): Likewise.
55055         (S2): Likewise.
55056         (SIZE): Likewise.
55057         (__mpn_add_n): Do not use BP_SYM
55058         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55059         "bp-asm.h".
55060         (PARMS): Do not use macros from bp-asm.h.
55061         (S1): Likewise.
55062         (SIZE): Likewise.
55063         (__mpn_addmul_1): Do not use BP_SYM
55064         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55065         "bp-asm.h".
55066         (PARMS): Do not use macros from bp-asm.h.
55067         (SIGMSK): Likewise.
55068         (_setjmp): Likewise.  Do not use BP_SYM.
55069         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55070         "bp-asm.h".
55071         (PARMS): Do not use macros from bp-asm.h.
55072         (SIGMSK): Likewise.
55073         (setjmp): Likewise.  Do not use BP_SYM.
55074         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55075         "bp-asm.h".
55076         (PARMS): Do not use macros from bp-asm.h.
55077         (__frexp): Do not use BP_SYM.
55078         (frexp): Likewise.
55079         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55080         "bp-asm.h".
55081         (PARMS): Do not use macros from bp-asm.h.
55082         (__frexpf): Do not use BP_SYM.
55083         (frexpf): Likewise.
55084         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55085         "bp-asm.h".
55086         (PARMS): Do not use macros from bp-asm.h.
55087         (__frexpl): Do not use BP_SYM.
55088         (frexpl): Likewise.
55089         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55090         "bp-asm.h".
55091         (PARMS): Do not use macros from bp-asm.h.
55092         (__remquo): Do not use BP_SYM.
55093         (remquo): Likewise.
55094         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55095         "bp-asm.h".
55096         (PARMS): Do not use macros from bp-asm.h.
55097         (__remquof): Do not use BP_SYM.
55098         (remquof): Likewise.
55099         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55100         "bp-asm.h".
55101         (PARMS): Do not use macros from bp-asm.h.
55102         (__remquol): Do not use BP_SYM.
55103         (remquol): Likewise.
55104         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55105         "bp-asm.h".
55106         (PARMS): Do not use macros from bp-asm.h.
55107         (DEST): Likewise.
55108         (SRC): Likewise.
55109         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55110         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55111         "bp-asm.h".
55112         (PARMS): Do not use macros from bp-asm.h.
55113         (strlen): Do not use BP_SYM.
55114         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55115         "bp-asm.h".
55116         (PARMS): Do not use macros from bp-asm.h.
55117         (S1): Likewise.
55118         (S2): Likewise.
55119         (SIZE): Likewise.
55120         (__mpn_add_n): Do not use BP_SYM.
55121         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55122         "bp-asm.h".
55123         (PARMS): Do not use macros from bp-asm.h.
55124         (S1): Likewise.
55125         (SIZE): Likewise.
55126         (__mpn_addmul_1): Do not use BP_SYM.
55127         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55128         weak_alias.
55129         (bzero): Likewise.
55130         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55131         "bp-asm.h".
55132         (PARMS): Do not use macros from bp-asm.h.
55133         (S): Likewise.
55134         (SIZE): Likewise.
55135         (__mpn_lshift): Do not use BP_SYM.
55136         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55137         "bp-asm.h".
55138         (PARMS): Do not use macros from bp-asm.h.
55139         (DEST): Likewise.
55140         (SRC): Likewise.
55141         (LEN): Likewise.
55142         (memcpy): Likewise.  Do not use BP_SYM.
55143         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55144         libc_hidden_def and weak_alias.
55145         (mempcpy): Do not use BP_SYM in weak_alias.
55146         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55147         "bp-asm.h".
55148         (PARMS): Do not use macros from bp-asm.h.
55149         (DEST): Likewise.
55150         (LEN): Likewise.
55151         [!BZERO_P] (CHR): Likewise.
55152         (memset): Likewise.  Do not use BP_SYM.
55153         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55154         "bp-asm.h".
55155         (PARMS): Do not use macros from bp-asm.h.
55156         (S1): Likewise.
55157         (SIZE): Likewise.
55158         (__mpn_mul_1): Do not use BP_SYM.
55159         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55160         "bp-asm.h".
55161         (PARMS): Do not use macros from bp-asm.h.
55162         (S): Likewise.
55163         (SIZE): Likewise.
55164         (__mpn_rshift): Do not use BP_SYM.
55165         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55166         "bp-asm.h".
55167         (PARMS): Do not use macros from bp-asm.h.
55168         (STR): Likewise.
55169         (CHR): Likewise.
55170         (strchr): Likewise.  Do not use BP_SYM.
55171         (index): Do not use BP_SYM in weak_alias.
55172         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55173         "bp-asm.h".
55174         (PARMS): Do not use macros from bp-asm.h.
55175         (DEST): Likewise.
55176         (SRC): Likewise.
55177         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55178         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55179         "bp-asm.h".
55180         (PARMS): Do not use macros from bp-asm.h.
55181         (strlen): Do not use BP_SYM.
55182         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55183         "bp-asm.h".
55184         (PARMS): Do not use macros from bp-asm.h.
55185         (S1): Likewise.
55186         (S2): Likewise.
55187         (SIZE): Likewise.
55188         (__mpn_sub_n): Do not use BP_SYM.
55189         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55190         "bp-asm.h".
55191         (PARMS): Do not use macros from bp-asm.h.
55192         (S1): Likewise.
55193         (SIZE): Likewise.
55194         (__mpn_submul_1): Do not use BP_SYM.
55195         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55196         "bp-asm.h".
55197         (PARMS): Do not use macros from bp-asm.h.
55198         (S1): Likewise.
55199         (S2): Likewise.
55200         (SIZE): Likewise.
55201         (__mpn_add_n): Do not use BP_SYM.
55202         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55203         weak_alias.
55204         (bzero): Likewise.
55205         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55206         "bp-asm.h".
55207         (PARMS): Do not use macros from bp-asm.h.
55208         (BLK2): Likewise.
55209         (LEN): Likewise.
55210         (memcmp): Do not use BP_SYM.
55211         (bcmp): Do not use BP_SYM in weak_alias.
55212         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55213         "bp-asm.h".
55214         (PARMS): Do not use macros from bp-asm.h.
55215         (DEST): Likewise.
55216         (SRC): Likewise.
55217         (LEN): Likewise.
55218         (memcpy): Likewise.  Do not use BP_SYM.
55219         * sysdeps/i386/i686/memmove.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         (SRC): Likewise.
55224         (LEN): Likewise.
55225         (memmove): Likewise.  Do not use BP_SYM.
55226         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55227         "bp-asm.h".
55228         (PARMS): Do not use macros from bp-asm.h.
55229         (DEST): Likewise.
55230         (SRC): Likewise.
55231         (LEN): Likewise.
55232         (__mempcpy): Likewise.  Do not use BP_SYM.
55233         (mempcpy): Do not use BP_SYM in weak_alias.
55234         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55235         "bp-asm.h".
55236         (PARMS): Do not use macros from bp-asm.h.
55237         (DEST): Likewise.
55238         (LEN): Likewise.
55239         [!BZERO_P] (CHR): Likewise.
55240         (memset): Likewise.  Do not use BP_SYM.
55241         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55242         "bp-asm.h".
55243         (PARMS): Do not use macros from bp-asm.h.
55244         (STR2): Likewise.
55245         (strcmp): Do not use BP_SYM.
55246         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55247         "bp-asm.h".
55248         (PARMS): Do not use macros from bp-asm.h.
55249         (STR): Likewise.
55250         (DELIM): Likewise.
55251         [USE_AS_STRTOK_R] (SAVE): Likewise.
55252         (FUNCTION): Likewise.  Do not use BP_SYM.
55253         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55254         aliases.
55255         (strtok_r): Likewise.
55256         (__GI___strtok_r): Likewise.
55257         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55258         (PARMS): Do not use macros from bp-asm.h.
55259         (S): Likewise.
55260         (SIZE): Likewise.
55261         (__mpn_lshift): Do not use BP_SYM.
55262         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55263         (PARMS): Do not use macros from bp-asm.h.
55264         (STR): Likewise.
55265         (CHR): Likewise.
55266         (__memchr): Do not use BP_SYM.
55267         (memchr): Do not use BP_SYM in weak_alias.
55268         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55269         (PARMS): Do not use macros from bp-asm.h.
55270         (BLK2): Likewise.
55271         (LEN): Likewise.
55272         (memcmp): Do not use BP_SYM.
55273         (bcmp): Do not use BP_SYM in weak_alias.
55274         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55275         (PARMS): Do not use macros from bp-asm.h.
55276         (S1): Likewise.
55277         (SIZE): Likewise.
55278         (__mpn_mul_1): Do not use BP_SYM.
55279         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55280         "bp-asm.h".
55281         (PARMS): Do not use macros from bp-asm.h.
55282         (STR): Likewise.
55283         (CHR): Likewise.
55284         (__rawmemchr): Do not use BP_SYM.
55285         (rawmemchr): Do not use BP_SYM in weak_alias.
55286         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55287         (PARMS): Do not use macros from bp-asm.h.
55288         (S): Likewise.
55289         (SIZE): Likewise.
55290         (__mpn_rshift): Do not use BP_SYM.
55291         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55292         (PARMS): Do not use macros from bp-asm.h.
55293         (SIGMSK): Likewise.
55294         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55295         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55296         (_start): Do not use BP_SYM.
55297         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55298         (PARMS): Do not use macros from bp-asm.h.
55299         (DEST): Likewise.
55300         (SRC): Likewise.
55301         (__stpcpy): Likewise.  Do not use BP_SYM.
55302         (stpcpy): Do not use BP_SYM in weak_alias.
55303         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55304         "bp-asm.h".
55305         (PARMS): Do not use macros from bp-asm.h.
55306         (DEST): Likewise.
55307         (SRC): Likewise.
55308         (LEN): Likewise.
55309         (__stpncpy): Likewise.  Do not use BP_SYM.
55310         (stpncpy): Do not use BP_SYM in weak_alias.
55311         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55312         (PARMS): Do not use macros from bp-asm.h.
55313         (STR): Likewise.
55314         (CHR): Likewise.
55315         (strchr): Likewise.  Do not use BP_SYM.
55316         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55317         "bp-asm.h".
55318         (PARMS): Do not use macros from bp-asm.h.
55319         (STR): Likewise.
55320         (CHR): Likewise.
55321         (__strchrnul): Likewise.  Do not use BP_SYM.
55322         (strchrnul): Do not use BP_SYM in weak_alias.
55323         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55324         "bp-asm.h".
55325         (PARMS): Do not use macros from bp-asm.h.
55326         (STOP): Likewise.
55327         (strcspn): Do not use BP_SYM.
55328         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55329         "bp-asm.h".
55330         (PARMS): Do not use macros from bp-asm.h.
55331         (STR): Likewise.
55332         (STOP): Likewise.
55333         (strpbrk): Likewise.  Do not use BP_SYM.
55334         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55335         "bp-asm.h".
55336         (PARMS): Do not use macros from bp-asm.h.
55337         (STR): Likewise.
55338         (CHR): Likewise.
55339         (strrchr): Likewise.  Do not use BP_SYM.
55340         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55341         (PARMS): Do not use macros from bp-asm.h.
55342         (SKIP): Likewise.
55343         (strspn): Do not use BP_SYM.
55344         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55345         (PARMS): Do not use macros from bp-asm.h.
55346         (STR): Likewise.
55347         (DELIM): Likewise.
55348         (SAVE): Likewise.
55349         (FUNCTION): Likewise.  Do not use BP_SYM.
55350         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55351         aliases.
55352         (strtok_r): Likewise.
55353         (__GI___strtok_r): Likewise.
55354         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55355         (PARMS): Do not use macros from bp-asm.h.
55356         (S1): Likewise.
55357         (S2): Likewise.
55358         (SIZE): Likewise.
55359         (__mpn_sub_n): Do not use BP_SYM.
55360         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55361         "bp-asm.h".
55362         (PARMS): Do not use macros from bp-asm.h.
55363         (S1): Likewise.
55364         (SIZE): Likewise.
55365         (__mpn_submul_1): Do not use BP_SYM.
55366         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55367         <bp-sym.h>.
55368         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55369         and <bp-asm.h>.
55370         (PARMS): Do not use macros from bp-asm.h.
55371         (FLAGS): Likewise.
55372         (PTID): Likewise.
55373         (TLS): Likewise.
55374         (CTID): Likewise.
55375         (__clone): Do not use BP_SYM.
55376         (clone): Do not use BP_SYM in weak_alias.
55377         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55378         and <bp-asm.h>.
55379         (PARMS): Do not use macros from bp-asm.h.
55380         (LEN): Likewise.
55381         (__mmap64): Do not use BP_SYM.
55382         (mmap64): Do not use BP_SYM in weak_alias.
55383         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55384         <bp-sym.h> and <bp-asm.h>.
55385         (PARMS): Do not use macros from bp-asm.h.
55386         (__posix_fadvise64_l64): Do not use BP_SYM.
55387         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55388         (PARMS): Do not use macros from bp-asm.h.
55389         (NSOPS): Likewise.
55390         (semtimedop): Do not use BP_SYM.
55391         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55392         and <bp-asm.h>.
55394 2013-02-21  Allan McRae  <allan@archlinux.org>
55396         * manual/message.texi (Charset conversion in gettext):
55397         Move @end statement to beginning of line.
55399 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55402         static.
55403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55404         Likewise.
55406         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55407         (denorm): Likewise.
55408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55411 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55413         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55414         tail-call to the resolved function if pltexit isn't needed.
55416 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55419         or Y being zero as being unlikely.
55420         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55421         Likewise.
55423 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55425         * manual/nss.texi (System Databases and Name Service Switch):
55426         Remove frobnicate @pxref.
55428 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55430         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55431         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55433 2013-02-20  Petr Machata  <pmachata@redhat.com>
55435         * elf/elf.h (R_ARM_TARGET1): New macro.
55436         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55437         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55438         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55439         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55440         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55441         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55442         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55443         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55444         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55445         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55446         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55447         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55448         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55449         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55450         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55451         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55452         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55453         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55454         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55455         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55456         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55457         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55458         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55459         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55460         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55461         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55462         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55463         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55464         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55465         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55466         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55467         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55468         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55469         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55470         (R_ARM_THM_GOT_BREL12): Likewise.
55471         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55472         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55473         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55474         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55475         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55476         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55477         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55478         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55479         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55481 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55483         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55484         __attribute_used__ to __attribute__ ((unused)).
55486 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55488         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55489         powerpc mpa.c.
55490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55491         comment formatting.
55492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55494 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55496         [BZ #13550]
55497         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55498         Remove macro.
55499         (ENTER): Remove both macro definitions.
55500         (LEAVE): Likewise.
55501         (CHECK_BOUNDS_LOW): Likewise.
55502         (CHECK_BOUNDS_HIGH): Likewise.
55503         (CHECK_BOUNDS_BOTH): Likewise.
55504         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55505         (RETURN_BOUNDED_POINTER): Likewise.
55506         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55507         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55508         (POP_ERRNO_LOCATION_RETURN): Likewise.
55509         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55510         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55511         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55512         macros.
55513         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55514         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55515         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55516         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55517         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55518         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55519         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55520         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55521         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55522         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55523         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55524         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55525         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55526         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55527         removed macros.
55528         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55529         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55530         macros.
55531         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55532         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
55533         * sysdeps/i386/i586/memset.S (memset): Likewise.
55534         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
55535         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55536         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
55537         macros.
55538         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55539         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
55540         Change uses of L(2) to L(out).
55541         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
55542         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
55543         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
55544         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55545         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
55546         removed macros.
55547         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55548         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
55549         macros.
55550         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55551         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
55552         (RETURN): Do not use macro LEAVE.
55553         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
55554         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
55555         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
55556         * sysdeps/i386/i686/memset.S (memset): Likewise.
55557         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
55558         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
55559         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55560         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
55561         Likewise.
55562         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55563         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
55564         L(1_2) and L(1_3) into L(1).
55565         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55566         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
55567         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55568         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
55569         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55570         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
55571         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
55572         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55573         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
55574         macros.
55575         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
55576         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55577         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
55578         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
55579         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
55580         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55581         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
55582         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
55583         * sysdeps/i386/strcspn.S (strcspn): Likewise.
55584         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
55585         * sysdeps/i386/strrchr.S (strrchr): Likewise.
55586         * sysdeps/i386/strspn.S (strspn): Likewise.
55587         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
55588         conditional code.
55589         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55590         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
55591         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
55592         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
55593         L(1_3) into L(1_1).
55594         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
55595         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55596         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
55597         macros.
55598         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55600 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
55602         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
55603         macro.
55605 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55607         * math/atest-exp.c (exp_mpn): Remove ROUND.
55608         * math/atest-exp2.c (exp_mpn): Likewise.
55609         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
55611         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
55612         * stdlib/tst-tls-atexit-lib.c: Likewise.
55613         * stdlib/tst-tls-atexit.c: Likewise.
55615 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55617         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
55618         and __attribute_alloc_size__.
55620 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55622         * include/programs/xmalloc.h: Change __attribute_alloc_size to
55623         __attribute_alloc_size__.
55624         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
55625         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
55627 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
55629         * include/programs/xmalloc.h: New file.
55630         * catgets/gencat.c: Include it.
55631         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
55632         * elf/pldd.c: Likewise.
55633         * iconv/iconv_charmap.c: Likewise.
55634         * iconv/iconvconfig.c: Likewise.
55635         * iconv/strtab.c: Likewise.
55636         * locale/programs/locale.c: Likewise.
55637         * locale/programs/localedef.h: Likewise.
55638         * locale/programs/simple-hash.c: Likewise.
55639         * nscd/nscd.h: Likewise.
55640         * nss/makedb.c: Likewise.
55641         * sysdeps/generic/ldconfig.h: Likewise.
55643 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55645         * Versions.def: Add GLIBC_2.18.
55646         * include/link.h (struct link_map): New member l_tls_dtor_count.
55647         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
55648         (__call_tls_dtors): Likewise.
55649         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
55650         __cxa_thread_atexit_impl.
55651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
55652         Likewise.
55653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
55654         Likewise.
55655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55656         Likewise.
55657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55658         Likewise.
55659         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
55660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
55661         Likewise.
55662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
55663         Likewise.
55664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
55665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
55666         Likewise.
55667         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
55668         (tests): Add test case tst-tls-atexit.
55669         (modules-names): Add shared library for tst-tls-atexit.
55670         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
55671         (GLIBC_PRIVATE): Add __call_tls_dtors.
55672         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
55673         for libstdc++.
55674         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
55675         * stdlib/tst-tls-atexit.c: New test case.
55676         * stdlib/tst-tls-atexit-lib.c: New test case.
55678         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
55680         * elf/Versions (ld): Add _dl_find_dso_for_object.
55681         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
55682         * elf/dl-open.c (_dl_find_dso_for_object): New function.
55683         (dl_open_worker): Use _dl_find_dso_for_object.
55684         * elf/dl-sym.c (do_sym): Likewise.
55685         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
55687 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55689         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
55690         Syntactic changes only.
55691         (_dl_runtime_profile): Do a tail-call to the resolved function.
55693 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
55695         [BZ #13550]
55696         * sysdeps/x86_64/bp-asm.h: Remove file.
55697         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
55698         <bp-sym.h> and <bp-asm.h>.
55699         (__clone): Do not use BP_SYM.
55700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
55701         <bp-sym.h> and <bp-asm.h>.
55702         * sysdeps/unix/x86_64/sysdep.S: Likewise.
55703         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
55704         "bp-asm.h".
55705         (_setjmp): Do not use BP_SYM.
55706         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
55707         "bp-asm.h".
55708         (setjmp): Do not use BP_SYM.
55709         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
55710         libc_hidden_def.
55711         (mempcpy): Do not use BP_SYM in weak_alias.
55712         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
55713         "bp-asm.h".
55714         (strchr): Do not use BP_SYM.
55715         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
55716         "bp-asm.h".
55717         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
55718         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
55719         (_start): Do not use BP_SYM.
55720         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
55721         "bp-asm.h".
55722         (strcat): Do not use BP_SYM.
55723         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
55724         "bp-asm.h".
55725         (STRCMP): Do not use BP_SYM.
55726         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
55727         "bp-asm.h".
55728         (STRCPY): Do not use BP_SYM.
55729         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
55730         "bp-asm.h".
55731         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
55732         "bp-asm.h".
55733         (FUNCTION): Do not use BP_SYM.
55734         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
55735         weak_alias.
55736         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
55738 2013-02-17  Andreas Jaeger  <aj@suse.de>
55740         * time/Versions: Sort entries.
55741         * string/Versions: Likewise.
55742         * resolv/Versions: Likewise.
55743         * posix/Versions: Likewise.
55744         * iconv/Versions: Likewise.
55745         * elf/Versions: Likewise.
55746         * wcsmbs/Versions: Likewise.
55748 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55750         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
55751         loop termination condition.
55753         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
55754         variable to calculate EZ.
55755         (__sqr): Likewise.
55757         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
55758         the lower precision input.
55760 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
55762         [BZ #13550]
55763         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
55764         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
55765         (run-via-rtld-prefix): Do not handle %-bp tests.
55766         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
55767         (all-object-suffixes): Remove .ob.
55768         (bppfx): Remove variable.
55769         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
55770         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
55771         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
55772         [$(build-bounded) = yes] (libtype.ob): Likewise.
55773         * Makerules (elide-routines.ob): Remove variable.
55774         (do-tests-clean): Do not handle *-bp.out.
55775         (common-mostlyclean): Do not handle *-bp and *-bp.out.
55776         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
55777         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
55778         (tests): Do not include $(tests-bp.out).
55779         (xtests): Do not include $(xtests-bp.out).
55780         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
55781         [$(build-bounded) = yes] ($(addprefix
55782         $(objpfx),$(binaries-bounded))): Remove rule.
55783         ($(objpfx)%-bp.out): Remove rule.
55784         * config.make.in (build-bounded): Remove variable.
55785         * crypt/Makefile [$(build-bounded) = yes]
55786         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
55787         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
55788         append to variable.
55789         [$(build-bounded) = yes] (install-lib): Likewise.
55790         [$(build-bounded) = yes] (generated): Likewise.
55791         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
55792         Remove rule.
55793         * intl/Makefile [$(build-bounded) = yes]
55794         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
55795         * math/Makefile [$(build-bounded) = yes]
55796         ($(tests:%=$(objpfx)%-bp): Likewise.
55797         * misc/Makefile [$(build-bounded) = yes]
55798         ($(objpfx)tst-tsearch-bp): Likewise.
55799         * nptl/Makeconfig (bounded-thread-library): Remove variable.
55800         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
55801         Remove dependency.
55802         * string/Makefile (o-objects.ob): Remove variable.
55803         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
55804         (CFLAGS-.ob): Remove variable.
55805         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
55806         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
55807         both definitions of variable.
55808         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
55809         (ASFLAGS-.ob): Remove variable.
55811 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
55813         [BZ #13550]
55814         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
55815         Remove __BOUNDED_POINTERS__ from condition.
55816         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
55817         * string/bits/string2.h [!__NO_STRING_INLINES &&
55818         !__BOUNDED_POINTERS__]: Likewise.
55819         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
55820         Likewise.
55821         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
55822         Remove conditional code.
55823         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
55824         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
55825         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
55826         condition.
55828         [BZ #13550]
55829         * csu/libc-start.c: Do not include <bp-sym.h>.
55830         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
55831         * elf/dl-open.c: Do not include <bp-sym.h>.
55832         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
55833         * math/fegetenv.c: Do not include <bp-sym.h>.
55834         (fegetenv): Do not use BP_SYM in versioned symbols.
55835         * nptl/sysdeps/pthread/bits/libc-lockP.h
55836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
55837         <bp-sym.h>.
55838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55839         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
55840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55841         (__pthread_mutex_destroy): Likewise.
55842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55843         (__pthread_mutex_lock): Likewise.
55844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55845         (__pthread_mutex_trylock): Likewise.
55846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55847         (__pthread_mutex_unlock): Likewise.
55848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55849         (__pthread_mutexattr_init): Likewise.
55850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55851         (__pthread_mutexattr_destroy): Likewise.
55852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55853         (__pthread_mutexattr_settype): Likewise.
55854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55855         (__pthread_rwlock_init): Likewise.
55856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55857         (__pthread_rwlock_destroy): Likewise.
55858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55859         (__pthread_rwlock_rdlock): Likewise.
55860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55861         (__pthread_rwlock_tryrdlock): Likewise.
55862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55863         (__pthread_rwlock_wrlock): Likewise.
55864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55865         (__pthread_rwlock_trywrlock): Likewise.
55866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55867         (__pthread_rwlock_unlock): Likewise.
55868         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55869         (__pthread_key_create): Likewise.
55870         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55871         (__pthread_setspecific): Likewise.
55872         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55873         (__pthread_getspecific): Likewise.
55874         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
55875         Likewise.
55876         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55877         (_pthread_cleanup_push_defer): Likewise.
55878         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55879         (_pthread_cleanup_pop_restore): Likewise.
55880         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
55881         (pthread_setcancelstate): Likewise.
55882         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
55883         <bp-sym.h>.
55884         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
55885         (memchr): Do not use BP_SYM in weak_alias.
55886         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
55887         (fegetenv): Do not use BP_SYM in versioned symbols.
55888         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
55889         (fesetenv): Do not use BP_SYM in versioned symbols.
55890         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55891         (feupdateenv): Do not use BP_SYM in versioned symbols.
55892         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55893         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55894         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
55895         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
55896         (open64): Do not use BP_SYM in weak_alias.
55897         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
55898         (fegetenv): Do not use BP_SYM in versioned symbols.
55899         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
55900         (fesetenv): Do not use BP_SYM in versioned symbols.
55901         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
55902         (feupdateenv): Do not use BP_SYM in versioned symbols.
55903         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
55904         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
55905         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
55906         (feraiseexcept): Do not use BP_SYM in versioned symbols.
55907         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
55908         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
55909         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
55910         <bp-sym.h>.
55911         (__libc_start_main): Do not use BP_SYM.
55913 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
55916         redundant return line.
55917         (norm): Likewise.
55918         (denorm): Likewise.
55919         (dbl_mp): Likewise.
55920         (sub_magnitudes): Likewise.
55921         (__add): Likewise.
55922         (__sub): Likewise.
55923         (__mul): Likewise.
55924         (__inv): Likewise.
55925         (__dvd): Likewise.
55926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
55927         (norm): Likewise.
55928         (denorm): Likewise.
55929         (dbl_mp): Likewise.
55930         (sub_magnitudes): Likewise.
55931         (__add): Likewise.
55932         (__sub): Likewise.
55933         (__mul): Likewise.
55934         (__inv): Likewise.
55935         (__dvd): Likewise.
55937         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
55938         instead of __mul.
55939         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55940         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
55941         (cc32): Likewise.
55943         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
55944         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
55945         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
55946         of __mul for squares.
55947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
55948         function
55949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
55950         Likewise.
55951         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
55952         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55954 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
55956         [BZ #13550]
55957         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
55958         code.
55959         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
55960         prototype or function definition.  Rename ubp_* variables and
55961         parameters.  Remove argv definitions conditional on
55962         [__BOUNDED_POINTERS__].
55963         * debug/backtrace.c (__backtrace): Do not use __unbounded.
55964         * elf/dl-runtime.c (_dl_fixup): Likewise.
55965         * include/set-hooks.h (RUN_HOOK): Likewise.
55966         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
55967         definition.
55968         * string/strcpy.c (strcpy): Do not use __unbounded.
55969         * sysdeps/generic/frame.h (struct layout): Likewise.
55970         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
55971         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
55972         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
55973         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
55974         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
55975         (__backtrace): Likewise.
55976         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
55977         use __ptrvalue.
55978         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
55979         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
55980         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
55981         Likewise.
55982         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
55983         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
55984         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
55985         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
55986         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
55987         Do not use __unbounded.
55988         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
55989         Rename __unboundedrlimits parameter to rlimits in prototype.
55990         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
55991         Do not use __unbounded.
55992         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
55993         not use __ptrvalue.
55994         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
55995         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
55996         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
55997         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
55998         __ptrvalue or __unbounded.
55999         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56000         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56001         use __unbounded.
56002         (__new_msgctl): Do not use __ptrvalue.
56003         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
56004         __unbounded.
56005         (__libc_msgrcv): Do not use __ptrvalue.
56006         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
56007         startup_info): Do not use __unbounded.
56008         (__libc_start_main): Likewise.  Rename ubp_* variables and
56009         parameters.  Remove argv definitions conditional on
56010         [__BOUNDED_POINTERS__].
56011         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56012         __ptrvalue.
56013         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56014         use __unbounded.
56015         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56016         or __ptrvalue.
56017         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56018         use __unbounded.
56019         (__new_shmctl): Do not use __ptrvalue.
56020         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56021         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56022         Likewise.
56023         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56024         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56025         (__libc_sigaction): Likewise.
56026         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56027         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56028         Likewise.
56029         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56031 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56033         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56035         * string/mempcpy.c: Implement by calling memcpy.
56037 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56039         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56041         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56042         evaluation.
56044         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56045         values in the mantissa.
56047         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56048         minimize writes to Z.
56049         (sub_magnitudes): Simplify code a bit.
56051 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56053         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56054         from the message.  The linker prefixes all warnings with that already.
56056 2013-02-12  Andreas Schwab  <schwab@suse.de>
56058         [BZ #15078]
56059         * posix/regexec.c (extend_buffers): Add parameter min_len.
56060         (check_matching): Pass minimum needed length.
56061         (clean_state_log_if_needed): Likewise.
56062         (get_subexp): Likewise.
56063         * posix/Makefile (tests): Add bug-regex34.
56064         (bug-regex34-ENV): Define.
56065         * posix/bug-regex34.c: New file.
56067         [BZ #11561]
56068         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56069         elements compare against the byte sequence of it, not its name.
56070         * posix/Makefile (tests): Add bug-regex35.
56071         (bug-regex35-ENV): Define.
56072         * posix/bug-regex35.c: New file.
56074 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56076         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56077         comment.
56078         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56079         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56080         (CHECK_EOL): Add undef.
56082 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56084         * bits/stdlib-bsearch.h: New file.
56085         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56086         * stdlib/stdlib.h: Likewise.
56088 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56090         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56091         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56092         declaration.
56093         * manual/search.texi (Array Search Function): Add missing const in
56094         lfind prototype.
56095         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56096         declaration to use rlim_t.
56097         (Basic Scheduling Functions): Remove erroneous const from
56098         sched_getparam prototype.  Remove erroneous * from
56099         sched_get_priority_max and sched_get_priority_min prototypes.
56100         (Resource Usage): Fix summary @comment on vtimes to refer to
56101         sys/vtimes.h rather than vtimes.h.
56102         Add missing *s in vtimes prototype.
56103         (Limits on Resources): Fix ulimit prototype to return long int.
56104         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56105         prototypes to use long int rather than double.
56106         (BSD Random): Fix initstate and setstate to use char *, not void *.
56107         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56108         prototype to make second argument 'struct aiocb64 *const[]'.
56109         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56110         (Status of AIO Operations): Remove erroneous const in aio_return and
56111         aio_return64 prototypes.
56112         (Synchronizing I/O): Fix sync prototype to return void.
56113         * manual/startup.texi (Suboptions): Remove an erroneous const in
56114         getsubopt prototype.
56115         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56116         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56117         use size_t rather than int.
56118         (Scanning All Users): Likewise for getpwent_r.
56119         (Setting Groups): Add missing const to setgroups prototype.
56120         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56121         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56122         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56123         'const void *' rather than 'const char *'.
56124         (Host Address Functions): Likewise for inet_ntop.
56125         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56126         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56127         ssize_t for return value.
56128         (Sending Data): Likewise for send, sendto, sendmsg.
56129         (Socket Option Functions): Add a missing const in setsockopt prototype.
56130         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56131         use wchar_t for the argument.
56132         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56133         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56134         take no arguments.
56135         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56136         double/float/long double for second argument.
56137         Fix return types of significand, significandf, significandl.
56138         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56139         argument in fchmod prototype.
56140         (File Owner): Use uid_t and gid_t in fchown prototype.
56141         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56142         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56143         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56144         use 'const struct dirent **' as argument types to CMP function pointer
56145         argument.
56146         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56147         (File Times): Fix summary magic @comment for struct utimbuf and utime
56148         to refer to utime.h, not time.h.
56149         * manual/string.texi (Argz Functions): Add missing const in
56150         argz_extract and argz_next prototypes.
56151         (Finding Tokens in a String): Likewise for basename.
56152         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56153         (Copying and Concatenation): Fix typo in wmemmove prototype.
56154         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56155         (Signal Stack): Remove erroneous const in sigstack prototype.
56156         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56157         prototype.
56158         (Simple Calendar Time): Likewise for stime.
56159         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56160         prototype.
56161         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56162         say sys/sysctl.h instead.
56163         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56164         and vsyslog prototypes.
56166 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56168         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56169         Remove.
56171 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56173         * misc/sys/mman.h: Fix typo in mremap comment.
56175 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56177         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56178         the '\0' terminator.
56180 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56182         [BZ #13550]
56183         * debug/segfault.c: Don't include <bp-checks.h>.
56184         * sysdeps/generic/bp-checks.h: Remove file.
56185         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56186         (__GETDENTS): Don't use CHECK_N.
56187         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56188         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56189         (__getgroups): Don't use CHECK_N.
56190         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56191         (setgroups): Don't use CHECK_N.
56192         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56193         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56194         (__libc_msgrcv): Don't use CHECK_N.
56195         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56196         (__libc_msgsnd): Don't use CHECK_N.
56197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56198         <bp-checks.h>.
56199         (__libc_pread): Don't use CHECK_N.
56200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56201         include <bp-checks.h>.
56202         (__libc_pread64): Don't use CHECK_N.
56203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56204         include <bp-checks.h>.
56205         (__libc_pwrite): Don't use CHECK_N.
56206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56207         include <bp-checks.h>.
56208         (__libc_pwrite64): Don't use CHECK_N.
56209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56210         <bp-checks.h>.
56211         (__libc_pread): Don't use CHECK_N.
56212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56213         include <bp-checks.h>.
56214         (__libc_pread64): Don't use CHECK_N.
56215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56216         include <bp-checks.h>.
56217         (__libc_pwrite): Don't use CHECK_N.
56218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56219         include <bp-checks.h>.
56220         (__libc_pwrite64): Don't use CHECK_N.
56221         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56222         (do_pread): Don't use CHECK_N.
56223         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56224         (do_pread64): Don't use CHECK_N.
56225         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56226         (do_pwrite): Don't use CHECK_N.
56227         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56228         (do_pwrite64): Don't use CHECK_N.
56229         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56230         (__libc_readv): Don't use CHECK_N.
56231         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56232         (semop): Don't use CHECK_N.
56233         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56234         <bp-checks.h>.
56235         (semtimedop): Don't use CHECK_N.
56236         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56237         (__libc_pread): Don't use CHECK_N.
56238         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56239         <bp-checks.h>.
56240         (__libc_pread64): Don't use CHECK_N.
56241         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56242         <bp-checks.h>.
56243         (__libc_pwrite): Don't use CHECK_N.
56244         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56245         <bp-checks.h>.
56246         (__libc_pwrite64): Don't use CHECK_N.
56247         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56248         <bp-checks.h>.
56249         (__libc_msgrcv): Don't use CHECK_N.
56250         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56251         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56252         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56253         (__libc_writev): Don't use CHECK_N.
56255 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56257         * string/strcpy.c: Removed unused variable.
56259         * Makeconfig (+sysdep-includes): Define with := rather than =.
56260         Use an existing include/ subdir of each sysdeps dir before it.
56262 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56264         * nscd/connection.c (register_traced_file): Comment function.
56265         [HAVE_INOTIFY] (union __inev): Define.
56266         [HAVE_INOTIFY] (inotify_check_files): New function.
56267         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56268         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56269         clear_db_cache.
56270         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56272 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56274         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56275         loaded if not already and that a failure is permanent.
56277 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56279         [BZ #15006]
56280         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56281         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56283 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56285         [BZ #13550]
56286         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56287         (CHECK_1_NULL_OK): Likewise.
56288         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56289         (__fxstat): Do not use CHECK_1.
56290         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56291         <bp-checks.h>.
56292         (___fxstat64): Do not use CHECK_1.
56293         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56294         <bp-checks.h>.
56295         (__fxstatat): Do not use CHECK_1.
56296         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56297         <bp-checks.h>.
56298         (__fxstatat64): Do not use CHECK_1.
56299         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56300         <bp-checks.h>.
56301         (__fxstat): Do not use CHECK_1.
56302         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56303         <bp-checks.h>.
56304         (__fxstatat): Do not use CHECK_1.
56305         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56306         <bp-checks.h>.
56307         (__getresgid): Do not use CHECK_1.
56308         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56309         <bp-checks.h>.
56310         (__getresuid): Do not use CHECK_1.
56311         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56312         <bp-checks.h>.
56313         (__lxstat): Do not use CHECK_1.
56314         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56315         <bp-checks.h>.
56316         (__old_msgctl): Do not use CHECK_1.
56317         (__new_msgctl): Likewise.
56318         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56319         <bp-checks.h>.
56320         (__new_setrlimit): Do not use CHECK_1.
56321         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56322         <bp-checks.h>.
56323         (__old_shmctl): Do not use CHECK_1.
56324         (__new_shmctl): Likewise.
56325         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56326         <bp-checks.h>.
56327         (__xstat): Do not use CHECK_1.
56328         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56329         (__lxstat): Do not use CHECK_1.
56330         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56331         <bp-checks.h>.
56332         (___lxstat64): Do not use CHECK_1.
56333         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56334         (__old_msgctl): Do not use CHECK_1.
56335         (__new_msgctl): Likewise.
56336         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56337         <bp-checks.h>.
56338         (__gettimeofday): Do not use CHECK_1.
56339         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56340         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56341         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56342         <bp-checks.h>.
56343         (__gettimeofday): Do not use CHECK_1.
56344         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56345         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56346         (__new_shmctl): Do not use CHECK_1.
56347         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56348         <bp-checks.h>.
56349         (do_sigtimedwait): Do not use CHECK_1.
56350         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56351         <bp-checks.h>.
56352         (do_sigwaitinfo): Do not use CHECK_1.
56353         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56354         <bp-checks.h>.
56355         (msgctl): Do not use CHECK_1.
56356         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56357         <bp-checks.h>.
56358         (shmctl): Do not use CHECK_1.
56359         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56360         (ustat): Do not use CHECK_1.
56361         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56362         <bp-checks.h>.
56363         (__fxstat): Do not use CHECK_1.
56364         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56365         <bp-checks.h>.
56366         (__fxstatat): Do not use CHECK_1.
56367         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56368         <bp-checks.h>.
56369         (__lxstat): Do not use CHECK_1.
56370         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56371         <bp-checks.h>.
56372         (__xstat): Do not use CHECK_1.
56373         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56374         (__xstat): Do not use CHECK_1.
56375         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56376         (___xstat64): Do not use CHECK_1.
56378         [BZ #13550]
56379         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56380         definitions.
56381         (CHECK_BOUNDS_HIGH): Likewise.
56382         * string/strcpy.c: Do not include <bp-checks.h>.
56383         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56385 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56387         * nscd/nscd-client.h (__nscd_drop_map_ref):
56388         Add __attribute__ ((unused)).
56389         * nis/nss-nisplus.h (niserr2nss): Likewise.
56391         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56392         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56394         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56395         Remove inline keyword.
56396         * include/rounding-mode.h (round_away): Likewise.
56397         * libio/wfileops.c (adjust_wide_data): Likewise.
56398         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56399         (__m128i_strloadu_tolower): Likewise.
56400         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56401         (__m128i_strloadu_tolower): Likewise.
56402         * time/mktime.c (ydhms_diff): Likewise.
56403         * locale/elem-hash.h (elem_hash): Likewise.
56404         * locale/setlocale.c (setdata): Likewise.
56405         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56406         (re_string_wchar_at): Likewise.
56407         (bitset_not, bitset_merge, bitset_mask): Likewise.
56408         [!(__GNUC__ > 3)] (inline): Remove macro.
56409         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56410         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56411         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56412         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56413         * string/memcmp.c (memcmp_bytes): Likewise.
56414         * locale/programs/locarchive.c (compute_hashval): Likewise.
56415         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56416         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56417         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56418         * nss/getent.c (print_rpc, print_protocols): Likewise.
56419         (print_passwd, print_group, print_aliases): Likewise.
56420         * nis/nss-nisplus.h (niserr2nss): Likewise.
56421         * nscd/connections.c (restart_p): Likewise.
56422         Change return type to bool.
56424 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56426         * Makeconfig (all-Depend-files): Add existing
56427         $(sorted-subdirs:=/Depend) files.
56428         (all-subdirs): Remove nss.
56429         * sysdeps/unix/inet/Subdirs: Add it here instead.
56430         * hesiod/Depend: New file.
56432         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56433         instead of calling alloca.
56435         * io/lseek.c (__lseek): Rename to __libc_lseek.
56436         Define __lseek as an alias.
56438         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56440 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56442         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56443         else clause and remove check for non-standard endianness.
56445 2013-02-04  David S. Miller  <davem@davemloft.net>
56447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56449 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56451         [BZ #13550]
56452         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56453         (__ubp_memchr): Remove prototype.
56454         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56455         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56456         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56457         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56458         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56459         Remove alias.
56460         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56461         (__ubp_memchr): Likewise.
56462         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56463         (__ubp_memchr): Likewise.
56464         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56465         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56466         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56467         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56468         CHECK_STRING.
56469         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56470         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56471         (__getcwd): Do not use CHECK_STRING.
56472         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56473         <bp-checks.h>.
56474         (__real_chown): Do not use CHECK_STRING.
56475         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56476         <bp-checks.h>.
56477         (fchownat): Do not use CHECK_STRING.
56478         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56479         CHECK_STRING.
56480         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56481         <bp-checks.h>.
56482         (__lchown): Do not use CHECK_STRING.
56483         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56484         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56485         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56486         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56488         include <bp-checks.h>.
56489         (truncate64): Do not use CHECK_STRING.
56490         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56491         <bp-checks.h>.
56492         (__real_chown): Do not use CHECK_STRING.
56493         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56494         <bp-checks.h>.
56495         (__lchown): Do not use CHECK_STRING.
56496         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56497         <bp-checks.h>.
56498         (__chown): Do not use CHECK_STRING.
56499         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56500         <bp-checks.h>.
56501         (truncate64): Do not use CHECK_STRING.
56502         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56503         Likewise.
56504         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56505         (__xmknod): Do not use CHECK_STRING.
56506         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56507         <bp-checks.h>.
56508         (__xmknodat): Do not use CHECK_STRING.
56509         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56510         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56512 2013-02-04  Andreas Schwab  <schwab@suse.de>
56514         [BZ #14142]
56515         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56516         * include/netdb.h: Likewise for h_errno.
56517         * elf/tst-stackguard1.c: Include <tls.h>.
56519 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56521         * elf/link.h (struct link_map): Extend the l_addr comment.
56522         * include/link.h (struct link_map): Likewise.
56524 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56526         [BZ #13550]
56527         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56528         (BOUNDED_1): Remove macro.
56529         * debug/backtrace.c: Don't include <bp-checks.h>.
56530         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56531         (__backtrace): Likewise.
56532         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
56533         <bp-checks.h>.
56534         (__backtrace): Don't use BOUNDED_1.
56535         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
56536         <bp-checks.h>.
56537         (__backtrace): Don't use BOUNDED_1.
56538         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
56539         (__backtrace): Don't use BOUNDED_1.
56540         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
56541         (shmat): Don't use BOUNDED_N.
56543 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
56545         [BZ #13550]
56546         * sysdeps/generic/bp-start.h: Remove file.
56547         * csu/libc-start.c: Don't include <bp-start.h>.
56548         (LIBC_START_MAIN): Set up __environ directly instead of using
56549         INIT_ARGV_and_ENVIRON.
56550         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
56551         <bp-start.h>.
56553         [BZ #13550]
56554         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
56555         definitions.
56556         (CHECK_FCNTL): Likewise.
56557         (CHECK_N_PAGES): Likewise.
56559         [BZ #13550]
56560         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
56561         definitions.
56562         (CHECK_SIGSET_NULL_OK): Likewise.
56563         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
56564         <bp-checks.h>.
56565         (sigpending): Don't use CHECK_SIGSET.
56566         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
56567         <bp-checks.h>.
56568         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56569         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
56570         <bp-checks.h>.
56571         (do_sigsuspend): Don't use CHECK_SIGSET.
56572         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
56573         use CHECK_SIGSET.
56574         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
56575         (do_sigwait): Don't use CHECK_SIGSET.
56576         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
56577         use CHECK_SIGSET.
56578         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
56579         include <bp-checks.h>.
56580         (sigpending): Don't use CHECK_SIGSET.
56581         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
56582         include <bp-checks.h>.
56583         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56584         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
56585         <bp-checks.h>.
56586         (sigpending): Don't use CHECK_SIGSET.
56587         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
56588         <bp-checks.h>.
56589         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
56591         [BZ #13550]
56592         * sysdeps/generic/bp-semctl.h: Remove file.
56593         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
56594         <bp-checks.h> and <bp-semctl.h>.
56595         (__old_semctl): Don't use CHECK_SEMCTL.
56596         (__new_semctl): Likewise.
56597         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
56598         and <bp-semctl.h>.
56599         (__old_semctl): Don't use CHECK_SEMCTL.
56600         (__new_semctl): Likewise.
56601         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
56602         <bp-checks.h> and <bp-semctl.h>.
56603         (__old_semctl): Don't use CHECK_SEMCTL.
56604         (__new_semctl): Likewise.
56605         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
56606         <bp-checks.h> and <bp-semctl.h>.
56607         (semctl): Don't use CHECK_SEMCTL.
56609         [BZ #13550]
56610         * Makerules (elide-bp-thunks): Remove variable.
56611         (elide-routines.oS): Don't use $(elide-bp-thunks).
56612         (elide-routines.os): Likewise.
56613         (elide-routines.o): Likewise.
56614         (elide-routines.op): Likewise.
56615         (elide-routines.og): Likewise.
56616         (objects): Don't use $(bp-thunks).
56617         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
56618         include.
56619         (common-generated): Do not add s-proto-bp.d.
56620         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
56621         (int): Likewise.
56622         (typ): Likewise.
56623         Do not generate makefile rules for bounded-pointer thunks.
56624         * sysdeps/generic/bp-thunks.h: Remove file.
56625         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
56626         * sysdeps/unix/s-proto-bp.S: Likewise.
56628         [BZ #15062]
56629         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
56630         parts of result separately when argument is not close to line from
56631         -i to i and one part of argument is small.
56632         * math/k_casinhf.c (__kernel_casinhf): Likewise.
56633         * math/k_casinhl.c (__kernel_casinhl): Likewise.
56634         * math/libm-test.inc (cacos_test): Add more tests.
56635         (casin_test): Likewise.
56636         (casinh_test): Likewise.
56637         * sysdeps/i386/fpu/libm-test-ulps: Update.
56638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56640 2013-01-31  David S. Miller  <davem@davemloft.net>
56642         * po/de.po: Update from translation team.
56644 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
56646         * time/tzfile.c: Include stdint.h for SIZE_MAX.
56648 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
56650         * configure.in (_AC_PROG_CC_C89): New definition.
56651         * configure: Regenerate.
56653         * configure.in (AC_PROG_CPP): New definition.
56654         * configure: Regenerate.
56656 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56658         * debug/tst-backtrace.h: New file.
56659         * debug/tst-backtrace2.c: Include tst-backtrace.h.
56660         (ret): Remove variable.
56661         (x): Likewise.
56662         (FAIL): Remove macro.
56663         (NO_INLINE): Likewise.
56664         (fn1): Use match function instead of strstr.
56665         * debug/tst-backtrace3.c: Include tst-backtrace.h.
56666         (ret): Remove variable.
56667         (x): Likewise.
56668         (FAIL): Remove macro.
56669         (NO_INLINE): Likewise.
56670         (fn): Use match function instead of strstr.
56671         * debug/tst-backtrace4.c: Include tst-backtrace.h.
56672         (ret): Remove variable.
56673         (x): Likewise.
56674         (FAIL): Remove macro.
56675         (NO_INLINE): Likewise.
56676         (handle_signal): Use match function instead of strstr.
56677         * debug/tst-backtrace5.c: Include tst-backtrace.h.
56678         (ret): Remove variable.
56679         (x): Likewise.
56680         (FAIL): Remove macro.
56681         (NO_INLINE): Likewise.
56682         (handle_signal): Use match function instead of strstr.
56684 2013-01-23  Roland McGrath  <roland@hack.frob.com>
56686         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
56688 2013-01-23  David S. Miller  <davem@davemloft.net>
56690         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
56691         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
56692         argument of CAS if possible.
56693         * sysdeps/sparc/sparc64/bits/atomic.h
56694         (__arch_compare_and_exchange_val_32_acq): Likewise.
56695         (__arch_compare_and_exchange_val_64_acq): Likewise.
56697 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
56699         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
56700         * sysdeps/posix/ulimit.c: ... this.
56701         Include <limits.h>.
56702         * sysdeps/unix/bsd/ulimit.c: Remove file.
56704 2013-01-23  Adam Conrad  <adconrad@0c3.net>
56706         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
56707         (LDFLAGS-tst-array5): Likewise.
56709 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
56711         [BZ #15036]
56712         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
56713         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
56714         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
56715         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
56717 2013-01-21  David S. Miller  <davem@davemloft.net>
56719         * sysdeps/sparc/backtrace.c: New file.
56720         * sysdeps/sparc/sparc32/backtrace.h: New file.
56721         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
56722         * sysdeps/sparc/sparc64/backtrace.h: New file.
56723         * sysdeps/sparc/sparc64/backtrace.c: Delete.
56724         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
56725         -funwind-tables.
56727 2013-01-21  Andreas Schwab  <schwab@suse.de>
56729         [BZ #15020]
56730         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
56731         closed its stdout.
56733 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
56735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
56736         "mpa2.h".
56737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56739 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
56740             Mark Mitchell  <mark@codesourcery.com>
56741             Tom de Vries  <tom@codesourcery.com>
56742             Paul Pluzhnikov  <ppluzhnikov@google.com>
56744         * debug/tst-backtrace2.c: New file.
56745         * debug/tst-backtrace3.c: Likewise.
56746         * debug/tst-backtrace4.c: Likewise.
56747         * debug/tst-backtrace5.c: Likewise.
56748         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
56749         (CFLAGS-tst-backtrace3.c): Likewise.
56750         (CFLAGS-tst-backtrace4.c): Likewise.
56751         (CFLAGS-tst-backtrace5.c): Likewise.
56752         (LDFLAGS-tst-backtrace2): Likewise.
56753         (LDFLAGS-tst-backtrace3): Likewise.
56754         (LDFLAGS-tst-backtrace4): Likewise.
56755         (LDFLAGS-tst-backtrace5): Likewise.
56756         (tests): Add new tests tst-backtrace2, tst-backtrace3,
56757         tst-backtrace4 and tst-backtrace5.
56759 2013-01-18  Anton Blanchard  <anton@samba.org>
56760             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56762         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
56763         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
56764         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
56765         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
56766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56767         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
56768         "+r" and remove output regs list as redundant.  Add explicit inline
56769         asm to specify register of return val to work around compiler codegen
56770         bug.  Remove (int) cast on return value.  Add return type parameter to
56771         use in macro so that this macro does not truncate return value for
56772         64-bit values.
56773         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
56774         pass to INTERNAL_VSYSCALL_NCS.
56775         (INLINE_VSYSCALL): Add 'long int' as return type to
56776         INTERNAL_VSYSCALL_NCS macro invocation.
56777         (INTERNAL_VSYSCALL): Add 'long int' as return type to
56778         INTERNAL_VSYSCALL_NCS macro invocation.
56779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56781 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56783         [BZ #14496]
56784         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
56785         Fix application of SIMD FP exception mask.
56787         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
56788         mp_no from a power of two.
56789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
56790         __mpexp_twomm1.  Use __pow_mp.
56792         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
56793         multiplication.
56795 2013-01-17  David S. Miller  <davem@davemloft.net>
56797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56799 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56801         [BZ #15023]
56802         * include/complex.h: Condition contents on [!_COMPLEX_H].
56803         (__kernel_casinhf): New prototype.
56804         (__kernel_casinh): Likewise.
56805         (__kernel_casinhl): Likewise.
56806         * math/Makefile (libm_calls): Add k_casinh.
56807         * math/k_casinh.c: New file.
56808         * math/k_casinhf.c: Likewise.
56809         * math/k_casinhl.c: Likewise.
56810         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
56811         finite nonzero arguments.
56812         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
56813         finite nonzero arguments.
56814         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
56815         finite nonzero arguments.
56816         * math/s_casinh.c: Do not include <float.h>.
56817         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
56818         * math/s_casinhf.c: Do not include <float.h>.
56819         (__casinhf): Move code for finite nonzero arguments to
56820         k_casinhf.c.
56821         * math/s_casinhl.c: Do not include <float.h>.
56822         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
56823         redefine.
56824         (__casinhl): Move code for finite nonzero arguments to
56825         k_casinhl.c.
56826         * math/libm-test.inc (cacos_test): Add more tests.
56827         * sysdeps/i386/fpu/libm-test-ulps: Update.
56828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56830 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
56832         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
56833         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
56834         [!HAVE_MREMAP]: Remove [defined linux] case.
56835         * malloc/arena.c: Do not include <malloc-sysdep.h>.
56837 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56839         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
56841 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
56843         * elf/elf.h (R_386_SIZE32): New relocation.
56844         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
56845         R_386_SIZE32.
56846         (elf_machine_rela): Likewise.
56847         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
56848         R_X86_64_SIZE64 and R_X86_64_SIZE32.
56850 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
56852         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
56853         (FP_FAST_FMA): Do not define.
56854         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
56855         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
56856         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
56857         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
56858         !_SOFT_FLOAT]: Likewise.
56859         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
56860         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
56861         value.
56862         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
56863         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
56864         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
56865         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
56866         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
56867         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
56868         file.
56870 2013-01-16  Andreas Schwab  <schwab@suse.de>
56872         [BZ #14327]
56873         * include/stdlib.h (__mktemp): Add declaration.
56874         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
56875         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
56877 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56879         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
56880         definitions.
56881         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56882         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
56883         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
56884         definitions here.
56885         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
56886         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
56887         definitions.
56888         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
56889         and ONE.
56890         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
56891         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
56892         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
56893         definitions.
56894         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
56895         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
56896         definitions.
56897         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56899         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
56901 2013-01-15  David S. Miller  <davem@davemloft.net>
56903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56904         trunc{,f} to libm-sysdep_routes.
56905         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
56907         file.
56908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
56909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
56910         file.
56911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
56912         file.
56913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
56914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
56915         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
56916         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
56917         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
56918         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
56919         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
56920         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
56922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56923         nearbyint{,f} to libm-sysdep_routes.
56924         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
56926         New file.
56927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
56928         file.
56929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
56930         New file.
56931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
56932         file.
56933         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
56934         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
56935         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
56936         file.
56937         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
56938         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
56939         file.
56940         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
56941         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
56942         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
56944         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56945         libc_feholdexcept and libc_fesetenv.
56947 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
56949         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
56951 2013-01-14  David S. Miller  <davem@davemloft.net>
56953         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
56954         (SPARC_ASM_VIS2_IFUNC): Likewise.
56955         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
56956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
56957         use of 'siam' instruction.
56958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
56959         Likewise.
56960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
56961         Likewise.
56962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
56963         Likewise.
56964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
56965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
56966         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
56967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
56968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
56969         file.
56970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
56971         file.
56972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
56973         file.
56974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
56975         file.
56976         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
56977         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
56978         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
56979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
56980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
56981         new VIS2 routines.
56982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56985         Likewise.
56986         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56987         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56988         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56989         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
56991         routines to libm-sysdep_routines.
56992         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
56994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
56995         fdim/fdimf to libm-sysdep_routines.
56996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
56997         file.
56998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
56999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57000         file.
57001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
57002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
57003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
57004         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
57005         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
57006         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
57007         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57009 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57011         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57012         to optimize copies.
57014         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57015         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57016         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57018         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57019         local variable MPTWO.
57020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57021         Likewise.
57023 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57025         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57026         GLOB_NOESCAPE.
57028 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57030         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57032 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57034         * manual/pattern.texi (glob_t): Document gl_flags.
57035         (glob64_t): Likewise.
57037 2013-01-11  David S. Miller  <davem@davemloft.net>
57039         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57040         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57041         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57042         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57043         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57044         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57045         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57046         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57047         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57048         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57049         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57050         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57051         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57053         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57054         sparc V9 rather than using V8 code.
57055         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57056         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57058         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57059         Move to...
57060         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57061         Here.
57063 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57065         [BZ #14941]
57066         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57067         not in the main loop.
57068         * configure: Regenerated.
57070 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57072         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57073         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57074         to just #else.
57075         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57076         [!__GLIBC_HAVE_LONG_LONG] case.
57077         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57078         condition to just #else.
57079         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57080         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57081         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57082         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57083         unconditional.
57084         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57085         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57086         #elif condition to just #else.
57087         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57088         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57089         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57090         #elif condition to just #else.
57092 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57094         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57095         (EF_MIPS_ARCH_64): Fix value.
57096         (EF_MIPS_ARCH_32R2): New.
57097         (EF_MIPS_ARCH_64R2): New.
57099 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57101         * Makeconfig (+link-pie-before-libc): New.
57102         (+link-pie-after-libc): Likewise.
57103         (+link-pie-tests): Likewise.
57104         (+link-pie): Rewritten.
57105         (link-before-libc): Remove $(config-LDFLAGS).
57106         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57107         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57108         (config-LDFLAGS): Renamed to ...
57109         (rtld-LDFLAGS): This.
57110         (rtld-tests-LDFLAGS): New macro.
57111         (link-libc-rpath-link): Likewise.
57112         (link-libc-tests-rpath-link): Likewise.
57113         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57114         (link-libc): Prepand $(link-libc-rpath-link).
57115         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57116         (test-program-prefix): New macro.
57117         (test-via-rtld-prefix): Likewise.
57118         (test-program-cmd): Likewise.
57119         (host-test-program-cmd): Likewise.
57120         * Makefile ($(common-objpfx)testrun.sh): Replace
57121         $(run-program-prefix) with $(test-program-prefix).
57122         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57123         $(rtld-LDFLAGS).
57124         ($(common-objpfx)shlib.lds): Likewise.
57125         (build-module-helper): Likewise.
57126         ($(common-objpfx)format.lds): Likewise.
57127         * Rules (binaries-pie-tests): New.
57128         (binaries-pie-notests): Likewise.
57129         (binaries-pie): Rewritten.
57130         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57131         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57132         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57133         (make-test-out): Replace $(host-built-program-cmd) with
57134         $(host-test-program-cmd).
57135         * config.make.in (build-hardcoded-path-in-tests): New variable.
57136         * configure.in (--enable-hardcoded-path-in-tests): New configure
57137         option.
57138         (hardcoded_path_in_tests): New AC_SUBST.
57139         * configure: Regenerated.
57140         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57141         $(built-program-cmd) with $(test-program-cmd).
57142         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57143         (test_program_cmd): This.
57144         * elf/Makefile ($(objpfx)order.out): Run test with
57145         $(test-program-prefix).
57146         ($(objpfx)order2.out): Likewise.
57147         ($(objpfx)tst-initorder.out): Likewise.
57148         ($(objpfx)tst-initorder2.out): Likewise.
57149         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57150         $(test-program-cmd).
57151         ($(objpfx)tst-array1-static.out): Likewise.
57152         ($(objpfx)tst-array2.out): Likewise.
57153         ($(objpfx)tst-array3.out): Likewise.
57154         ($(objpfx)tst-array4.out): Likewise.
57155         ($(objpfx)tst-array5.out): Likewise.
57156         ($(objpfx)tst-array5-static.out): Likewise.
57157         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57158         $(test-program-cmd).
57159         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57160         $(run-program-prefix) with $(test-program-prefix).
57161         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57162         (test_program_prefix): This.
57163         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57164         $(run-program-prefix) with $(test-program-prefix).
57165         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57166         (test_program_prefix): This.
57167         * iconvdata/tst-tables.sh: Likewise.
57168         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57169         $(run-program-prefix) with $(test-program-prefix).
57170         ($(objpfx)tst-translit.out): Likewise.
57171         ($(objpfx)tst-gettext2.out): Likewise.
57172         ($(objpfx)tst-gettext4.out): Likewise.
57173         ($(objpfx)tst-gettext6.out): Likewise.
57174         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57175         (test_program_prefix): This.
57176         * intl/tst-gettext2.sh: Likewise.
57177         * intl/tst-gettext4.sh  Likewise.
57178         * intl/tst-gettext6.sh: Likewise.
57179         * intl/tst-translit.sh: Likewise.
57180         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57181         with $(test-program-cmd).
57182         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57183         $(run-program-prefix) with $(test-program-prefix).
57184         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57185         (test_program_prefix): This.
57186         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57187         $(run-program-prefix) with $(test-program-prefix).
57188         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57189         (test_program_prefix): This.
57190         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57191         * posix/Makefile ($(objpfx)globtest.out): Replace
57192         $(run-via-rtld-prefix) and $(test-wrapper) with
57193         $(test-program-prefix) and $(test-via-rtld-prefix).
57194         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57195         $(test-program-prefix).
57196         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57197         $(host-test-program-cmd).
57198         (tst-spawn-ARGS): Likewise.
57199         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57200         $(test-program-prefix).
57201         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57202         (test_via_rtld_prefix): This.
57203         (test_wrapper): Renamed to ...
57204         (test_program_prefix): This.
57205         (run_program_prefix): Replaced by test_program_prefix.
57206         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57207         (test_program_prefix): This.
57208         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57209         with $(host-test-program-cmd).
57210         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57211         $(run-program-prefix) with $(test-program-prefix).
57212         ($(objpfx)tst-printf.out): Likewise.
57213         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57214         $(test-program-cmd).
57215         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57216         (test_program_prefix): This.
57217         * stdio-common/tst-unbputc.sh: Likewise.
57218         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57219         $(run-program-prefix) with $(test-program-prefix).
57220         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57221         (test_program_prefix): This.
57222         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57223         $(built-program-cmd) with $(test-program-cmd).
57225 2013-01-11  Andreas Jaeger  <aj@suse.de>
57227         [BZ #15003]
57228         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57229         value. Sync with Linux 3.7.
57231 2013-01-10  David S. Miller  <davem@davemloft.net>
57233         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57234         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57235         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57237 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57239         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57240         never set.
57241         * configure: Regenerated.
57243 2013-01-10  David S. Miller  <davem@davemloft.net>
57245         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57246         sparc V9 rather than using V8 code.
57247         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57248         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57250 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57252         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57253         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57254         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57255         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57256         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57257         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57258         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57259         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57260         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57261         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57262         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57263         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57264         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57265         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57266         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57267         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57268         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57269         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57270         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57271         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57272         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57273         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57274         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57275         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57276         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57277         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57278         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57280 2013-01-10  David S. Miller  <davem@davemloft.net>
57282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57284 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57286         * posix/Makefile (tests-static): New variable.
57287         (tests): Add $(tests-static).
57288         (tst-exec-static-ARGS): New variable.
57289         (tst-spawn-static-ARGS): Likewise.
57290         * posix/tst-exec-static.c: New file.
57291         * posix/tst-spawn-static.c: Likewise.
57292         * posix/tst-exec.c: Support run directly.
57293         * posix/tst-spawn.c: Likewise.
57295 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57297         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57298         long.
57299         * math/bits/mathcalls.h (llrint): Likewise.
57300         (llround): Likewise.
57301         * stdlib/stdlib.h (struct drand48_data): Likewise.
57302         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57303         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57304         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57305         Likewise.
57306         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57307         Likewise.
57308         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57309         (elf_greg_t): Likewise.
57310         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57311         (__jmp_buf): Likewise.
57312         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57313         definitions.
57314         (llrint): Likewise, for all definitions.
57315         (llrintl): Likewise.
57317         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57318         Remove [__GNUC__] condition.
57319         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57320         condition to just [__USE_ISOC99].
57321         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57323 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57325         [BZ #14200]
57326         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57327         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57328         defined.
57329         (_POSIX_V6_ILP32_OFF32): Likewise.
57330         (_XBS5_ILP32_OFF32): Likewise.
57331         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57332         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57334 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57336         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57338         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57339         doubles __mpexp_twomm1.  Adjust usage.
57340         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57341         Remove.
57343 2013-01-10  Andreas Schwab  <schwab@suse.de>
57345         [BZ #14964]
57346         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57347         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57349 2013-01-09  David S. Miller  <davem@davemloft.net>
57351         [BZ #15003]
57352         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57353         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57354         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57355         (TCP_FASTOPEN): Define.
57356         (tcp_repair_opt): New structure.
57357         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57358         enum values.
57359         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57360         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57361         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57362         (tcp_cookie_transactions): New structure.
57364 2013-01-09  Anton Blanchard  <anton@samba.org>
57366         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57367         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57368         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57369         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57371 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57373         * include/features.h (__USE_ANSI): Remove.
57375 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57377         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57379         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57381 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57383         * sysdeps/s390/fpu/libm-test-ulps: Update.
57385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57387         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57388         (__acr): Likewise.
57389         (__cpy): Likewise.
57390         (norm): Likewise.
57391         (denorm): Likewise.
57392         (__mp_dbl): Likewise.
57393         (__dbl_mp): Likewise.
57394         (add_magnitudes): Likewise.
57395         (sub_magnitudes): Likewise.
57396         (__add): Likewise.
57397         (__sub): Likewise.
57398         (__mul): Likewise.
57399         (__inv): Likewise.
57400         (__dvd): Likewise.
57401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57402         (__acr): Likewise.
57403         (__cpy): Likewise.
57404         (norm): Likewise.
57405         (denorm): Likewise.
57406         (__mp_dbl): Likewise.
57407         (__dbl_mp): Likewise.
57408         (add_magnitudes): Likewise.
57409         (sub_magnitudes): Likewise.
57410         (__add): Likewise.
57411         (__sub): Likewise.
57412         (__mul): Likewise.
57413         (__inv): Likewise.
57414         (__dvd): Likewise.
57415         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57416         (__acr): Likewise.
57417         (__cpy): Likewise.
57418         (norm): Likewise.
57419         (denorm): Likewise.
57420         (__mp_dbl): Likewise.
57421         (__dbl_mp): Likewise.
57422         (add_magnitudes): Likewise.
57423         (sub_magnitudes): Likewise.
57424         (__add): Likewise.
57425         (__sub): Likewise.
57426         (__mul): Likewise.
57427         (__inv): Likewise.
57428         (__dvd): Likewise.
57430 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57432         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57433         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57434         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57435         2 && __USE_EXTERN_INLINES]: Likewise.
57437 2013-01-08  Andreas Jaeger  <aj@suse.de>
57439         [BZ# 14985]
57440         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57441         Remove.
57442         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57443         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57445 2013-01-07  Anton Blanchard  <anton@samba.org>
57447         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57448         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57449         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57450         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57451         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57452         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57453         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57454         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57456         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57457         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57458         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57459         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57460         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57461         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57462         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57463         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57464         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57465         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57466         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57467         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57468         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57469         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57470         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57471         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57472         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57473         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57474         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57475         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57476         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57477         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57479         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57480         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57481         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57482         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57483         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57484         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57485         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57486         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57487         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57488         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57489         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57491 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57493         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57494         (__MALLOC_PMT): Likewise.
57495         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57496         [__GNUC__], only on [_LIBC].
57497         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57498         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57499         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57500         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57501         forward declaration.
57502         (realloc_hook_ini): Likewise.
57503         (memalign_hook_ini): Likewise.
57504         (__libc_memalign): Do not use __MALLOC_PMT in variable
57505         declaration.
57506         (__libc_valloc): Likewise.
57507         (__libc_pvalloc): Likewise.
57508         (__libc_calloc): Likewise.
57509         (__posix_memalign): Likewise.
57511         [BZ #14996]
57512         * math/s_casinh.c: Include <float.h>.
57513         (__casinh): Do not do computation with squaring and square root
57514         for large arguments.
57515         * math/s_casinhf.c: Include <float.h>.
57516         (__casinhf): Do not do computation with squaring and square root
57517         for large arguments.
57518         * math/s_casinhl.c: Include <float.h>.
57519         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57520         (__casinhl): Do not do computation with squaring and square root
57521         for large arguments.
57522         * math/libm-test.inc (casin_test): Add more tests.
57523         (casinh_test): Likewise.
57524         * sysdeps/i386/fpu/libm-test-ulps: Update.
57525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57527 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57529         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57530         (__x86_64_raw_data_cache_size): Likewise.
57531         (__x86_64_data_cache_size_half): Likewise.
57532         (__x86_64_raw_data_cache_size_half): Likewise.
57533         (__x86_64_shared_cache_size): Likewise.
57534         (__x86_64_raw_shared_cache_size): Likewise.
57535         (__x86_64_shared_cache_size_half): Likewise.
57536         (__x86_64_raw_shared_cache_size_half): Likewise.
57537         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
57538         to ...
57539         (__x86_data_cache_size): This.
57540         (__x86_64_raw_data_cache_size): Renamed to ...
57541         (__x86_raw_data_cache_size): This.
57542         (__x86_64_data_cache_size_half): Renamed to ...
57543         (__x86_data_cache_size_half): This.
57544         (__x86_64_raw_data_cache_size_half): Renamed to ...
57545         (__x86_raw_data_cache_size_half): This.
57546         (__x86_64_shared_cache_size): Renamed to ...
57547         (__x86_shared_cache_size): This.
57548         (__x86_64_raw_shared_cache_size): Renamed to ...
57549         (__x86_raw_shared_cache_size): This.
57550         (__x86_64_shared_cache_size_half): Renamed to ...
57551         (__x86_shared_cache_size_half): This.
57552         (__x86_64_raw_shared_cache_size_half): Renamed to ...
57553         (__x86_raw_shared_cache_size_half): This.
57554         * sysdeps/x86_64/memcpy.S: Updated.
57555         * sysdeps/x86_64/memset.S: Likewise.
57556         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
57557         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57558         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57560 2013-01-04  David S. Miller  <davem@davemloft.net>
57562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57564 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
57566         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
57567         1 to avoid redefinition warning.
57568         (__USE_GNU): Don't define.
57569         (init_signaling_nan): Protoize.
57571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57573 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57575         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
57576         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
57577         (__cpymn): Likewise.
57578         (norm): Remove commented code.
57579         (denorm): Likewise.
57580         (__mp_dbl): Likewise.
57581         (__inv): Likewise.
57582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
57583         (__cpymn): Likewise.
57584         (norm): Remove commented code.
57585         (denorm): Likewise.
57586         (__mp_dbl): Likewise.
57587         (__inv): Likewise.
57589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
57590         mp_no value for 1.0 and 2.0.
57591         (norm): Use RADIXI instead of radixi.d.
57592         (denorm): Likewise.
57593         (__mul): Use 0.0 instead of zero.d.
57594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
57595         mp_no value for 1.0 and 2.0.
57596         (norm): Use RADIXI instead of radixi.d.
57597         (denorm): Likewise.
57598         (__mul): Use 0.0 instead of zero.d.
57600 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
57602         [BZ #14994]
57603         * math/s_casinh.c (__casinh): Reduce finite argument to first
57604         quadrant then set signs of results at the end.
57605         * math/s_casinhf.c (__casinhf): Likewise.
57606         * math/s_casinhl.c (__casinhl): Likewise.
57607         * math/libm-test.inc (casin_test): Add more tests.
57608         (casinh_test): Likewise.
57609         * sysdeps/i386/fpu/libm-test-ulps: Update.
57610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57612 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57614         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
57616         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
57618         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
57619         declarations.
57620         (denorm): Likewise.
57621         (__mp_dbl): Likewise.
57622         (__inv): Likewise.
57624         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
57625         and adjust the header comment.
57627         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
57628         variable name from declaration.
57630 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
57632         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57633         Initialize COMMON_CPUID_INDEX_7 element.
57634         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
57635         (CPUID_RTM): Likewise.
57636         (HAS_RTM): Likewise.
57637         (COMMON_CPUID_INDEX_7): New enum.
57639 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
57641         [BZ #14981]
57642         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
57643         size is zero, record memory as freed.
57645 2013-01-03  Andreas Jaeger  <aj@suse.de>
57647         * po/ia.po: Add new Interlingua translation.
57649 2012-01-03  Allan McRae  <allan@archlinux.org>
57651         * locale/programs/localedef.c: Fix description of '--posix' flag.
57653 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
57655         * NEWS: Update dates in second copyright notice.
57656         * README: Update copyright dates in example.
57657         * manual/libc.texinfo: Update copyright dates.
57658         * scripts/test-installation.pl: Update copyright date in --version
57659         output.
57661         * hurd/ctty-input.c: Fix copyright notice formatting.
57662         * hurd/ctty-output.c: Likewise.
57663         * hurd/dtable.c: Likewise.
57664         * hurd/hurd-raise.c: Likewise.
57665         * hurd/hurdprio.c: Likewise.
57666         * hurd/msgportdemux.c: Likewise.
57667         * misc/sys/file.h: Likewise.
57668         * misc/sys/ioctl.h: Likewise.
57669         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
57670         * sysdeps/mach/hurd/chdir.c: Likewise.
57671         * sysdeps/mach/hurd/fchdir.c: Likewise.
57672         * sysdeps/mach/hurd/rename.c: Likewise.
57673         * sysdeps/mach/hurd/rmdir.c: Likewise.
57674         * sysdeps/mach/hurd/seekdir.c: Likewise.
57675         * sysdeps/mach/hurd/setsid.c: Likewise.
57676         * sysdeps/posix/wait3.c: Likewise.
57678         * All files with FSF copyright notices: Update copyright dates
57679         using scripts/update-copyrights.
57680         * intl/plural.c: Regenerated.
57681         * locale/programs/charmap-kw.h: Likewise.
57682         * locale/programs/locfile-kw.h: Likewise.
57684 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57686         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
57687         four values.
57689         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
57690         calculation loop and add branch prediction.
57692         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
57693         check access beyond bounds of m1np.
57695         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57696         MPTWO.
57697         (__inv): Remove local variable MPTWO to use the global
57698         constant.
57699         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
57700         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57701         variable MPTWO.
57702         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
57703         MP3HALFS static const.
57705 2013-01-01  David S. Miller  <davem@davemloft.net>
57707         * po/ca.po: Update from translation team.
57709 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
57711         * scripts/update-copyrights: New file.
57712         * Makeconfig: Reformat copyright notice.
57713         * ctype/ctype.h: Likewise.
57714         * debug/swprintf_chk.c: Likewise.
57715         * elf/dl-cache.c: Likewise.
57716         * elf/dl-debug.c: Likewise.
57717         * elf/dl-object.c: Likewise.
57718         * grp/initgroups.c: Likewise.
57719         * hurd/Makefile: Likewise.
57720         * hurd/hurd/signal.h: Likewise.
57721         * hurd/hurdfault.c: Likewise.
57722         * hurd/hurdioctl.c: Likewise.
57723         * hurd/hurdlookup.c: Likewise.
57724         * hurd/intr-msg.c: Likewise.
57725         * iconv/gconv_open.c: Likewise.
57726         * libio/swprintf.c: Likewise.
57727         * locale/lc-ctype.c: Likewise.
57728         * locale/nl_langinfo.c: Likewise.
57729         * mach/Machrules: Likewise.
57730         * mach/Makefile: Likewise.
57731         * malloc/obstack.h: Likewise.
57732         * manual/Makefile: Likewise.
57733         * manual/tsort.awk: Likewise.
57734         * misc/bits/stab.def: Likewise.
57735         * nis/nis_print_group_entry.c: Likewise.
57736         * nis/nis_table.c: Likewise.
57737         * nis/nss_compat/compat-pwd.c: Likewise.
57738         * nis/nss_compat/compat-spwd.c: Likewise.
57739         * po/Makefile: Likewise.
57740         * posix/fnmatch.c: Likewise.
57741         * posix/regex.h: Likewise.
57742         * resolv/Makefile: Likewise.
57743         * resolv/nss_dns/dns-network.c: Likewise.
57744         * resolv/res_hconf.c: Likewise.
57745         * scripts/gen-sorted.awk: Likewise.
57746         * soft-fp/soft-fp.h: Likewise.
57747         * stdio-common/printf.h: Likewise.
57748         * stdlib/monetary.h: Likewise.
57749         * stdlib/random.c: Likewise.
57750         * stdlib/random_r.c: Likewise.
57751         * sysdeps/generic/Makefile: Likewise.
57752         * sysdeps/gnu/Makefile: Likewise.
57753         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57754         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57755         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57756         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57757         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57758         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57759         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57760         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57761         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57762         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57763         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
57764         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
57765         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
57766         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
57767         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
57768         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
57769         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
57770         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57771         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57772         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57773         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57774         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57775         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57776         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
57777         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
57778         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
57779         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57780         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
57781         * sysdeps/mach/hurd/errnos.awk: Likewise.
57782         * sysdeps/mach/hurd/fork.c: Likewise.
57783         * sysdeps/mach/hurd/getcwd.c: Likewise.
57784         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
57785         * sysdeps/mach/hurd/mmap.c: Likewise.
57786         * sysdeps/mach/hurd/utimes.c: Likewise.
57787         * sysdeps/mach/hurd/xmknod.c: Likewise.
57788         * sysdeps/posix/profil.c: Likewise.
57789         * sysdeps/posix/readdir_r.c: Likewise.
57790         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57791         * sysdeps/powerpc/bits/setjmp.h: Likewise.
57792         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
57793         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57794         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57795         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57796         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57797         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57798         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57799         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57800         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57801         * sysdeps/pthread/lio_listio.c: Likewise.
57802         * sysdeps/sparc/dl-procinfo.h: Likewise.
57803         * sysdeps/unix/i386/sysdep.S: Likewise.
57804         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
57805         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
57806         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
57807         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
57808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57809         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
57810         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
57811         * sysdeps/unix/sysv/linux/speed.c: Likewise.
57812         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
57813         * sysdeps/wordsize-32/divdi3.c: Likewise.
57814         * time/sys/time.h: Likewise.
57815         * wcsmbs/Makefile: Likewise.
57817 2013-01-01  David S. Miller  <davem@davemloft.net>
57819         * po/fr.po: Update from translation team.
57821         * catgets/gencat.c: Update copyright year.
57822         * csu/version.c: Likewise.
57823         * debug/catchsegv.sh: Likewise.
57824         * debug/pcprofiledump.c: Likewise.
57825         * debug/xtrace.sh: Likewise.
57826         * elf/ldconfig.c: Likewise.
57827         * elf/ldd.bash.in: Likewise.
57828         * elf/pldd.c: Likewise.
57829         * elf/sotruss.ksh: Likewise.
57830         * elf/sprof.c: Likewise.
57831         * iconv/iconv_prog.c: Likewise.
57832         * iconv/iconvconfig.c: Likewise.
57833         * locale/programs/locale.c: Likewise.
57834         * locale/programs/localedef.c: Likewise.
57835         * login/programs/pt_chown.c: Likewise.
57836         * malloc/memusage.sh: Likewise.
57837         * malloc/memusagestat.c: Likewise.
57838         * malloc/mtrace.pl: Likewise.
57839         * nscd/nscd.c: Likewise.
57840         * nss/getent.c: Likewise.
57841         * nss/makedb.c: Likewise.
57842         * posix/getconf.c: Likewise.
57844 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57846         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
57847         numbers.
57849 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
57851         * math/bits/mathcalls.h (modf): Use __nonnull.
57853 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57855         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
57856         (split): Use macro CN instead of the bare value.
57857         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
57858         could be used.
57859         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
57860         instead of the bare value.
57861         (power1): Likewise.
57863 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57865         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
57866         __ATAN_TWOM.
57867         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57869         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
57870         their values.
57871         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57872         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57873         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
57874         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57876 2012-12-28  Andreas Jaeger  <aj@suse.de>
57878         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
57879         values are from Linux 3.7.
57881         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
57882         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
57884 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57886         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
57887         TRUE case.
57889         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
57890         (norm): Likewise.
57891         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
57892         variables with preprocessor constants.
57893         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
57894         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
57895         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
57897 2012-12-27  Bruno Haible  <bruno@clisp.org>
57899         [BZ #14317]
57900         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
57901         only if needed.
57903 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57905         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
57906         and use variable directly.
57907         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
57909         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
57910         MPONE.
57911         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
57912         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
57913         variable MPONE.
57914         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57915         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57916         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
57917         include directive.  Remove local variable MPONE.
57918         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
57919         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
57920         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57922 2012-12-25  David S. Miller  <davem@davemloft.net>
57924         * version.h (RELEASE): Set to "development".
57925         (VERSION): Set to "2.17.90".
57926         * NEWS: Add 2.18 section.
57928 2012-12-21  David S. Miller  <davem@davemloft.net>
57930         * po/hr.po: Update from translation team.
57932 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57934         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
57936 2012-12-19  Steve Ellcey  <sellcey@mips.com>
57938         * NEWS:  Mention new memcpy for MIPS.
57940 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57942         * manual/contrib.texi (Contributors): Spelling correction.
57944 2012-12-15  David S. Miller  <davem@davemloft.net>
57946         * po/ru.po: Update from translation team.
57948 2012-12-13  David S. Miller  <davem@davemloft.net>
57950         * NEWS: Mention IFUNC testsuite enhancements.
57952         * po/pl.po: Update from translation team.
57953         * po/bg.po: Likewise.
57955         * manual/contrib.texi (Contributors): Update entries for Hongjiu
57956         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
57958 2012-12-11  David S. Miller  <davem@davemloft.net>
57960         * po/sv.po: Update from translation team.
57962         * po/vi.po: Update from translation team.
57964         * po/cs.po: Update from translation team.
57966         * po/de.po: Update from translation team.
57967         * po/eo.po: Likewise.
57968         * po/nl.po: Likewise.
57970 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57972         [BZ #14246]
57973         * manual/argp.texi (Argp Helper Functions): Move node to follow
57974         Argp Parsing State.
57976         [BZ #14872]
57977         * manual/conf.texi (Limits on File System Capacity): Mention if
57978         terminating null is included in the max size.
57980 2012-12-10  Andreas Jaeger  <aj@suse.de>
57982         * po/cs.po: Update from translation team.
57984 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
57986         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
57987         void pointer and cast to uintptr_t.
57988         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
57989         path.
57990         * sysdeps/s390/s390-64/memcpy.S: Likewise.
57991         * sysdeps/s390/s390-64/memset.S: Likewise.
57993 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
57995         [BZ #14833]
57996         * menual/message.texi (Message Translation): Fix typos.
57997         (Helper programs for gettext): Likewise.
57999 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
58001         [BZ #14898]
58002         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58003         Change to -1.
58005 2012-12-07  David S. Miller  <davem@davemloft.net>
58007         * po/libc.pot: Update.
58009 2012-12-07  Richard Henderson  <rth@redhat.com>
58011         [BZ #10114]
58012         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58013         normal/normal case to before the switch.
58014         (_FP_DIV): Likewise.
58016 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58017             Mike Frysinger  <vapier@gentoo.org>
58019         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58020         check for __NR_fadvise64_64.
58022 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58024         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58025         0, not just to plain "0" as a statement.
58026         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58027         with cw.
58029 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58031         * NEWS: Use sourceware.org in Bugzilla URL.
58033 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58036         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58038         * stdio-common/tst-put-error.c (do_test): Add newline to the
58039         padded test to ensure flush.
58041 2012-12-05  Jeff Law  <law@redhat.com>
58043         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58045 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58047         * README: Don't refer to ports add-on as distributed separately.
58048         Mention AArch64 in list of systems supported in the ports add-on.
58050         * LICENSES: Add more non-FSF copyright and license notices.
58052         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58053         ((unused)).
58055         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58057         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58058         10000 as width of padded output.
58060 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58062         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58064         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58065         variable LX with __attribute__ ((unused)).
58066         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58067         Likewise.
58068         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58069         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58070         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58071         with __attribute__ ((unused)).
58073 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58075         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58077 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58079         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58080         (CFLAGS-nldbl-acos.c): New variable.
58081         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58082         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58083         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58084         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58085         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58086         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58087         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58088         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58089         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58090         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58091         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58092         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58093         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58094         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58095         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58096         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58097         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58098         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58099         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58100         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58101         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58102         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58103         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58104         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58105         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58106         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58107         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58108         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58109         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58110         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58111         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58112         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58113         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58114         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58115         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58116         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58117         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58118         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58119         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58120         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58121         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58122         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58123         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58124         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58125         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58126         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58127         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58128         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58129         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58130         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58131         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58132         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58133         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58134         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58135         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58136         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58137         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58138         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58139         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58140         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58141         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58142         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58143         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58144         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58145         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58146         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58147         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58148         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58149         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58150         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58151         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58152         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58153         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58154         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58155         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58156         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58157         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58158         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58159         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58160         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58161         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58162         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58163         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58164         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58165         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58166         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58167         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58168         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58169         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58170         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58171         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58172         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58173         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58174         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58175         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58176         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58177         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58180         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58182         [BZ #14914]
58183         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58184         whole low double instead of just low 47 bits when splitting values
58185         into two parts.
58187 2012-12-03  Allan McRae  <allan@archlinux.org>
58189         * manual/stdio.texi (Predefined Printf Handlers): Remove
58190         @hsep and @vsep usage.
58192 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58194         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58195         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58197 2012-12-03  Jeff Law  <law@redhat.com>
58199         * time/sys/time.h (settimeofday): Do not mark TV argument
58200         as __nonnull.
58202 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58204         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58205         when currently writing and seek to current position when not.
58206         * libio/Makefile (tests): Remove bug-fclose1.
58207         * libio/bug-fclose1.c: Delete.
58209 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58211         * manual/arith.texi (feenableexcept): Fix typo.
58212         (fedisableexcept): Likewise.
58214 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58216         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58217         second, differently-typed declaration, rather than a cast.
58219 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58221         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58222         * include/rpc/svc.h: ... here.
58224 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58226         [BZ #13013]
58227         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58228         depending n and resplen2 to catch cases where answer
58229         equals answerp2.
58231 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58233         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58234         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58236 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58238         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58240 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58242         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58244 2012-11-28  Jeff Law  <law@redhat.com>
58246         [BZ #13761]
58247         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58248         dataset_temporary.  Track alloca usage into alloca_used.
58249         If dataset is large allocate and release it via malloc/free.
58251 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58253         [BZ #14197]
58254         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58256 2012-11-28  David S. Miller  <davem@davemloft.net>
58258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58260 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58262         [BZ #14803]
58263         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58264         of pi/2 rounded to nearest to 64 bits.
58265         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58266         nearest to 64 bits.
58267         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58268         bits.
58270 2012-11-28  Jeff Law <law@redhat.com>
58271             Martin Osvald <mosvald@redhat.com>
58273         [BZ #14889]
58274         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58275         * sunrpc/svc.c: Include time.h.
58276         (__svc_accept_failed): New function.
58277         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58278         any reason other than EINTR, call __svc_accept_failed.
58279         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58280         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58282 2012-11-28  Andreas Schwab  <schwab@suse.de>
58284         * scripts/abilist.awk: Also handle indirect functions in .opd
58285         section.
58287 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58289         [BZ #13881]
58290         * sysdeps/x86/fpu/powl_helper.c: New file.
58291         * sysdeps/x86/fpu/Makefile: Likewise.
58292         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58293         (p3): New object.
58294         (__ieee754_powl): Use __powl_helper for finite arguments except
58295         integer exponents below 8.
58296         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58297         (p3): New object.
58298         (__ieee754_powl): Use __powl_helper for finite arguments except
58299         integer exponents below 8.
58300         * math/libm-test.inc (pow_test): Add more tests and enable some
58301         previously disabled tests.
58302         * sysdeps/i386/fpu/libm-test-ulps: Update.
58303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58305 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58306             Carlos O'Donell  <carlos_odonell@mentor.com>
58308         * nss/makedb.c (is_prime): Assert that input is odd and greater
58309         than 4.  Note that fact in a comment too.
58310         (next_prime): Add 4 to input.
58312 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58314         [BZ #11741]
58315         * libio/Makefile (tests): Add test case tst-fwrite-error.
58316         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58317         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58318         * libio/tst-fwrite-error.c: New test case.
58320 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58322         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58323         before casting to void *.
58324         * include/libc-internal.h (__pointer_type): New macro.
58325         (__integer_if_pointer_type_sub): Likewise.
58326         (__integer_if_pointer_type): Likewise.
58327         (cast_to_integer): Likewise.
58328         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58329         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58330         before casting to atomic64_t.
58331         (atomic_exchange_acq): Likewise.
58332         (__arch_exchange_and_add_body): Likewise.
58333         (__arch_add_body): Likewise.
58334         (atomic_add_negative): Likewise.
58335         (atomic_add_zero): Likewise.
58337 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58339         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58340         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58341         (add_fdes): Likewise.
58342         (linear_search_fdes): Likewise.
58343         (binary_search_unencoded_fdes): Likewise.
58345 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58347         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58349 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58351         * configure.in: Autodetect C++ header directories.
58352         * configure: Regenerated.
58354 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58356         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58358 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58362 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58364         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58365         LDBL_MANT_DIG == 106]: Disable some tests.
58366         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58367         Likewise.
58368         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58369         Likewise.
58371         [BZ #14871]
58372         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58373         input for small inputs.  Return +/- pi/2 for large inputs.
58374         * math/libm-test.inc (atan_test): Add more tests.
58376         * sysdeps/generic/unwind-dw2-fde-glibc.c
58377         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58378         __attribute__ ((unused)).
58380         [BZ #14645]
58381         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58382         x * y if x and y are nonzero and z is zero.
58384         [BZ #14811]
58385         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58386         nonzero exponents with absolute value below 0x1p-117 to +/-
58387         0x1p-117.
58389         [BZ #14869]
58390         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58391         up arguments below 2**-450, not just those below 2**-500.
58392         * math/libm-test.inc (hypot_test): Add another test.
58394         [BZ #14868]
58395         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58396         Return a+b for ratio over 2**120, not 2**60.
58397         * math/libm-test.inc (hypot_test): Add another test.
58399         * math/libm-test.inc (clog_test): Use
58400         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58401         (clog10_test): Likewise.
58403         [BZ #6778]
58404         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58406 2012-11-22  Andreas Schwab  <schwab@suse.de>
58408         * sysdeps/i386/fpu/libm-test-ulps: Update.
58410 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58412         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58413         printf output with newline.
58415 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58417         [BZ #14865]
58418         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58419         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58420         -z nodlopen, -z initfirst and -z execstack support.
58421         * configure: Regenerated.
58423         * elf/elf.h (DF_1_NODIRECT): New macro.
58424         (DF_1_IGNMULDEF): Likewise.
58425         (DF_1_NOKSYMS): Likewise.
58426         (DF_1_NOHDR): Likewise.
58427         (DF_1_EDITED): Likewise.
58428         (DF_1_NORELOC): Likewise.
58429         (DF_1_SYMINTPOSE): Likewise.
58430         (DF_1_GLOBAUDIT): Likewise.
58431         (DF_1_SINGLETON): Likewise.
58432         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58433         DT_1_SUPPORTED_MASK bits.
58434         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58436 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58438         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58440 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58442         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58443         macro.
58445         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58446         (sendmmsg): Move declarations...
58447         * socket/sys/socket.h: ... here.
58448         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58449         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58450         include it from...
58451         * socket/recvmmsg.c: ... this new file.
58452         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58453         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58454         definition of __sendmmsg hidden.
58455         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58456         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58457         Move ENOSYS stub into and include it from...
58458         * socket/sendmmsg.c: ... this new file.
58459         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58460         (sysdep_routines): Move recvmmsg and sendmmsg...
58461         * socket/Makefile (routines): ... here.
58462         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58463         (GLIBC_PRIVATE): Add __sendmmsg.
58464         * include/sys/socket.h (__sendmmsg): Add declarations.
58465         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58466         sendmmsg.
58468 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58470         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58471         variable I1 with __attribute__ ((unused)).
58472         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58474 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58476         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58477         DUMMY variables with __attribute__ ((unused)).
58479         * bits/byteswap.h: Include <bits/types.h>.
58480         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58482 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58484         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58485         string_t.  Do not manually set errno.
58486         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58487         length with __strnlen.  Make sure to both set errno and return it on
58488         failure.
58490 2012-11-19  David S. Miller  <davem@davemloft.net>
58492         With help from Joseph Myers.
58493         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58494         very large arguments properly.
58495         * math/libm-test.inc (atan_test): New tests.
58496         (atan2_test): New tests.
58497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58498         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58500 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58502         [BZ #14856]
58503         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58504         Define to 3.
58506         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58507         [POSIX] (EADDRNOTAVAIL): Likewise.
58508         [POSIX] (EAFNOSUPPORT): Likewise.
58509         [POSIX] (EALREADY): Likewise.
58510         [POSIX] (ECONNABORTED): Likewise.
58511         [POSIX] (ECONNREFUSED): Likewise.
58512         [POSIX] (ECONNRESET): Likewise.
58513         [POSIX] (EDESTADDRREQ): Likewise.
58514         [POSIX] (EDQUOT): Likewise.
58515         [POSIX] (EHOSTUNREACH): Likewise.
58516         [POSIX] (EIDRM): Likewise.
58517         [POSIX] (EISCONN): Likewise.
58518         [POSIX] (ELOOP): Likewise.
58519         [POSIX] (EMULTIHOP): Likewise.
58520         [POSIX] (ENETDOWN): Likewise.
58521         [POSIX] (ENETUNREACH): Likewise.
58522         [POSIX] (ENOBUFS): Likewise.
58523         [POSIX] (ENODATA): Likewise.
58524         [POSIX] (ENOLINK): Likewise.
58525         [POSIX] (ENOMSG): Likewise.
58526         [POSIX] (ENOPROTOOPT): Likewise.
58527         [POSIX] (ENOSR): Likewise.
58528         [POSIX] (ENOSTR): Likewise.
58529         [POSIX] (ENOTCONN): Likewise.
58530         [POSIX] (ENOTSOCK): Likewise.
58531         [POSIX] (EOPNOTSUPP): Likewise.
58532         [POSIX] (EOVERFLOW): Likewise.
58533         [POSIX] (EPROTO): Likewise.
58534         [POSIX] (EPROTONOSUPPORT): Likewise.
58535         [POSIX] (EPROTOTYPE): Likewise.
58536         [POSIX] (ESTALE): Likewise.
58537         [POSIX] (ETIME): Likewise.
58538         [POSIX] (ETXTBSY): Likewise.
58539         [POSIX] (EWOULDBLOCK): Likewise.
58540         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
58541         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
58542         [POSIX] (SEEK_CUR): Likewise.
58543         [POSIX] (SEEK_END): Likewise.
58544         [POSIX || UNIX98] (mode_t): Do not require.
58545         [POSIX] (off_t): Likewise.
58546         [POSIX] (pid_t): Likewise.
58547         [POSIX] (sys/stat.h): Do not allow header.
58548         [POSIX] (unistd.h): Likewise.
58549         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
58550         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
58551         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
58552         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
58553         require.
58554         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
58555         sigevent): Specify elements.
58556         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
58557         entry.
58558         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
58559         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
58561         * conform/data/cpio.h-data [POSIX]: Disable whole file.
58562         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
58563         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
58564         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
58565         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
58566         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
58567         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
58568         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
58569         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
58570         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
58571         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
58572         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
58573         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
58574         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
58575         Likewise.
58576         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
58577         Likewise.
58578         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
58579         Likewise.
58580         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
58581         Likewise.
58582         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
58583         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
58584         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
58585         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
58586         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
58587         Specify lower bound on value.
58588         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
58589         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
58590         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
58591         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
58592         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
58593         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
58594         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
58595         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
58596         value.
58597         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
58598         as optional.
58599         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
58600         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
58601         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
58602         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
58603         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
58604         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
58605         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
58606         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
58607         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
58608         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
58609         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
58610         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
58611         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
58612         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
58613         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
58614         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
58615         entry.
58616         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
58617         optional.
58618         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
58619         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
58620         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
58621         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
58622         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
58623         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
58624         Likewise.
58625         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
58626         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
58627         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
58628         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
58629         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
58630         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
58631         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
58632         as optional.
58633         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
58634         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
58635         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
58636         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
58637         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
58638         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
58639         specify as optional.
58640         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
58641         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
58642         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
58643         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
58644         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
58645         [XPG3] (NL_LANGMAX): Likewise.
58646         [POSIX || XPG3] (NL_MSGMAX): Likewise.
58647         [POSIX || XPG3] (NL_NMAX): Likewise.
58648         [POSIX || XPG3] (NL_SETMAX): Likewise.
58649         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
58650         [XPG3] (NZERO): Likewise.
58651         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
58652         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
58653         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
58654         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
58655         (REG_ERANGE): Expect.
58656         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
58657         optional-constant.
58658         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
58659         Use (void) in prototype.
58660         [POSIX] (*_t): Allow.
58661         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
58662         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
58663         (WRDE_BADVAL): Expect.
58665         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
58666         expect.
58667         [XPG3 || XPG4] (O_RSYNC): Likewise.
58668         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
58669         Likewise.
58670         [XPG3 || XPG4] (pthread_sigmask): Likewise.
58671         [XPG3 || XPG4] (sigqueue): Likewise.
58672         [XPG3 || XPG4] (sigtimedwait): Likewise.
58673         [XPG3 || XPG4] (sigwaitinfo): Likewise.
58674         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
58675         [XPG3 || XPG4] (vsnprintf): Likewise.
58676         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
58677         Likewise.
58678         [XPG3 || XPG4] (blksize_t): Likewise.
58679         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
58680         Likewise.
58681         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
58682         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
58683         [XPG3 || XPG4] (struct itimerspec): Likewise.
58684         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
58685         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
58686         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
58687         [XPG3 || XPG4] (clockid_t): Likewise.
58688         [XPG3 || XPG4] (timer_t): Likewise.
58689         [XPG3 || XPG4] (clock_getres): Likewise.
58690         [XPG3 || XPG4] (clock_gettime): Likewise.
58691         [XPG3 || XPG4] (clock_settime): Likewise.
58692         [XPG3 || XPG4] (nanosleep): Likewise.
58693         [XPG3 || XPG4] (timer_create): Likewise.
58694         [XPG3 || XPG4] (timer_delete): Likewise.
58695         [XPG3 || XPG4] (timer_gettime): Likewise.
58696         [XPG3 || XPG4] (timer_getoverrun): Likewise.
58697         [XPG3 || XPG4] (timer_settime): Likewise.
58698         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
58699         [XPG3 || XPG4] (getlogin_r): Likewise.
58700         [XPG3 || XPG4] (pread): Likewise.
58701         [XPG3 || XPG4] (pthread_atfork): Likewise.
58702         [XPG3 || XPG4] (pwrite): Likewise.
58704         [BZ #14835]
58705         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
58706         <bits/siginfo.h>.
58708 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58710         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
58711         finalizing MALLSTREAM.
58713         * sysdeps/mach/hurd/syncfs.c: New file.
58715 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58717         [BZ #14719]
58718         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
58719         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
58720         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
58721         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
58722         (_nss_dns_gethostbyname4_r): Likewise.
58723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
58724         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
58726 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
58728         [BZ #13763]
58729         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
58731 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
58733         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
58734         * elf/cache.c (print_entry): Print ",AArch64" for
58735         FLAG_AARCH64_LIB64
58737         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
58738         * elf/cache.c (print_entry): Print ",hard-float" for
58739         FLAG_ARM_LIBHF.
58741 2012-11-18  David S. Miller  <davem@davemloft.net>
58743         With help from Joseph Myers.
58744         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
58745         cutoff to 2**-13.
58746         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
58747         cutoff to 2**-25.
58748         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
58749         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
58750         small.
58751         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
58752         * math/libm-test.inc (y0_test): New tests.
58753         (y1_test): New tests.
58754         * sysdeps/i386/fpu/libm-test-ulps: Update.
58755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58758 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
58760         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
58761         64-bit targets.
58762         * configure: Regenerated.
58764 2012-11-17  David S. Miller  <davem@davemloft.net>
58766         [BZ #14811]
58767         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
58768         nonzero exponents with absolute value below 0x1p-128 to +/-
58769         0x1p-128.
58771 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
58773         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
58775         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
58777         * posix/getconf-speclist.c: New file.
58778         * posix/posix-envs.def: Likewise.
58779         * posix/confstr.c (START_ENV_GROUP): New macro.
58780         (END_ENV_GROUP): Likewise.
58781         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58782         (KNOWN_PRESENT_ENV_STRING): Likewise.
58783         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58784         (UNKNOWN_ENVIRONMENT): Likewise.
58785         (confstr): Include posix-envs.def instead of handling
58786         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
58787         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
58788         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
58789         (END_ENV_GROUP): Likewise.
58790         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
58791         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
58792         (UNKNOWN_ENVIRONMENT): Likewise.
58793         (__sysconf): Include posix-envs.def instead of handling associated
58794         cases directly here.
58795         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
58796         preprocessing getconf-speclist.c rather than running getconf or
58797         generating empty file.
58799 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
58801         * scripts/check-local-headers.sh: Ignore 'mach' headers.
58803 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
58805         [BZ #14672]
58806         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
58808 2012-11-16  David S. Miller  <davem@davemloft.net>
58810         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
58811         smaller than LDBL_EPSILON/2.0L, just return xm1.
58813 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
58815         * elf/tst-array1.c (init): Set constructor priority to 1000.
58816         (fini): Set destructor priority to 1000.
58817         * elf/tst-array2dep.c: Likewise.
58819 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58821         [BZ #11741]
58822         * libio/fileops.c (_IO_new_file_write): Correctly return error.
58823         (_IO_new_file_xsputn): Also return EOF if none of the input
58824         data was written when overflow failed.
58825         * libio/iopadn.c (_IO_padn): Likewise.
58826         * libio/iowpadn.c (_IO_wpadn): Likewise.
58827         * stdio-common/tst-put-error.c: Add copyright notice.
58828         (do_test): Add case for printing padded string.
58829         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
58830         _IO_padn returned error.
58831         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
58832         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
58833         return EOF.
58835 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58837         * libio/libioP.h: Add comment note that the references to C++
58838         bits are now obsolete.
58840 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58842         * math/libm-test.inc (check_complex): Use asprintf.
58844 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
58846         * debug/pcprofiledump.c (print_version): Update copyright year.
58847         * malloc/memusagestat.c (print_version): Likewise.
58849 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
58851         [BZ #14831]
58852         * elf/Makefile (tests): Add tst-audit8.
58853         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
58854         ($(objpfx)tst-audit8.out): New target.
58855         (tst-audit8-ENV): New variable.
58856         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
58857         audit if l_reloc_result is NULL.
58858         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
58859         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
58860         * elf/tst-audit8.c: New file.
58862 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58864         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
58865         * misc/Makefile (CFLAGS-select.c): Define.
58866         * posix/Makefile (CFLAGS-pause.c): Define.
58868 2012-11-13  David S. Miller  <davem@davemloft.net>
58870         * crypt/Makefile: Move test targets after toplevel Rules
58871         inclusion.  Grab any necessary sysdep routines when linking.
58872         * crypt/md5.c (md5_process_block): Remove define, we will always
58873         name it __md5_process_block.
58874         (md5_finish_ctx): Update md5_process_block call.
58875         (md5_stream): Likewise.
58876         (md5_process_bytes): Likewise.
58877         (md5_process_block): Rename to __md5_process_block and move to ...
58878         * crypt/md5-block.c: ... here.
58879         * crypt/sha256.c (sha256_process_block): Move to ...
58880         * crypt/sha256-block.c: ... here.
58881         * crypt/sha512.c (sha512_process_block): Move to ...
58882         * crypt/sha512-block.c: ... here.
58883         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
58884         path.
58885         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
58886         * sysdeps/sparc/sparc64/multiarch/Makefile
58887         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
58888         crypt subdir.
58889         (localedef-aux): Add md5 crypto assembler when in locale subdir.
58890         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
58891         multiarch changes.
58892         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
58893         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
58894         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
58895         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
58896         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
58897         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
58898         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
58899         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
58900         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
58901         file.
58902         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
58903         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
58904         file.
58905         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
58907 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
58909         * timezone/tzselect.ksh: Update from tzcode git revision
58910         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
58911         * timezone/zdump.c: Likewise.
58912         * timezone/zic.c: Likewise.
58913         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
58914         in TZVERSION setting, not $(PKGVERSION).
58915         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
58916         REPORT_BUGS_TO settings.
58918         [BZ #14838]
58919         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
58920         macro.
58922 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58924         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
58925         detection to immediately after _FP_ROUND().
58926         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
58927         bits are 0.
58929 2012-11-11  David S. Miller  <davem@davemloft.net>
58931         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
58932         inttypes.h
58933         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
58934         __close rather than their public counterparts.
58936 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
58938         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
58939         file.
58940         [UNIX98] (sem_timedwait): Do not expect.
58941         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
58942         [XPG4 || UNIX98] (sockatmark): Do not expect.
58943         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
58944         (clock_getcpuclockid): Do not expect.
58945         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
58946         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
58947         Do not expect.
58948         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
58949         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
58950         [UNIX98] (vwscanf): Likewise.
58951         [UNIX98] (vswscanf): Likewise.
58953 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
58955         * timezone/version.h: Remove file.
58956         * timezone/README: Do not refer to version.h.
58957         * timezone/Makefile ($(objpfx)zic.o): New dependency on
58958         $(objpfx)version.h.
58959         ($(objpfx)zdump.o): Likewise.
58960         ($(objpfx)version.h): New target.
58962         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
58963         2012i.
58964         * timezone/README: Don't mention modification to tzselect.ksh.
58965         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
58966         work on unmodified tzselect.ksh.  Substitute version numbers in
58967         tzselect.ksh.
58969         * Makefile (format-me): Remove.
58970         (INSTALL): Adjust indentation.  Use commands directly instead of
58971         using $(format-me).
58973         * aclocal.m4 (ACX_PKGVERSION): New macro.
58974         (ACX_BUGURL): Likewise.
58975         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
58976         (PKGVERSION): New AC_DEFINE_UNQUOTED.
58977         (REPORT_BUGS_TO): Likewise.
58978         * configure: Regenerated.
58979         * config.h.in (PKGVERSION): New macro.
58980         (REPORT_BUGS_TO): Likewise.
58981         * config.make.in (PKGVERSION): New variable.
58982         (PKGVERSION_TEXI): Likewise.
58983         (REPORT_BUGS_TO): Likewise.
58984         (REPORT_BUGS_TEXI): Likewise.
58985         * Makefile (format-me): Use -I$(common-objpfx)manual.
58986         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
58987         ($(common-objpfx)manual/%): New target.
58988         (manual/%): Remove target.
58989         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
58990         (print_version): Use PKGVERSION.
58991         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
58992         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
58993         and REPORT_BUGS_TO.
58994         ($(objpfx)xtrace): Likewise.
58995         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
58996         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
58997         (print_version): Use PKGVERSION.
58998         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
58999         (do_version): Use PKGVERSION.
59000         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59001         REPORT_BUGS_TO.
59002         (common-ldd-rewrite): Likewise.
59003         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
59004         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
59005         (print_version): Use PKGVERSION.
59006         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
59007         * elf/pldd.c (argp_program_bug_address): Remove variable.
59008         (more_help): New function.
59009         (argp): Use more_help.
59010         (print_version): Use PKGVERSION.
59011         * elf/sln.c (main): Use PKGVERSION.
59012         (usage): Use REPORT_BUGS_TO.
59013         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59014         (top level): Use PKGVERSION.
59015         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59016         (print_version): Use PKGVERSION.
59017         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59018         (print_version): Use PKGVERSION.
59019         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59020         (print_version): Use PKGVERSION.
59021         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59022         (print_version): Use PKGVERSION.
59023         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59024         (print_version): Use PKGVERSION.
59025         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59026         (print_version): Use PKGVERSION.
59027         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59028         and BUGURL.
59029         ($(objpfx)memusage): Likewise.
59030         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59031         (do_version): Use PKGVERSION.
59032         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59033         (print_version): Use PKGVERSION.
59034         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59035         ($PKGVERSION): New variable.
59036         ($REPORT_BUGS_TO): Likewise.
59037         (usage): Use $REPORT_BUGS_TO.
59038         (top level): Use $PKGVERSION.
59039         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59040         ($(objpfx)pkgvers.texi): New rule.
59041         ($(objpfx)stamp-pkgvers): Likewise.
59042         * manual/install.texi: Include pkgvers.texi.
59043         (--with-pkgversion): Document new configure option.
59044         (--with-bugurl): Likewise.
59045         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59046         than necessarily for this particular distribution.  Use
59047         REPORT_BUGS_TO for where to report bugs.
59048         * INSTALL: Regenerated.
59049         * manual/libc.texinfo: Include pkgvers.texi.
59050         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59051         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59052         (print_version): Use PKGVERSION.
59053         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59054         (print_version): Use PKGVERSION.
59055         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59056         (print_version): Use PKGVERSION.
59057         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59058         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59059         macro.
59060         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59061         (print_version): Use PKGVERSION.
59062         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59063         (print_version): Use PKGVERSION.
59064         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59065         and PKGVERSION.
59067         * timezone/checktab.awk: Update from tzcode 2012i.
59068         * timezone/ialloc.c: Likewise.
59069         * timezone/private.h: Likewise.
59070         * timezone/scheck.c: Likewise.
59071         * timezone/tzfile.h: Likewise.
59072         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59073         (TZVERSION): Hardcode tzcode version number.
59074         * timezone/zdump.c: Update from tzcode 2012i.
59075         * timezone/zic.c: Likewise.
59076         * timezone/version.h: New file.
59077         * timezone/README: Describe version.h.  Update upstream location.
59079         [BZ #14824]
59080         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59081         (mktemp): Enable declaration.
59082         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59083         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59084         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59085         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59086         Likewise.
59087         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59088         Likewise.
59089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59090         Likewise.
59091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59092         Likewise.
59093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59094         Likewise.
59095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59096         Likewise.
59098         [BZ #14821]
59099         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59100         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59101         for copies of such integer values.
59102         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59103         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59105 2012-11-09  Andreas Jaeger  <aj@suse.de>
59107         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59108         definitions and declarations that are provided by
59109         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59111 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59113         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59114         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59115         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59116         definition.
59118 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59120         * elf/elf.h: Update comment before AArch64 relocations.
59122 2012-11-07  David S. Miller  <davem@davemloft.net>
59124         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59125         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59126         (__start_context): Declare.
59127         (__makecontext_ret): Delete.
59128         (__makecontext): Hook up __start_context instead of
59129         __makecontext_ret.
59130         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59131         (sysdep_routines): Add __start_context when in stdlib.
59133 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59135         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59136         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59137         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59138         hardcoded "nm".
59139         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59140         (READELF): New variable.  Use it instead of hardcoded "readelf".
59142 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59144         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59145         * sysdeps/x86/Makefile: Here.
59146         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59147         * sysdeps/x86/tst-xmmymm.sh: This.
59149 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59151         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59152         expectations.
59153         [UNIX98] (pthread_barrier_t): Do not expect.
59154         [UNIX98] (pthread_barrierattr_t): Likewise.
59155         [UNIX98] (pthread_spinlock_t): Likewise.
59156         [UNIX98] (pthread_barrier_destroy): Likewise.
59157         [UNIX98] (pthread_barrier_init): Likewise.
59158         [UNIX98] (pthread_barrier_wait): Likewise.
59159         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59160         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59161         [UNIX98] (pthread_barrierattr_init): Likewise.
59162         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59163         [UNIX98] (pthread_getcpuclockid): Likewise.
59164         [UNIX98] (pthread_mutex_timedlock): Likewise.
59165         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59166         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59167         [UNIX98] (pthread_sigmask): Likewise.
59168         [UNIX98] (pthread_spin_destroy): Likewise.
59169         [UNIX98] (pthread_spin_init): Likewise.
59170         [UNIX98] (pthread_spin_lock): Likewise.
59171         [UNIX98] (pthread_spin_trylock): Likewise.
59172         [UNIX98] (pthread_spin_unlock): Likewise.
59173         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59174         Do not expect.
59175         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59176         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59177         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59178         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59179         [XPG3 || XPG4] (pthread_key_t): Likewise.
59180         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59181         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59182         [XPG3 || XPG4] (pthread_once_t): Likewise.
59183         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59184         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59185         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59186         [XPG3 || XPG4] (pthread_t): Likewise.
59188         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59189         not expect.
59190         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59192         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59193         Change function return type to int.
59195         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59196         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59197         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59198         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59199         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59200         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59201         [!POSIX] (posix_madvise): Likewise.
59202         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59203         && !UNIX98].
59204         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59205         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59206         (mode_t): Likewise.
59207         (posix_mem_offset): Likewise.
59208         (posix_typed_mem_get_info): Likewise.
59209         (posix_typed_mem_open): Likewise.
59211         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59212         Change condition to [XOPEN2K8].
59214         * conform/conformtest.pl: Preprocess allow-header data with -x c
59215         instead of from stdin.
59216         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59217         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59218         [C99-based standards] (cerfc): Likewise.
59219         [C99-based standards] (cexp2): Likewise.
59220         [C99-based standards] (cexpm1): Likewise.
59221         [C99-based standards] (clog10): Likewise.
59222         [C99-based standards] (clog1p): Likewise.
59223         [C99-based standards] (clog2): Likewise.
59224         [C99-based standards] (clgamma): Likewise.
59225         [C99-based standards] (ctgamma): Likewise.
59226         [C99-based standards] (cerff): Likewise.
59227         [C99-based standards] (cerfcf): Likewise.
59228         [C99-based standards] (cexp2f): Likewise.
59229         [C99-based standards] (cexpm1f): Likewise.
59230         [C99-based standards] (clog10f): Likewise.
59231         [C99-based standards] (clog1pf): Likewise.
59232         [C99-based standards] (clog2f): Likewise.
59233         [C99-based standards] (clgammaf): Likewise.
59234         [C99-based standards] (ctgammaf): Likewise.
59235         [C99-based standards] (cerfl): Likewise.
59236         [C99-based standards] (cerfcl): Likewise.
59237         [C99-based standards] (cexp2l): Likewise.
59238         [C99-based standards] (cexpm1l): Likewise.
59239         [C99-based standards] (clog10l): Likewise.
59240         [C99-based standards] (clog1pl): Likewise.
59241         [C99-based standards] (clog2l): Likewise.
59242         [C99-based standards] (clgammal): Likewise.
59243         [C99-based standards] (ctgammal): Likewise.
59244         * conform/data/inttypes.h-data [C99-based standards]: Include
59245         stdint.h-data.  Remove all expectations for stdint.h contents.
59246         [C99-based standards] (PRI*): Do not allow.
59247         [C99-based standards] (SCN*): Likewise.
59248         [C99-based standards] (*_t): Likewise.
59249         [C99-based-standards] (PRId8): Expect macro.
59250         [C99-based-standards] (PRIi8): Likewise.
59251         [C99-based-standards] (PRIo8): Likewise.
59252         [C99-based-standards] (PRIu8): Likewise.
59253         [C99-based-standards] (PRIx8): Likewise.
59254         [C99-based-standards] (PRIX8): Likewise.
59255         [C99-based-standards] (SCNd8): Likewise.
59256         [C99-based-standards] (SCNi8): Likewise.
59257         [C99-based-standards] (SCNo8): Likewise.
59258         [C99-based-standards] (SCNu8): Likewise.
59259         [C99-based-standards] (SCNx8): Likewise.
59260         [C99-based-standards] (PRIdLEAST8): Likewise.
59261         [C99-based-standards] (PRIiLEAST8): Likewise.
59262         [C99-based-standards] (PRIoLEAST8): Likewise.
59263         [C99-based-standards] (PRIuLEAST8): Likewise.
59264         [C99-based-standards] (PRIxLEAST8): Likewise.
59265         [C99-based-standards] (PRIXLEAST8): Likewise.
59266         [C99-based-standards] (SCNdLEAST8): Likewise.
59267         [C99-based-standards] (SCNiLEAST8): Likewise.
59268         [C99-based-standards] (SCNoLEAST8): Likewise.
59269         [C99-based-standards] (SCNuLEAST8): Likewise.
59270         [C99-based-standards] (SCNxLEAST8): Likewise.
59271         [C99-based-standards] (PRIdFAST8): Likewise.
59272         [C99-based-standards] (PRIiFAST8): Likewise.
59273         [C99-based-standards] (PRIoFAST8): Likewise.
59274         [C99-based-standards] (PRIuFAST8): Likewise.
59275         [C99-based-standards] (PRIxFAST8): Likewise.
59276         [C99-based-standards] (PRIXFAST8): Likewise.
59277         [C99-based-standards] (SCNdFAST8): Likewise.
59278         [C99-based-standards] (SCNiFAST8): Likewise.
59279         [C99-based-standards] (SCNoFAST8): Likewise.
59280         [C99-based-standards] (SCNuFAST8): Likewise.
59281         [C99-based-standards] (SCNxFAST8): Likewise.
59282         [C99-based-standards] (PRId16): Likewise.
59283         [C99-based-standards] (PRIi16): Likewise.
59284         [C99-based-standards] (PRIo16): Likewise.
59285         [C99-based-standards] (PRIu16): Likewise.
59286         [C99-based-standards] (PRIx16): Likewise.
59287         [C99-based-standards] (PRIX16): Likewise.
59288         [C99-based-standards] (SCNd16): Likewise.
59289         [C99-based-standards] (SCNi16): Likewise.
59290         [C99-based-standards] (SCNo16): Likewise.
59291         [C99-based-standards] (SCNu16): Likewise.
59292         [C99-based-standards] (SCNx16): Likewise.
59293         [C99-based-standards] (PRIdLEAST16): Likewise.
59294         [C99-based-standards] (PRIiLEAST16): Likewise.
59295         [C99-based-standards] (PRIoLEAST16): Likewise.
59296         [C99-based-standards] (PRIuLEAST16): Likewise.
59297         [C99-based-standards] (PRIxLEAST16): Likewise.
59298         [C99-based-standards] (PRIXLEAST16): Likewise.
59299         [C99-based-standards] (SCNdLEAST16): Likewise.
59300         [C99-based-standards] (SCNiLEAST16): Likewise.
59301         [C99-based-standards] (SCNoLEAST16): Likewise.
59302         [C99-based-standards] (SCNuLEAST16): Likewise.
59303         [C99-based-standards] (SCNxLEAST16): Likewise.
59304         [C99-based-standards] (PRIdFAST16): Likewise.
59305         [C99-based-standards] (PRIiFAST16): Likewise.
59306         [C99-based-standards] (PRIoFAST16): Likewise.
59307         [C99-based-standards] (PRIuFAST16): Likewise.
59308         [C99-based-standards] (PRIxFAST16): Likewise.
59309         [C99-based-standards] (PRIXFAST16): Likewise.
59310         [C99-based-standards] (SCNdFAST16): Likewise.
59311         [C99-based-standards] (SCNiFAST16): Likewise.
59312         [C99-based-standards] (SCNoFAST16): Likewise.
59313         [C99-based-standards] (SCNuFAST16): Likewise.
59314         [C99-based-standards] (SCNxFAST16): Likewise.
59315         [C99-based-standards] (PRId32): Likewise.
59316         [C99-based-standards] (PRIi32): Likewise.
59317         [C99-based-standards] (PRIo32): Likewise.
59318         [C99-based-standards] (PRIu32): Likewise.
59319         [C99-based-standards] (PRIx32): Likewise.
59320         [C99-based-standards] (PRIX32): Likewise.
59321         [C99-based-standards] (SCNd32): Likewise.
59322         [C99-based-standards] (SCNi32): Likewise.
59323         [C99-based-standards] (SCNo32): Likewise.
59324         [C99-based-standards] (SCNu32): Likewise.
59325         [C99-based-standards] (SCNx32): Likewise.
59326         [C99-based-standards] (PRIdLEAST32): Likewise.
59327         [C99-based-standards] (PRIiLEAST32): Likewise.
59328         [C99-based-standards] (PRIoLEAST32): Likewise.
59329         [C99-based-standards] (PRIuLEAST32): Likewise.
59330         [C99-based-standards] (PRIxLEAST32): Likewise.
59331         [C99-based-standards] (PRIXLEAST32): Likewise.
59332         [C99-based-standards] (SCNdLEAST32): Likewise.
59333         [C99-based-standards] (SCNiLEAST32): Likewise.
59334         [C99-based-standards] (SCNoLEAST32): Likewise.
59335         [C99-based-standards] (SCNuLEAST32): Likewise.
59336         [C99-based-standards] (SCNxLEAST32): Likewise.
59337         [C99-based-standards] (PRIdFAST32): Likewise.
59338         [C99-based-standards] (PRIiFAST32): Likewise.
59339         [C99-based-standards] (PRIoFAST32): Likewise.
59340         [C99-based-standards] (PRIuFAST32): Likewise.
59341         [C99-based-standards] (PRIxFAST32): Likewise.
59342         [C99-based-standards] (PRIXFAST32): Likewise.
59343         [C99-based-standards] (SCNdFAST32): Likewise.
59344         [C99-based-standards] (SCNiFAST32): Likewise.
59345         [C99-based-standards] (SCNoFAST32): Likewise.
59346         [C99-based-standards] (SCNuFAST32): Likewise.
59347         [C99-based-standards] (SCNxFAST32): Likewise.
59348         [C99-based-standards] (PRId64): Likewise.
59349         [C99-based-standards] (PRIi64): Likewise.
59350         [C99-based-standards] (PRIo64): Likewise.
59351         [C99-based-standards] (PRIu64): Likewise.
59352         [C99-based-standards] (PRIx64): Likewise.
59353         [C99-based-standards] (PRIX64): Likewise.
59354         [C99-based-standards] (SCNd64): Likewise.
59355         [C99-based-standards] (SCNi64): Likewise.
59356         [C99-based-standards] (SCNo64): Likewise.
59357         [C99-based-standards] (SCNu64): Likewise.
59358         [C99-based-standards] (SCNx64): Likewise.
59359         [C99-based-standards] (PRIdLEAST64): Likewise.
59360         [C99-based-standards] (PRIiLEAST64): Likewise.
59361         [C99-based-standards] (PRIoLEAST64): Likewise.
59362         [C99-based-standards] (PRIuLEAST64): Likewise.
59363         [C99-based-standards] (PRIxLEAST64): Likewise.
59364         [C99-based-standards] (PRIXLEAST64): Likewise.
59365         [C99-based-standards] (SCNdLEAST64): Likewise.
59366         [C99-based-standards] (SCNiLEAST64): Likewise.
59367         [C99-based-standards] (SCNoLEAST64): Likewise.
59368         [C99-based-standards] (SCNuLEAST64): Likewise.
59369         [C99-based-standards] (SCNxLEAST64): Likewise.
59370         [C99-based-standards] (PRIdFAST64): Likewise.
59371         [C99-based-standards] (PRIiFAST64): Likewise.
59372         [C99-based-standards] (PRIoFAST64): Likewise.
59373         [C99-based-standards] (PRIuFAST64): Likewise.
59374         [C99-based-standards] (PRIxFAST64): Likewise.
59375         [C99-based-standards] (PRIXFAST64): Likewise.
59376         [C99-based-standards] (SCNdFAST64): Likewise.
59377         [C99-based-standards] (SCNiFAST64): Likewise.
59378         [C99-based-standards] (SCNoFAST64): Likewise.
59379         [C99-based-standards] (SCNuFAST64): Likewise.
59380         [C99-based-standards] (SCNxFAST64): Likewise.
59381         [C99-based-standards] (PRIdMAX): Likewise.
59382         [C99-based-standards] (PRIiMAX): Likewise.
59383         [C99-based-standards] (PRIoMAX): Likewise.
59384         [C99-based-standards] (PRIuMAX): Likewise.
59385         [C99-based-standards] (PRIxMAX): Likewise.
59386         [C99-based-standards] (PRIXMAX): Likewise.
59387         [C99-based-standards] (SCNdMAX): Likewise.
59388         [C99-based-standards] (SCNiMAX): Likewise.
59389         [C99-based-standards] (SCNoMAX): Likewise.
59390         [C99-based-standards] (SCNuMAX): Likewise.
59391         [C99-based-standards] (SCNxMAX): Likewise.
59392         [C99-based-standards] (PRIdPTR): Likewise.
59393         [C99-based-standards] (PRIiPTR): Likewise.
59394         [C99-based-standards] (PRIoPTR): Likewise.
59395         [C99-based-standards] (PRIuPTR): Likewise.
59396         [C99-based-standards] (PRIxPTR): Likewise.
59397         [C99-based-standards] (PRIXPTR): Likewise.
59398         [C99-based-standards] (SCNdPTR): Likewise.
59399         [C99-based-standards] (SCNiPTR): Likewise.
59400         [C99-based-standards] (SCNoPTR): Likewise.
59401         [C99-based-standards] (SCNuPTR): Likewise.
59402         [C99-based-standards] (SCNxPTR): Likewise.
59403         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59404         allow.
59405         * conform/data/stdint.h-data: Update comments to clarify
59406         requirements.
59407         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59408         type.
59409         [C99-based standards] (INT8_MAX): Likewise.
59410         [C99-based standards] (INT16_MIN): Likewise.
59411         [C99-based standards] (INT16_MAX): Likewise.
59412         [C99-based standards] (INT32_MIN): Likewise.
59413         [C99-based standards] (INT32_MAX): Likewise.
59414         [C99-based standards] (INT64_MIN): Likewise.
59415         [C99-based standards] (INT64_MAX): Likewise.
59416         [C99-based standards] (UINT8_MAX): Likewise.
59417         [C99-based standards] (UINT16_MAX): Likewise.
59418         [C99-based standards] (UINT32_MAX): Likewise.
59419         [C99-based standards] (UINT64_MAX): Likewise.
59420         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59421         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59422         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59423         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59424         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59425         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59426         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59427         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59428         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59429         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59430         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59431         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59432         [C99-based standards] (INT_FAST8_MIN): Likewise.
59433         [C99-based standards] (INT_FAST8_MAX): Likewise.
59434         [C99-based standards] (INT_FAST16_MIN): Likewise.
59435         [C99-based standards] (INT_FAST16_MAX): Likewise.
59436         [C99-based standards] (INT_FAST32_MIN): Likewise.
59437         [C99-based standards] (INT_FAST32_MAX): Likewise.
59438         [C99-based standards] (INT_FAST64_MIN): Likewise.
59439         [C99-based standards] (INT_FAST64_MAX): Likewise.
59440         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59441         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59442         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59443         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59444         [C99-based standards] (INTPTR_MIN): Likewise.
59445         [C99-based standards] (INTPTR_MAX): Likewise.
59446         [C99-based standards] (UINTPTR_MAX): Likewise.
59447         [C99-based standards] (INTMAX_MIN): Likewise.
59448         [C99-based standards] (INTMAX_MAX): Likewise.
59449         [C99-based standards] (UINTMAX_MAX): Likewise.
59450         [C99-based standards] (PTRDIFF_MIN): Likewise.
59451         [C99-based standards] (PTRDIFF_MAX): Likewise.
59452         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59453         [C99-based standards] (SIZE_MAX): Likewise.
59454         [C99-based standards] (WCHAR_MAX): Likewise.
59455         [C99-based standards] (WINT_MAX): Likewise.
59456         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59457         constraint on value.
59458         [C99-based standards] (WCHAR_MIN): Likewise.
59459         [C99-based standards] (WINT_MIN): Likewise.
59460         [C99-based standards] (*_t): Allow.
59461         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59462         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59463         Include math.h-data and complex.h-data.  Remove all expectations
59464         of math.h and complex.h contents.
59465         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59466         at end of line.
59467         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59468         (struct tm): Expect tag.
59469         [C99-based-standards] (wcstof): Expect function.
59470         [C99-based-standards] (wcstold): Likewise.
59471         [C99-based-standards] (wcstoll): Likewise.
59472         [C99-based-standards] (wcstoull): Likewise.
59473         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59474         macro-int-constant.  Specify type.
59475         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59476         constraint on value.
59477         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59478         Specify type.
59479         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59480         Specify value.
59481         [ISO C standards]: Do not allow headers.
59482         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59483         wcs[abcdefghijklmnopqrstuvwxyz]*.
59484         [ISO C standards] (*_t): Do not allow.
59485         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59486         Expect function.
59487         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59488         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59489         Specify type.
59490         [ISO C standards]: Do not allow headers.
59491         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59492         is[abcdefghijklmnopqrstuvwxyz]*.
59493         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59494         to[abcdefghijklmnopqrstuvwxyz]*.
59495         [ISO C standards] (*_t): Do not allow.
59496         * conform/data/stdalign.h-data: New file.
59497         * conform/data/stdbool.h-data: Likewise.
59498         * conform/data/stdnoreturn.h-data: Likewise.
59500 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59502         [BZ #14815]
59503         * manual/filesys.texi (Directory Entries): Typo fix.
59504         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59506 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59508         * elf/elf.h (EM_AARCH64): New macro.
59509         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59510         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59511         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59512         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59513         (R_AARCH64_TLSDESC): Likewise.
59514         (NT_ARM_TLS): Likewise.
59515         (NT_ARM_HW_BREAK): Likewise.
59516         (NT_ARM_HW_WATCH): Likewise.
59518 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59520         [BZ #14811]
59521         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59522         (__ieee754_powl): Saturate nonzero exponents with absolute value
59523         below 0x1p-79 to +/- 0x1p-79.
59524         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59525         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59526         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59527         nonzero exponents with absolute value below 0x1p-32 to +/-
59528         0x1p-32.
59529         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59530         (__ieee754_powl): Saturate nonzero exponents with absolute value
59531         below 0x1p-79 to +/- 0x1p-79.
59532         * math/libm-test.inc (pow_test): Add more tests.
59534 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59536         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
59537         _dl_s390_cap_flags with kernel. Increase string length.
59538         (_dl_s390_platforms): Add z196 and zEC12.
59540 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59542         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
59543         Change XOPEN21K to XOPEN2K.
59545 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
59547         * string/memmove.c: Use memcpy when possible.
59549 2012-11-06  Andreas Jaeger  <aj@suse.de>
59551         * po/eo.po: Update from translation team.
59553 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
59555         [BZ #14793]
59556         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
59557         exponent and small x and y exponents, scale x or y up.  Increase
59558         by 2 the exponent used in scaling up.
59559         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59560         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59561         * math/libm-test.inc (fma_test): Add more tests.
59562         (fma_test_towardzero): Likewise.
59563         (fma_test_downward): Likewise.
59564         (fma_test_upward): Likewise.
59566 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
59568         [BZ #14805]
59569         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
59570         fenv_t *.
59572         [BZ #14801]
59573         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
59574         namespace for names of struct fields.
59575         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
59576         fenv_t fields.
59577         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
59578         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
59580 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59582         [BZ #3665]
59583         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
59585 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59587         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
59588         PTR_DEMANGLE.
59590         [BZ #5246]
59591         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
59592         PTR_DEMANGLE.
59594 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
59596         [BZ #14797]
59597         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
59598         definitely overflow as x * y not x * y + z.
59599         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59600         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59601         * math/libm-test.inc (fma_test): Add more tests.
59602         (fma_test_towardzero): Likewise.
59603         (fma_test_downward): Likewise.
59604         (fma_test_upward): Likewise.
59606 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
59608         [BZ #157]
59610         * include/stub-tag.h: Remove file.
59611         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
59612         '#include' of it.
59613         * manual/maint.texi (Porting): Don't reference it.
59614         * Makerules ($(objpfx)stubs): Likewise.
59615         * dirent/closedir.c: Don't include <stub-tag.h>.
59616         * dirent/dirfd.c: Likewise.
59617         * dirent/fdopendir.c: Likewise.
59618         * dirent/getdents.c: Likewise.
59619         * dirent/getdents64.c: Likewise.
59620         * dirent/opendir.c: Likewise.
59621         * dirent/readdir.c: Likewise.
59622         * dirent/readdir64.c: Likewise.
59623         * dirent/readdir64_r.c: Likewise.
59624         * dirent/readdir_r.c: Likewise.
59625         * dirent/rewinddir.c: Likewise.
59626         * dirent/seekdir.c: Likewise.
59627         * dirent/telldir.c: Likewise.
59628         * gmon/profil.c: Likewise.
59629         * grp/setgroups.c: Likewise.
59630         * inet/if_index.c: Likewise.
59631         * io/access.c: Likewise.
59632         * io/chdir.c: Likewise.
59633         * io/chmod.c: Likewise.
59634         * io/chown.c: Likewise.
59635         * io/close.c: Likewise.
59636         * io/dup.c: Likewise.
59637         * io/dup2.c: Likewise.
59638         * io/dup3.c: Likewise.
59639         * io/euidaccess.c: Likewise.
59640         * io/faccessat.c: Likewise.
59641         * io/fchdir.c: Likewise.
59642         * io/fchmod.c: Likewise.
59643         * io/fchmodat.c: Likewise.
59644         * io/fchown.c: Likewise.
59645         * io/fchownat.c: Likewise.
59646         * io/fcntl.c: Likewise.
59647         * io/flock.c: Likewise.
59648         * io/fstatfs.c: Likewise.
59649         * io/fstatfs64.c: Likewise.
59650         * io/fstatvfs.c: Likewise.
59651         * io/fstatvfs64.c: Likewise.
59652         * io/futimens.c: Likewise.
59653         * io/fxstat.c: Likewise.
59654         * io/fxstat64.c: Likewise.
59655         * io/fxstatat.c: Likewise.
59656         * io/fxstatat64.c: Likewise.
59657         * io/getcwd.c: Likewise.
59658         * io/isatty.c: Likewise.
59659         * io/lchmod.c: Likewise.
59660         * io/lchown.c: Likewise.
59661         * io/link.c: Likewise.
59662         * io/linkat.c: Likewise.
59663         * io/lseek.c: Likewise.
59664         * io/lseek64.c: Likewise.
59665         * io/lxstat64.c: Likewise.
59666         * io/mkdir.c: Likewise.
59667         * io/mkdirat.c: Likewise.
59668         * io/mkfifo.c: Likewise.
59669         * io/mkfifoat.c: Likewise.
59670         * io/open.c: Likewise.
59671         * io/open64.c: Likewise.
59672         * io/openat.c: Likewise.
59673         * io/openat64.c: Likewise.
59674         * io/pipe.c: Likewise.
59675         * io/pipe2.c: Likewise.
59676         * io/poll.c: Likewise.
59677         * io/posix_fadvise.c: Likewise.
59678         * io/posix_fadvise64.c: Likewise.
59679         * io/posix_fallocate.c: Likewise.
59680         * io/posix_fallocate64.c: Likewise.
59681         * io/read.c: Likewise.
59682         * io/readlink.c: Likewise.
59683         * io/readlinkat.c: Likewise.
59684         * io/rmdir.c: Likewise.
59685         * io/sendfile.c: Likewise.
59686         * io/sendfile64.c: Likewise.
59687         * io/statfs.c: Likewise.
59688         * io/statfs64.c: Likewise.
59689         * io/statvfs.c: Likewise.
59690         * io/statvfs64.c: Likewise.
59691         * io/symlink.c: Likewise.
59692         * io/symlinkat.c: Likewise.
59693         * io/ttyname.c: Likewise.
59694         * io/ttyname_r.c: Likewise.
59695         * io/umask.c: Likewise.
59696         * io/unlink.c: Likewise.
59697         * io/unlinkat.c: Likewise.
59698         * io/utime.c: Likewise.
59699         * io/utimensat.c: Likewise.
59700         * io/write.c: Likewise.
59701         * io/xmknod.c: Likewise.
59702         * io/xmknodat.c: Likewise.
59703         * io/xstat.c: Likewise.
59704         * io/xstat64.c: Likewise.
59705         * login/getpt.c: Likewise.
59706         * login/grantpt.c: Likewise.
59707         * login/unlockpt.c: Likewise.
59708         * math/e_acoshl.c: Likewise.
59709         * math/e_acosl.c: Likewise.
59710         * math/e_asinl.c: Likewise.
59711         * math/e_atan2l.c: Likewise.
59712         * math/e_atanhl.c: Likewise.
59713         * math/e_coshl.c: Likewise.
59714         * math/e_expl.c: Likewise.
59715         * math/e_fmodl.c: Likewise.
59716         * math/e_gammal_r.c: Likewise.
59717         * math/e_hypotl.c: Likewise.
59718         * math/e_j0l.c: Likewise.
59719         * math/e_j1l.c: Likewise.
59720         * math/e_jnl.c: Likewise.
59721         * math/e_lgammal_r.c: Likewise.
59722         * math/e_log10l.c: Likewise.
59723         * math/e_log2l.c: Likewise.
59724         * math/e_logl.c: Likewise.
59725         * math/e_powl.c: Likewise.
59726         * math/e_rem_pio2l.c: Likewise.
59727         * math/e_sinhl.c: Likewise.
59728         * math/e_sqrtl.c: Likewise.
59729         * math/fclrexcpt.c: Likewise.
59730         * math/fedisblxcpt.c: Likewise.
59731         * math/feenablxcpt.c: Likewise.
59732         * math/fegetenv.c: Likewise.
59733         * math/fegetexcept.c: Likewise.
59734         * math/fegetround.c: Likewise.
59735         * math/feholdexcpt.c: Likewise.
59736         * math/fesetenv.c: Likewise.
59737         * math/fesetround.c: Likewise.
59738         * math/feupdateenv.c: Likewise.
59739         * math/fgetexcptflg.c: Likewise.
59740         * math/fraiseexcpt.c: Likewise.
59741         * math/fsetexcptflg.c: Likewise.
59742         * math/ftestexcept.c: Likewise.
59743         * math/k_cosl.c: Likewise.
59744         * math/k_rem_pio2l.c: Likewise.
59745         * math/k_sinl.c: Likewise.
59746         * math/k_tanl.c: Likewise.
59747         * math/s_asinhl.c: Likewise.
59748         * math/s_atanl.c: Likewise.
59749         * math/s_cbrtl.c: Likewise.
59750         * math/s_erfl.c: Likewise.
59751         * math/s_expm1l.c: Likewise.
59752         * math/s_log1pl.c: Likewise.
59753         * math/s_tanhl.c: Likewise.
59754         * misc/acct.c: Likewise.
59755         * misc/brk.c: Likewise.
59756         * misc/chflags.c: Likewise.
59757         * misc/chroot.c: Likewise.
59758         * misc/fchflags.c: Likewise.
59759         * misc/fgetxattr.c: Likewise.
59760         * misc/flistxattr.c: Likewise.
59761         * misc/fremovexattr.c: Likewise.
59762         * misc/fsetxattr.c: Likewise.
59763         * misc/fsync.c: Likewise.
59764         * misc/ftruncate.c: Likewise.
59765         * misc/futimes.c: Likewise.
59766         * misc/futimesat.c: Likewise.
59767         * misc/getdomain.c: Likewise.
59768         * misc/getdtsz.c: Likewise.
59769         * misc/gethostid.c: Likewise.
59770         * misc/gethostname.c: Likewise.
59771         * misc/getloadavg.c: Likewise.
59772         * misc/getpagesize.c: Likewise.
59773         * misc/getsysstats.c: Likewise.
59774         * misc/getxattr.c: Likewise.
59775         * misc/gtty.c: Likewise.
59776         * misc/ioctl.c: Likewise.
59777         * misc/lgetxattr.c: Likewise.
59778         * misc/listxattr.c: Likewise.
59779         * misc/llistxattr.c: Likewise.
59780         * misc/lremovexattr.c: Likewise.
59781         * misc/lsetxattr.c: Likewise.
59782         * misc/lutimes.c: Likewise.
59783         * misc/madvise.c: Likewise.
59784         * misc/mincore.c: Likewise.
59785         * misc/mlock.c: Likewise.
59786         * misc/mlockall.c: Likewise.
59787         * misc/mmap.c: Likewise.
59788         * misc/mprotect.c: Likewise.
59789         * misc/msync.c: Likewise.
59790         * misc/munlock.c: Likewise.
59791         * misc/munlockall.c: Likewise.
59792         * misc/munmap.c: Likewise.
59793         * misc/preadv.c: Likewise.
59794         * misc/preadv64.c: Likewise.
59795         * misc/ptrace.c: Likewise.
59796         * misc/pwritev.c: Likewise.
59797         * misc/pwritev64.c: Likewise.
59798         * misc/readv.c: Likewise.
59799         * misc/reboot.c: Likewise.
59800         * misc/remap_file_pages.c: Likewise.
59801         * misc/removexattr.c: Likewise.
59802         * misc/revoke.c: Likewise.
59803         * misc/select.c: Likewise.
59804         * misc/setdomain.c: Likewise.
59805         * misc/setegid.c: Likewise.
59806         * misc/seteuid.c: Likewise.
59807         * misc/sethostid.c: Likewise.
59808         * misc/sethostname.c: Likewise.
59809         * misc/setregid.c: Likewise.
59810         * misc/setreuid.c: Likewise.
59811         * misc/setxattr.c: Likewise.
59812         * misc/sstk.c: Likewise.
59813         * misc/stty.c: Likewise.
59814         * misc/swapoff.c: Likewise.
59815         * misc/swapon.c: Likewise.
59816         * misc/sync.c: Likewise.
59817         * misc/syncfs.c: Likewise.
59818         * misc/syscall.c: Likewise.
59819         * misc/truncate.c: Likewise.
59820         * misc/ualarm.c: Likewise.
59821         * misc/usleep.c: Likewise.
59822         * misc/ustat.c: Likewise.
59823         * misc/utimes.c: Likewise.
59824         * misc/vhangup.c: Likewise.
59825         * misc/writev.c: Likewise.
59826         * posix/_exit.c: Likewise.
59827         * posix/alarm.c: Likewise.
59828         * posix/execve.c: Likewise.
59829         * posix/fexecve.c: Likewise.
59830         * posix/fork.c: Likewise.
59831         * posix/fpathconf.c: Likewise.
59832         * posix/getaddrinfo.c: Likewise.
59833         * posix/getegid.c: Likewise.
59834         * posix/geteuid.c: Likewise.
59835         * posix/getgid.c: Likewise.
59836         * posix/getgroups.c: Likewise.
59837         * posix/getlogin.c: Likewise.
59838         * posix/getlogin_r.c: Likewise.
59839         * posix/getpgid.c: Likewise.
59840         * posix/getpid.c: Likewise.
59841         * posix/getppid.c: Likewise.
59842         * posix/getresgid.c: Likewise.
59843         * posix/getresuid.c: Likewise.
59844         * posix/getsid.c: Likewise.
59845         * posix/getuid.c: Likewise.
59846         * posix/glob64.c: Likewise.
59847         * posix/nanosleep.c: Likewise.
59848         * posix/pathconf.c: Likewise.
59849         * posix/pause.c: Likewise.
59850         * posix/posix_madvise.c: Likewise.
59851         * posix/pread.c: Likewise.
59852         * posix/pread64.c: Likewise.
59853         * posix/pwrite.c: Likewise.
59854         * posix/pwrite64.c: Likewise.
59855         * posix/sched_getaffinity.c: Likewise.
59856         * posix/sched_getp.c: Likewise.
59857         * posix/sched_gets.c: Likewise.
59858         * posix/sched_primax.c: Likewise.
59859         * posix/sched_primin.c: Likewise.
59860         * posix/sched_rr_gi.c: Likewise.
59861         * posix/sched_setaffinity.c: Likewise.
59862         * posix/sched_setp.c: Likewise.
59863         * posix/sched_sets.c: Likewise.
59864         * posix/sched_yield.c: Likewise.
59865         * posix/setgid.c: Likewise.
59866         * posix/setlogin.c: Likewise.
59867         * posix/setpgid.c: Likewise.
59868         * posix/setresgid.c: Likewise.
59869         * posix/setresuid.c: Likewise.
59870         * posix/setsid.c: Likewise.
59871         * posix/setuid.c: Likewise.
59872         * posix/sleep.c: Likewise.
59873         * posix/spawni.c: Likewise.
59874         * posix/sysconf.c: Likewise.
59875         * posix/times.c: Likewise.
59876         * posix/wait.c: Likewise.
59877         * posix/wait3.c: Likewise.
59878         * posix/wait4.c: Likewise.
59879         * posix/waitpid.c: Likewise.
59880         * resolv/gai_sigqueue.c: Likewise.
59881         * resource/getpriority.c: Likewise.
59882         * resource/getrlimit.c: Likewise.
59883         * resource/getrusage.c: Likewise.
59884         * resource/nice.c: Likewise.
59885         * resource/setpriority.c: Likewise.
59886         * resource/setrlimit.c: Likewise.
59887         * resource/ulimit.c: Likewise.
59888         * rt/aio_cancel.c: Likewise.
59889         * rt/aio_fsync.c: Likewise.
59890         * rt/aio_read.c: Likewise.
59891         * rt/aio_sigqueue.c: Likewise.
59892         * rt/aio_suspend.c: Likewise.
59893         * rt/aio_write.c: Likewise.
59894         * rt/clock_getres.c: Likewise.
59895         * rt/clock_gettime.c: Likewise.
59896         * rt/clock_nanosleep.c: Likewise.
59897         * rt/clock_settime.c: Likewise.
59898         * rt/lio_listio.c: Likewise.
59899         * rt/mq_close.c: Likewise.
59900         * rt/mq_getattr.c: Likewise.
59901         * rt/mq_notify.c: Likewise.
59902         * rt/mq_open.c: Likewise.
59903         * rt/mq_receive.c: Likewise.
59904         * rt/mq_send.c: Likewise.
59905         * rt/mq_setattr.c: Likewise.
59906         * rt/mq_timedreceive.c: Likewise.
59907         * rt/mq_timedsend.c: Likewise.
59908         * rt/mq_unlink.c: Likewise.
59909         * rt/shm_open.c: Likewise.
59910         * rt/shm_unlink.c: Likewise.
59911         * rt/timer_create.c: Likewise.
59912         * rt/timer_delete.c: Likewise.
59913         * rt/timer_getoverr.c: Likewise.
59914         * rt/timer_gettime.c: Likewise.
59915         * rt/timer_settime.c: Likewise.
59916         * setjmp/__longjmp.c: Likewise.
59917         * setjmp/setjmp.c: Likewise.
59918         * signal/kill.c: Likewise.
59919         * signal/killpg.c: Likewise.
59920         * signal/raise.c: Likewise.
59921         * signal/sigaction.c: Likewise.
59922         * signal/sigaltstack.c: Likewise.
59923         * signal/sigblock.c: Likewise.
59924         * signal/sigignore.c: Likewise.
59925         * signal/sigintr.c: Likewise.
59926         * signal/signal.c: Likewise.
59927         * signal/sigpause.c: Likewise.
59928         * signal/sigpending.c: Likewise.
59929         * signal/sigqueue.c: Likewise.
59930         * signal/sigreturn.c: Likewise.
59931         * signal/sigset.c: Likewise.
59932         * signal/sigsetmask.c: Likewise.
59933         * signal/sigstack.c: Likewise.
59934         * signal/sigsuspend.c: Likewise.
59935         * signal/sigtimedwait.c: Likewise.
59936         * signal/sigvec.c: Likewise.
59937         * signal/sigwait.c: Likewise.
59938         * signal/sigwaitinfo.c: Likewise.
59939         * signal/sysv_signal.c: Likewise.
59940         * socket/accept.c: Likewise.
59941         * socket/accept4.c: Likewise.
59942         * socket/bind.c: Likewise.
59943         * socket/connect.c: Likewise.
59944         * socket/getpeername.c: Likewise.
59945         * socket/getsockname.c: Likewise.
59946         * socket/getsockopt.c: Likewise.
59947         * socket/isfdtype.c: Likewise.
59948         * socket/listen.c: Likewise.
59949         * socket/recv.c: Likewise.
59950         * socket/recvfrom.c: Likewise.
59951         * socket/recvmsg.c: Likewise.
59952         * socket/send.c: Likewise.
59953         * socket/sendmsg.c: Likewise.
59954         * socket/sendto.c: Likewise.
59955         * socket/setsockopt.c: Likewise.
59956         * socket/shutdown.c: Likewise.
59957         * socket/sockatmark.c: Likewise.
59958         * socket/socket.c: Likewise.
59959         * socket/socketpair.c: Likewise.
59960         * stdio-common/ctermid.c: Likewise.
59961         * stdio-common/cuserid.c: Likewise.
59962         * stdio-common/remove.c: Likewise.
59963         * stdio-common/rename.c: Likewise.
59964         * stdio-common/renameat.c: Likewise.
59965         * stdio-common/tempname.c: Likewise.
59966         * stdlib/getcontext.c: Likewise.
59967         * stdlib/makecontext.c: Likewise.
59968         * stdlib/setcontext.c: Likewise.
59969         * stdlib/swapcontext.c: Likewise.
59970         * stdlib/system.c: Likewise.
59971         * streams/fattach.c: Likewise.
59972         * streams/fdetach.c: Likewise.
59973         * streams/getmsg.c: Likewise.
59974         * streams/getpmsg.c: Likewise.
59975         * streams/putmsg.c: Likewise.
59976         * streams/putpmsg.c: Likewise.
59977         * sysdeps/unix/bsd/getpt.c: Likewise.
59978         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
59979         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
59980         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
59982         Likewise.
59983         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
59984         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59985         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
59986         * sysvipc/msgctl.c: Likewise.
59987         * sysvipc/msgget.c: Likewise.
59988         * sysvipc/msgrcv.c: Likewise.
59989         * sysvipc/msgsnd.c: Likewise.
59990         * sysvipc/semctl.c: Likewise.
59991         * sysvipc/semget.c: Likewise.
59992         * sysvipc/semop.c: Likewise.
59993         * sysvipc/semtimedop.c: Likewise.
59994         * sysvipc/shmat.c: Likewise.
59995         * sysvipc/shmctl.c: Likewise.
59996         * sysvipc/shmdt.c: Likewise.
59997         * sysvipc/shmget.c: Likewise.
59998         * termios/tcdrain.c: Likewise.
59999         * termios/tcflow.c: Likewise.
60000         * termios/tcflush.c: Likewise.
60001         * termios/tcgetattr.c: Likewise.
60002         * termios/tcgetpgrp.c: Likewise.
60003         * termios/tcsendbrk.c: Likewise.
60004         * termios/tcsetattr.c: Likewise.
60005         * termios/tcsetpgrp.c: Likewise.
60006         * time/adjtime.c: Likewise.
60007         * time/clock.c: Likewise.
60008         * time/getitimer.c: Likewise.
60009         * time/gettimeofday.c: Likewise.
60010         * time/setitimer.c: Likewise.
60011         * time/settimeofday.c: Likewise.
60012         * time/stime.c: Likewise.
60013         * time/time.c: Likewise.
60015 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60017         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60018         /usr/old/bin.
60020         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60021         instead of spaces.
60022         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60024 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60026         [BZ #14796]
60027         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60028         FE_TONEAREST before applying Dekker multiplication and Knuth
60029         addition.  Clear inexact exceptions and check for exact zero
60030         results afterwards.
60031         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60032         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60033         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60034         * math/libm-test.inc (fma_test): Add more tests.
60035         (fma_test_towardzero): Likewise.
60036         (fma_test_downward): Likewise.
60037         (fma_test_upward): Likewise.
60038         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60039         function.
60040         (libc_fesetround): New macro.
60041         (libc_fesetroundf): Likewise.
60042         (libc_fesetroundl): Likewise.
60043         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60044         function.
60045         (libc_fesetround_387): Likewise.
60046         (libc_fesetroundf): New macro.
60047         (libc_fesetround): Likewise.
60048         (libc_fesetroundl): Likewise.
60049         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60050         function.
60051         (libc_fesetroundf): New macro.
60052         (libc_fesetround): Likewise.
60053         (libc_fesetroundl): Likewise.
60054         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60055         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60056         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60057         libm_hidden_ver.
60058         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60059         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60060         libm_hidden_def.
60061         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60062         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60063         libm_hidden_ver.
60064         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60065         libm_hidden_def.
60067         [BZ #3439]
60068         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60069         integer constant usable in #if and use that to give value to enum
60070         constant.
60071         (FE_DIVBYZERO): Likewise.
60072         (FE_UNDERFLOW): Likewise.
60073         (FE_OVERFLOW): Likewise.
60074         (FE_INVALID): Likewise.
60075         (FE_INVALID_SNAN): Likewise.
60076         (FE_INVALID_ISI): Likewise.
60077         (FE_INVALID_IDI): Likewise.
60078         (FE_INVALID_ZDZ): Likewise.
60079         (FE_INVALID_IMZ): Likewise.
60080         (FE_INVALID_COMPARE): Likewise.
60081         (FE_INVALID_SOFTWARE): Likewise.
60082         (FE_INVALID_SQRT): Likewise.
60083         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60084         (FE_TONEAREST): Likewise.
60085         (FE_TOWARDZERO): Likewise.
60086         (FE_UPWARD): Likewise.
60087         (FE_DOWNWARD): Likewise.
60088         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60089         (FE_DIVBYZERO): Likewise.
60090         (FE_OVERFLOW): Likewise.
60091         (FE_UNDERFLOW): Likewise.
60092         (FE_INEXACT): Likewise.
60093         (FE_TONEAREST): Likewise.
60094         (FE_DOWNWARD): Likewise.
60095         (FE_UPWARD): Likewise.
60096         (FE_TOWARDZERO): Likewise.
60097         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60098         (FE_UNDERFLOW): Likewise.
60099         (FE_OVERFLOW): Likewise.
60100         (FE_DIVBYZERO): Likewise.
60101         (FE_INVALID): Likewise.
60102         (FE_TONEAREST): Likewise.
60103         (FE_TOWARDZERO): Likewise.
60104         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60105         (FE_OVERFLOW): Likewise.
60106         (FE_UNDERFLOW): Likewise.
60107         (FE_DIVBYZERO): Likewise.
60108         (FE_INEXACT): Likewise.
60109         (FE_TONEAREST): Likewise.
60110         (FE_TOWARDZERO): Likewise.
60111         (FE_UPWARD): Likewise.
60112         (FE_DOWNWARD): Likewise.
60113         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60114         (FE_DIVBYZERO): Likewise.
60115         (FE_OVERFLOW): Likewise.
60116         (FE_UNDERFLOW): Likewise.
60117         (FE_INEXACT): Likewise.
60118         (FE_TONEAREST): Likewise.
60119         (FE_DOWNWARD): Likewise.
60120         (FE_UPWARD): Likewise.
60121         (FE_TOWARDZERO): Likewise.
60123 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60125         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60127 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60129         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60130         commands.  Quote $PWD.
60131         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60132         -x" by "export".
60133         (remove_newlines): Remove.
60135 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60137         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60138         * stdlib/stdlib.h (atof): Moved to ...
60139         * include/bits/stdlib-float.h: Here.  New file.
60140         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60141         * stdlib/bits/stdlib-float.h: New file.
60142         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60143         -mno-sse -mno-mmx.
60144         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60145         <xmmintrin.h>.
60147 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60149         * conform/conformtest.pl (@headers): Add fenv.h.
60150         * conform/data/fenv.h-data: New file.
60151         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60152         include of <math/fenv.h>.
60154         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60155         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60156         && !UNIX98].  Enables tests for XOPEN2K8.
60157         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60158         POSIX2008]: Likewise.
60160         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60161         (struct rusage): Do not expect type or its members.
60163         [BZ #3439]
60164         * math/math.h (FP_NAN): Define macro to integer constant usable in
60165         #if and use that to give value to enum constant.
60166         (FP_INFINITE): Likewise.
60167         (FP_ZERO): Likewise.
60168         (FP_SUBNORMAL): Likewise.
60169         (FP_NORMAL): Likewise.
60171 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60173         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60174         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60175         arguments.
60177 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60179         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60180         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60181         autoconf-time if not.
60182         * configure.in: Remove AC_PREREQ.
60184 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60186         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60187         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60188         of the internal implementation.
60190 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60192         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60193         except include of <misc/sys/syslog.h>.
60195 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60198         function returns with a NULL context exit with zero.
60200 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60202         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60204 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60206         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60207         (run_program_cmd): This.
60208         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60209         (tst_langinfo): New variable.  Use it.
60211 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60213         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60214         floating point opcodes.
60216 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60218         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60219         variable.
60221         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60223         * sysdeps/mach/hurd/powerpc: Remove directory.
60224         * sysdeps/mach/powerpc: Likewise.
60226 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60228         * scripts/check-local-headers.sh: Ignore c++ headers.
60230 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60232         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60233         __libc_cleanup_region_start argument.
60235 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60237         [BZ #14784]
60238         [BZ #14785]
60239         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60240         x * y using scaling, not as x * y + z.
60241         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60242         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60243         * math/libm-test.inc (fma_test): Add more tests.
60244         (fma_test_towardzero): Likewise.
60245         (fma_test_downward): Likewise.
60246         (fma_test_upward): Likewise.
60248 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60250         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60252 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60254         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60255         New variable.
60257 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60259         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60261 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60264         Fix sort order.
60265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60266         Likewise.
60268 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60271         Fix the order of the list for glibc 2.17.
60272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60273         Likewise.
60275 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60279 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60281         [BZ #14610]
60282         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60283         for low part of x being zero before using __atanl (y).
60284         * math/libm-test.inc (atan2_test): Add another test.
60286         * manual/install.texi (Configuring and compiling): Document
60287         general use of test-wrapper and test-wrapper-env.
60288         * INSTALL: Regenerated.
60290         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60291         (__fma): Do not extract and scale down low bits on after-rounding
60292         systems when result rounded to normal precision would have normal
60293         exponent.
60294         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60295         (__fmal): Do not extract and scale down low bits on after-rounding
60296         systems when result rounded to normal precision would have normal
60297         exponent.
60298         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60299         (__fmal): Do not extract and scale down low bits on after-rounding
60300         systems when result rounded to normal precision would have normal
60301         exponent.
60302         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60303         macro.
60304         (fma_test): Add more tests.
60305         (fma_test_towardzero): Likewise.
60306         (fma_test_downward): Likewise.
60307         (fma_test_upward): Likewise.
60309 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60311         * sysdeps/i386/tininess.h: Renamed to ...
60312         * sysdeps/x86/tininess.h: This.
60313         * sysdeps/x86_64/tininess.h: Removed.
60315 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60317         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60318         input.  Use $(build-program-cmd).
60319         ($(objpfx)tst-array1-static.out): Likewise.
60320         ($(objpfx)tst-array2.out): Likewise.
60321         ($(objpfx)tst-array3.out): Likewise.
60322         ($(objpfx)tst-array4.out): Likewise.
60323         ($(objpfx)tst-array5.out): Likewise.
60324         ($(objpfx)tst-array5-static.out): Likewise.
60326 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60328         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60329         if defined.
60331         * nss/nsswitch.h (nss_interface_function): Provide new
60332         macro for use with NSS functions.
60333         * grp/initgroups.c: Use new macro.
60334         * nss/getXXbyYY.c: Likewise.
60335         * nss/getXXbyYY_r.c: Likewise.
60336         * nss/getXXent.c: Likewise.
60337         * nss/getXXent_r.c: Likewise.
60338         * sysdeps/posix/getaddrinfo.c: Likewise.
60340 2012-10-30  Andreas Jaeger  <aj@suse.de>
60342         * po/ru.po: Update Russion translation from translation project.
60344 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60346         [BZ #14152]
60347         [BZ #14783]
60348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60349         result and shift together with sticky bit instead of replicating
60350         round-to-nearest rounding.
60351         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60352         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60353         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60354         missing underflow exceptions.
60355         (fma_test_towardzero): Add more tests.
60356         (fma_test_downward): Likewise.
60357         (fma_test_upward): Likewise.
60359         [BZ #14047]
60360         * sysdeps/generic/tininess.h: New file.
60361         * sysdeps/i386/tininess.h: Likewise.
60362         * sysdeps/sh/tininess.h: Likewise.
60363         * sysdeps/x86_64/tininess.h: Likewise.
60364         * stdlib/tst-strtod-underflow.c: Likewise.
60365         * stdlib/tst-tininess.c: Likewise.
60366         * stdlib/strtod_l.c: Include <tininess.h>.
60367         (round_and_return): Do not set errno for exact underflow cases.
60368         Force an underflow exception when setting errno for underflow.
60369         Determine underflow based on rounding to normal precision if
60370         TININESS_AFTER_ROUNDING.
60371         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60372         ERANGE for exact underflow cases.
60373         * stdlib/Makefile (tests): Add tst-tininess and
60374         tst-strtod-underflow.
60375         ($(objpfx)tst-tininess): Use $(link-libm).
60376         ($(objpfx)tst-strtod-underflow): Likewise.
60378 2012-10-30  Andreas Jaeger  <aj@suse.de>
60380         [BZ#14767]
60381         * elf/Makefile (tests): Remove conditional for have-initfini-array
60382         since this is now always required and the variable does not exist
60383         anymore.
60384         (tests-static): Likewise.
60385         (modules-names): Likewise.
60387         * po/eo.po: Add Esperanto translation from translation project.
60389         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60390         merged with constructor/destructor.
60391         (init_array): Likewise.
60392         * elf/tst-array2dep.c (fini_array): Likewise.
60393         (init_array): Likewise.
60395 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60397         * manual/message.texi: Delete @cartouche tags.
60399 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60401         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60402         EOPNOTSUPP.
60403         * sysdeps/mach/hurd/fsync.c: Likewise.
60405         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60406         [_POSIX_REALTIME_SIGNALS]: Change condition to
60407         [_POSIX_REALTIME_SIGNALS > 0].
60409 2012-10-27  Andreas Jaeger  <aj@suse.de>
60411         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60412         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60413         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60414         [__WORDSIZE != 64]: Likewise.
60416 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60418         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60419         *  iconvdata/tst-tables.sh: Likewise.
60421 2012-10-25  David S. Miller  <davem@davemloft.net>
60423         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60424         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60425         of strtoull.
60427         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60428         ifunc-impl-list.c
60429         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60430         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60431         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60432         file.
60434 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60436         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60437         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60438         __getdirentries.
60440 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60441             Jim Blandy  <jimb@codesourcery.com>
60443         * scripts/cross-test-ssh.sh: New file.
60444         * manual/install.texi (Configuring and compiling): Document use of
60445         cross-test-ssh.sh.
60446         * INSTALL: Regenerated.
60448 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60450         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60451         EOPNOTSUPP.
60453 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60455         * Makeconfig (run-program-prefix): Fix comment.
60457 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60458             Jim Blandy  <jimb@codesourcery.com>
60460         * Makeconfig (test-wrapper): New variable,
60461         (test-wrapper-env): Likewise.
60462         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60463         (run-built-tests): Define to yes.
60464         (run-program-prefix): Use $(test-wrapper).
60465         (built-program-cmd): Likewise.
60466         * Rules (make-test-out): Use $(test-wrapper-env) and
60467         $(host-built-program-cmd).
60468         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60469         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60470         tst-pathopt.sh.
60471         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60472         $(test-wrapper-env) to tst-rtld-load-self.sh.
60473         ($(objpfx)order2.out): Use $(test-wrapper).
60474         ($(objpfx)tst-initorder.out): Likewise.
60475         ($(objpfx)tst-initorder2.out): Likewise.
60476         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60477         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60478         (test_wrapper_env): New variable.  Use it to run ld.so.
60479         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60480         Use it to run ld.so.
60481         (test_wrapper_env): Likewise.
60482         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60483         $(test-wrapper) to run-iconv-test.sh.
60484         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60485         (ICONV): Use $test_wrapper.
60486         * posix/Makefile ($(objpfx)globtest.out): Pass
60487         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60488         globtest.sh, not $(run-program-prefix).
60489         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60490         (test_wrapper): Likewise.
60491         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60492         set together with run_via_rtld_prefix.
60493         (run_program_prefix): Define in terms of test_wrapper and
60494         run_via_rtld_prefix.
60496 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60498         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60499         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60500         Targets removed.
60502         [BZ #14743]
60503         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60504         Declare __clock_getres, __clock_gettime, __clock_settime,
60505         __clock_nanosleep, and __clock_getcpuclockid.
60506         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60507         Remove librt_hidden_def (clock_gettime).
60508         * sysdeps/unix/clock_gettime.c: Likewise.
60509         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60510         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60511         * rt/clock_getres.c: Define __clock_getres as an alias.
60512         * sysdeps/posix/clock_getres.c: Likewise.
60513         * rt/clock_settime.c: Define __clock_settime as an alias.
60514         * sysdeps/unix/clock_settime.c: Likewise.
60515         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60516         * sysdeps/unix/clock_nanosleep.c: Likewise.
60517         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60518         * rt/clock-compat.c: New file.
60519         * rt/Makefile (librt-routines): Add clock-compat and move
60520         $(clock-routines) to ...
60521         (routines): ... here, new variable.
60522         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60523         Don't add get_clockfreq here.
60524         * rt/Versions (libc: GLIBC_2.17): New version set.
60525         Add clock_* symbols here.
60526         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60527         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60528         (GLIBC_2.17): Add clock_* symbols.
60529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60531         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60533         Likewise.
60534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60535         Likewise.
60536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
60538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
60540         * NEWS: Mention the move.
60542         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
60543         Use __open, __read, __close rather than their public counterparts.
60544         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60545         (__get_clockfreq_via_cpuinfo): Likewise.
60546         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
60547         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
60549         * config.h.in (HAVE_IFUNC): New #undef.
60550         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
60551         was successful.
60552         * configure: Regenerated.
60554 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60556         * configure.in: Move READELF check to start of file.
60557         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
60558         libc_cv_asm_gnu_indirect_function in the process.
60559         * configure: Regenerated.
60561 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
60563         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
60564         send the output to /dev/null.
60565         (libc_cv_cc_with_libunwind): Likewise.
60566         (libc_cv_as_noexecstack): Likewise.
60567         * configure: Regenerate.
60569 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60571         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
60573         * posix/globtest.sh (TMPDIR): Do not set.
60574         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
60575         (testout): Likewise.
60577 2012-10-24  Andreas Jaeger  <aj@suse.de>
60579         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
60580         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
60581         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
60582         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
60583         posix_fadvise64, posix_fallocate64.
60585         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
60586         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
60587         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
60588         Likewise.
60589         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
60590         Likewise.
60591         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
60593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
60594         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
60595         <bits/fcntl-linux.h>.
60596         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
60598         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
60599         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
60600         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
60601         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
60602         [__WORDSIZE != 64]: Likewise.
60604 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60606         * Makeconfig (run-built-tests): New variable.
60607         * Rules [$(cross-compiling) = yes]: Change condition to
60608         [$(run-built-tests) = no].
60609         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
60610         to [$(run-built-tests) = yes].
60611         * elf/Makefile [$(cross-compiling) = no]: Likewise.
60612         * grp/Makefile [$(cross-compiling) = no]: Likewise.
60613         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
60614         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
60615         * intl/Makefile [$(cross-compiling) = no]: Likewise.
60616         * io/Makefile [$(cross-compiling) = no]: Likewise.
60617         * libio/Makefile [$(cross-compiling) = no]: Likewise.
60618         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
60619         * misc/Makefile [$(cross-compiling) = no]: Likewise.
60620         * posix/Makefile [$(cross-compiling) = no]: Likewise.
60621         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
60622         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
60623         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
60624         * string/Makefile [$(cross-compiling) = no]: Likewise.
60626         * posix/Makefile ($(objpfx)globtest.out): Pass
60627         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
60628         $(rtld-installed-name).
60629         * posix/globtest.sh (elf_objpfx): Remove variable.
60630         (rtld_installed_name): Likewise.
60631         (library_path): Likewise.
60632         (run_program_prefix): New variable.  Use for running globtest
60633         binary.
60635 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
60636             Joseph Myers  <joseph@codesourcery.com>
60638         * Makeconfig (host-built-program-cmd): New variable.
60639         * elf/Makefile (tst-stackguard1-ARGS): Use
60640         $(host-built-program-cmd).
60641         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
60642         (tst-spawn-ARGS): Likewise.
60643         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
60645 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
60646             Jim Blandy  <jimb@codesourcery.com>
60648         * Makeconfig (run-via-rtld-prefix): New variable.
60649         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
60650         (built-program-cmd): Likewise.
60652 2012-10-22  Andreas Jaeger  <aj@suse.de>
60654         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
60655         __O_RSYNC if it exists, otherwise to O_SYNC.
60657 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
60658             Joseph Myers  <joseph@codesourcery.com>
60660         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
60661         /dev/null.
60662         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
60663         from /dev/null
60664         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
60665         /dev/null.
60667 2012-10-22  Andreas Jaeger  <aj@suse.de>
60669         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
60670         Define always.
60671         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
60673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60674         bits/fcntl-linux.h.
60676         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
60677         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
60679         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
60680         to __O_LARGEFILE.
60681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
60682         to __O_LARGEFILE.
60684 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
60685             Joseph Myers  <joseph@codesourcery.com>
60687         * config.make.in (NM): New variable.
60689 2012-10-21  Andreas Jaeger  <aj@suse.de>
60691         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
60692         definitions and declarations that are provided by
60693         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
60695 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60697         [BZ #14683]
60698         * elf/Makefile (tests-static): Add tst-leaks1-static.
60699         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
60700         ($(objpfx)tst-leaks1-static): New rule.
60701         ($(objpfx)tst-leaks1-static-mem): Likewise.
60702         (tst-leaks1-static-ENV): New macro.
60703         * elf/dl-open.c (dl_open_worker): Check the main application
60704         only if SHARED is defined.
60705         * elf/tst-leaks1-static.c: New file.
60707 2012-10-20  Andreas Jaeger  <aj@suse.de>
60709         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
60710         generic values for Linux.
60711         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
60712         and declarations that are provided by <bits/fcntl-linux.h> and
60713         include <bits/fcntl-linux.h>.
60714         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60715         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60717 2012-10-20  Roland McGrath  <roland@hack.frob.com>
60719         * io/fcntl.h: Move include of <bits/types.h> to the top and
60720         include it unconditionally.
60722 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
60724         * wcsmbs/Makefile (tests-ifunc): New variable.
60725         (tests): Add $(tests-ifunc).
60726         * wcsmbs/test-wcschr-ifunc.c: New file.
60727         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
60728         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
60729         * wcsmbs/test-wcslen-ifunc.c: Likewise.
60730         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
60731         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
60733         * string/Makefile (tests-ifunc): New variable.
60734         (tests): Add $(tests-ifunc).
60735         * string/test-memccpy.c (TEST_NAME): New macro.
60736         * string/test-memchr.c (TEST_NAME): Likewise.
60737         * string/test-memcmp.c (TEST_NAME): Likewise.
60738         * string/test-memcpy.c (TEST_NAME): Likewise.
60739         * string/test-memmem.c (TEST_NAME): Likewise.
60740         * string/test-memmove.c (TEST_NAME): Likewise.
60741         * string/test-memset.c (TEST_NAME): Likewise.
60742         * string/test-rawmemchr.c (TEST_NAME): Likewise.
60743         * string/test-stpcpy.c (TEST_NAME): Likewise.
60744         * string/test-stpncpy.c (TEST_NAME): Likewise.
60745         * string/test-strcasecmp.c (TEST_NAME): Likewise.
60746         * string/test-strcasestr.c (TEST_NAME): Likewise.
60747         * string/test-strcat.c (TEST_NAME): Likewise.
60748         * string/test-strchr.c (TEST_NAME): Likewise.
60749         * string/test-strcmp.c(TEST_NAME): Likewise.
60750         * string/test-strcpy.c (TEST_NAME): Likewise.
60751         * string/test-strcspn.c (TEST_NAME): Likewise.
60752         * string/test-strlen.c (TEST_NAME): Likewise.
60753         * string/test-strncasecmp.c (TEST_NAME): Likewise.
60754         * string/test-strncmp.c (TEST_NAME): Likewise.
60755         * string/test-strncpy.c (TEST_NAME): Likewise.
60756         * string/test-strnlen.c (TEST_NAME): Likewise.
60757         * string/test-strpbrk.c (TEST_NAME): Likewise.
60758         * string/test-strrchr.c (TEST_NAME): Likewise.
60759         * string/test-strspn.c (TEST_NAME): Likewise.
60760         * string/test-strstr.c (TEST_NAME): Likewise.
60761         * string/test-bcopy-ifunc.c: New file.
60762         * string/test-bzero-ifunc.c: Likewise.
60763         * string/test-memccpy-ifunc.c: Likewise.
60764         * string/test-memchr-ifunc.c: Likewise.
60765         * string/test-memcmp-ifunc.c: Likewise.
60766         * string/test-memcpy-ifunc.c: Likewise.
60767         * string/test-memmem-ifunc.c: Likewise.
60768         * string/test-memmove-ifunc.c: Likewise.
60769         * string/test-mempcpy-ifunc.c: Likewise.
60770         * string/test-memset-ifunc.c: Likewise.
60771         * string/test-rawmemchr-ifunc.c: Likewise.
60772         * string/test-stpcpy-ifunc.c: Likewise.
60773         * string/test-stpncpy-ifunc.c: Likewise.
60774         * string/test-strcasecmp-ifunc.c: Likewise.
60775         * string/test-strcasestr-ifunc.c: Likewise.
60776         * string/test-strcat-ifunc.c: Likewise.
60777         * string/test-strchr-ifunc.c: Likewise.
60778         * string/test-strchrnul-ifunc.c: Likewise.
60779         * string/test-strcmp-ifunc.c: Likewise.
60780         * string/test-strcpy-ifunc.c: Likewise.
60781         * string/test-strcspn-ifunc.c: Likewise.
60782         * string/test-strlen-ifunc.c: Likewise.
60783         * string/test-strncasecmp-ifunc.c: Likewise.
60784         * string/test-strncat-ifunc.c: Likewise.
60785         * string/test-strncmp-ifunc.c: Likewise.
60786         * string/test-strncpy-ifunc.c: Likewise.
60787         * string/test-strnlen-ifunc.c: Likewise.
60788         * string/test-strpbrk-ifunc.c: Likewise.
60789         * string/test-strrchr-ifunc.c: Likewise.
60790         * string/test-strspn-ifunc.c: Likewise.
60791         * string/test-strstr-ifunc.c: Likewise.
60793         * debug/Makefile (tests-ifunc): New variable.
60794         (tests): Add $(tests-ifunc).
60795         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
60796         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
60797         * debug/test-stpcpy_chk-ifunc.c: New file.
60798         * debug/test-strcpy_chk-ifunc.c: Likewise.
60800 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60802         [BZ #13601]
60803         * elf/dl-load.c (open_verify): Retry read if the entire ELF
60804         header is not read in.
60806 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
60808         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
60809         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
60810         directly.  Pass built executable to script as
60811         $(built-program-cmd).
60812         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
60813         $testprogram without using LD_LIBRARY_PATH and $ldso.
60815         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
60816         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
60817         $(rtld-installed-name).
60818         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
60819         (rtld_installed_name): Likewise.
60820         (library_path): Likewise.
60821         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
60822         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
60823         $(run-program-prefix) to tst-tables.sh.
60824         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
60825         it to run tst-table-from and tst-table-to.
60826         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
60827         Pass it to tst-table.sh.
60828         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
60829         $(run-program-prefix) to tst-gettext.sh.
60830         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
60831         tst-translit.sh.
60832         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
60833         tst-gettext2.sh.
60834         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
60835         to run tst-gettext.
60836         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
60837         to run tst-gettext2.
60838         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
60839         to run tst-translit.
60840         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
60841         $(run-program-prefix) to tst-mtrace.sh.
60842         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
60843         to run tst-mtrace.
60844         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
60845         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
60846         $(rtld-installed-name).
60847         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
60848         (rtld_installed_name): Likewise.
60849         (run_program_prefix): New variable.  Use it to run wordexp-test.
60851         * Makeconfig (ARCH): Remove all definitions.
60852         (machine): Likewise.
60853         [ARCH]: Remove conditional code.
60854         [!objdir]: Give error.
60855         [!objdir] (objpfx): Remove.
60856         [!objdir] (common-objpfx): Likewise.
60857         [!objdir] (common-objdir): Likewise.
60858         * configure.in (config_makefile): Remove.  Hardcode Makefile in
60859         AC_CONFIG_FILES call.
60860         * configure: Regenerated.
60862         [BZ #13888]
60863         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
60864         or TMPDIR.
60865         (testout): Likewise.
60867         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
60868         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
60869         $(rtld-installed-name).
60870         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
60871         (rtld_installed_name): Likwise.
60872         (runit): Remove function.
60873         (run_getconf): New variable,  Use it for running getconf binary.
60875 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
60877         [BZ #14716]
60878         * string/test-memmem.c (check_result): New function.
60879         (do_one_test): Use it.
60880         (check1): New function.
60881         (test_main): Use it.
60883 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
60885         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
60887 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
60889         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
60890         (_G_LSEEK64): Likewise.
60891         (_G_MMAP64): Likewise.
60892         (_G_FSTAT64): Likewise.
60893         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
60894         (_G_LSEEK64): Likewise.
60895         (_G_MMAP64): Likewise.
60896         (_G_FSTAT64): Likewise.
60897         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
60898         unconditional.  Call __mmap64 directly.
60899         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
60900         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
60901         __lseek64 directly.
60902         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
60903         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
60904         __mmap64 directly.
60905         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
60906         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60907         __lseek64 directly.
60908         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
60909         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
60910         __lseek64 directly.
60911         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
60912         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
60913         __lseek64 directly.
60914         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
60915         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
60916         __fxstat64 directly.
60917         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
60918         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
60919         unconditional.
60920         (freopen64) [!_G_OPEN64]: Remove conditional code.
60921         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
60922         unconditional.
60923         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
60924         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
60925         unconditional.
60926         (ftello64) [!_G_LSEEK64]: Remove conditional code.
60927         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
60928         unconditional.
60929         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60930         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
60931         unconditional.
60932         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
60933         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
60934         unconditional.
60935         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60936         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
60937         unconditional.
60938         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
60939         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
60940         unconditional.
60941         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
60943 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60945         [BZ #12140]
60946         * manual/memory.texi (Malloc Tunable Parameters): Add note
60947         about free list pointers overwriting some perturb bytes.
60948         Wording suggested by Roland McGrath.
60950 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
60952         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
60953         (lgamma_test): Likewise.
60954         (tgamma_test): Likewise.
60956 2012-10-16  Florian Weimer  <fweimer@redhat.com>
60958         [BZ #14700]
60959         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
60960         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
60962 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
60964         * NEWS: Mention BZ #14716.
60965         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
60966         when removing AVAILABLE1_USES_J macro.
60968 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
60970         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
60971         (__bswap_64): __uint64_t for unsigned 64-bit int.
60973 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
60975         * include/string.h (memmem): Declare libc hidden alias.
60976         * string/memmem.c (memmem): Define libc hidden alias.
60977         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
60978         __read, __close instead of open, read, close.
60980 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
60982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
60983         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
60984         global and hidden.
60985         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
60986         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
60987         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
60988         Likewise.
60989         (__rawmemchr_sse2): Likewise.
60990         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
60991         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
60992         (__strchr_sse2): Likewise.
60993         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
60994         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
60995         (__strcasecmp_sse2): Likewise.
60996         (__strncasecmp_sse2): Likewise.
60997         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
60998         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
60999         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61000         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61001         (__strrchr_sse2): Likewise.
61002         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
61003         ifunc-impl-list.c.
61004         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
61005         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
61006         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
61007         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61008         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61009         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61010         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61011         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61012         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61013         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61014         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61015         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61016         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61017         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61018         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61019         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61020         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61021         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61022         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61023         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61024         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61025         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61026         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61027         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61028         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61029         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61030         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61031         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61032         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61033         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61035         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61036         global and hidden.
61037         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61038         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61039         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61040         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61041         Likewise.
61042         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61043         Likewise.
61044         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61045         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61046         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61047         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61048         ifunc-impl-list.c.
61049         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61050         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61051         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61052         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61053         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61054         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61055         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61056         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61057         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61058         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61059         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61060         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61061         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61062         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61063         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61064         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61065         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61066         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61067         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61068         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61069         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61070         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61071         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61072         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61073         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61074         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61075         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61076         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61077         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61078         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61079         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61080         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61081         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61082         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61083         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61084         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61085         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61086         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61087         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61088         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61089         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61091         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61092         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61093         * include/ifunc-impl-list.h: New file.
61094         * misc/ifunc-impl-list.c: Likewise.
61095         * misc/Makefile (routines): Add ifunc-impl-list.
61096         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61097         * string/test-string.h: Include <ifunc-impl-list.h>.
61098         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61099         TEST_NAME]: New variables.
61100         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61101         are defined.
61102         (test_init): Call __libc_ifunc_impl_list to initialize
61103         func_list if TEST_IFUNC and TEST_NAME are defined.
61105         * string/Makefile (strop-tests): Add bcopy and bzero.
61106         * string/test-bcopy.c: New file.
61107         * string/test-bzero.c: Likewise.
61108         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61109         defined.
61110         * string/test-memset.c: Support bzero test if TEST_BZERO is
61111         defined.
61112         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61113         __libc_memmove.
61114         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61115         __libc_memset.
61116         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61117         of memset.
61119 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61121         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61122         * configure: Regenerated.
61124         * Makeconfig (+link-static-before-libc): Don't include
61125         $(link-static-libc).
61127         * libio/libio.h (_IO_pos_t): Remove.
61129 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61131         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61132         McGrath.
61134 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61136         * crypt/crypt-entry.c: Include fips-private.h.
61137         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61138         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61139         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61140         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61142 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61144         * crypt/crypt-private.h: Include stdbool.h.
61145         (_ufc_setup_salt_r): Return bool.
61146         * crypt/crypt-entry.c: Include errno.h.
61147         (__crypt_r): Return NULL with EINVAL for bad salt.
61148         * crypt/crypt_util.c (bad_for_salt): New.
61149         (_ufc_setup_salt_r): Check that salt is long enough and within
61150         the specified alphabet.
61151         * crypt/badsalttest.c: New file.
61152         * crypt/Makefile (tests): Add it.
61153         ($(objpfx)badsalttest): New.
61155 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61157         * NEWS: Add entry for BZ #14602.
61159 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61161         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61162         type-generic.
61163         * math/libm-test.inc: Update comment listing what functions and
61164         macros are tested.
61165         (isgreater_test): New function.
61166         (isgreaterequal_test): Likewise.
61167         (isless_test): Likewise.
61168         (islessequal_test): Likewise.
61169         (islessgreater_test): Likewise.
61170         (isunordered_test): Likewise.
61171         (main): Call the new functions.
61173 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61175         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61176         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61177         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61178         * sysdeps/i386/configure: Regenerated.
61179         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61180         * sysdeps/mach/configure: Regenerated.
61181         * sysdeps/mach/hurd/configure: Regenerated.
61182         * sysdeps/powerpc/configure: Regenerated.
61183         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61184         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61185         * sysdeps/s390/s390-32/configure: Regenerated.
61186         * sysdeps/s390/s390-64/configure: Regenerated.
61187         * sysdeps/sh/configure: Regenerated.
61188         * sysdeps/sparc/configure: Regenerated.
61189         * sysdeps/unix/sysv/linux/configure: Regenerated.
61190         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61191         * sysdeps/x86_64/configure: Regenerated.
61193         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61194         defined.  Don't check if MAP is NULL.
61196 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61198         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61199         (_G_stat64): Likewise.
61200         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61201         (_G_stat64): Likewise.
61202         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61203         instead of struct _G_stat64.
61204         * libio/fileops.c (mmap_remap_check): Likewise.
61205         (decide_maybe_mmap): Likewise.
61206         (_IO_new_file_seekoff): Likewise.
61207         (_IO_file_stat): Likewise.
61208         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61209         _G_off64_t.
61210         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61211         instead of struct _G_stat64.
61212         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61214 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61216         [BZ #14602]
61217         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61218         Replace with ...
61219         (CHECK_EOL): New macro.
61220         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61221         CHECK_EOL.
61222         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61223         Replace with CHECK_EOL.
61224         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61225         Replace with CHECK_EOL.
61227 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61229         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61230         type-generic.
61231         * math/libm-test.inc: Update comment listing what functions and
61232         macros are tested.
61233         (finite_test): New function.
61234         (isinf_test): Likewise.
61235         (isnan_test): Likewise.
61236         (fpclassify_test): Test subnormal input.
61237         (isfinite_test): Likewise.
61238         (isnormal_test): Likewise.
61239         (main): Call the new functions.
61241 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61243         [BZ #14660]
61244         * Makerules (%.dynsym): Force C locale when running
61245         $(OBJDUMP) --dynamic-syms.
61247 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61249         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61250         <stdint.h>.
61252 2012-10-06  David S. Miller  <davem@davemloft.net>
61254         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61255         upper 32-bits of the length value in %o2 since we use branch-on-register
61256         tests which consider the entire 64-bit register.
61258 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61260         * string/test-strstr.c (check2): Add a test for page boundary.
61262 2012-10-05  David S. Miller  <davem@davemloft.net>
61264         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61265         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61266         file.
61267         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61268         sysdep_routines.
61269         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61270         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61271         and bzero when HWCAP_SPARC_CRYPTO is present.
61273 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61275         [BZ #14602]
61276         * string/test-strstr.c (check2): New function.
61277         (test_main): Call check2.
61279         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61280         and bug-strchr1.
61281         * string/bug-strcasestr1.c (do_test): Moved to ...
61282         * string/test-strcasestr.c (check1): Here.  New function.
61283         (do_one_test): Break out result checking code into ...
61284         (check_result): This.  New function.
61285         (do_one_test): Call check_result.
61286         (test_main): Call check1.
61287         * string/bug-strchr1.c (do_test): Moved to ...
61288         * string/test-strchr.c (check1): Here.  New function.
61289         (do_one_test): Break out result checking code into ...
61290         (check_result): This.  New function.
61291         (do_one_test): Call check_result.
61292         (test_main): Call check1.
61293         * string/bug-strstr1.c (main): Moved to ...
61294         * string/test-strstr.c (check1): Here.  New function.
61295         (do_one_test): Break out result checking code into ...
61296         (check_result): This.  New function.
61297         (do_one_test): Call check_result.
61298         (test_main): Call check1.
61299         * string/bug-strcasestr1.c: Removed.
61300         * string/bug-strchr1.c: Likewise.
61301         * string/bug-strstr1.c: Likewise.
61303         * elf/Makefile (dl-routines): Add hwcaps.
61304         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61305         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61306         (_dl_important_hwcaps): Moved to ...
61307         * elf/dl-hwcaps.c: Here.  New file.
61308         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61310         [BZ #14557]
61311         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61312         if IS_IN_rtld isn't defined.
61314         * elf/dl-support.c (_dl_sysinfo_map): New.
61315         Include "get-dynamic-info.h" and "setup-vdso.h".
61316         (_dl_non_dynamic_init): Call setup_vdso.
61317         * elf/dynamic-link.h: Don't include <assert.h>.
61318         (elf_get_dynamic_info): Moved to ...
61319         * elf/get-dynamic-info.h: Here.  New file.
61320         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61321         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61322         * elf/setup-vdso.h: Here.  New file.
61323         * elf/rtld.c: Include "setup-vdso.h".
61324         (dl_main): Call setup_vdso.
61326 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61328         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61329         creal in comment listing functions tested.  List finite, isinf,
61330         isnan, isless, islessequal, isgreater, isgreaterequal,
61331         islessgreater, isunordered, lgamma_r and pow10 as functions and
61332         macros not tested.  Mention which functions not tested are aliases
61333         for other functions.  Fix typo.  Note that signs of NaNs are not
61334         tested.
61336         * scripts/config.guess: Update from config.git.
61337         * scripts/config.sub: Likewise.
61339 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61341         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61342         * misc/madvise.c (madvise): Renamed to __madvise.
61343         Make madvise a weak alias.
61344         * include/sys/mman.h: Declare __madvise.
61345         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61346         * sysdeps/unix/syscalls.list
61347         (madvise): Make __madvise the strong name, and madvise a weak alias.
61348         * sysdeps/unix/sysv/linux/syscalls.list
61349         (madvise, mmap): Remove redundant entries.
61350         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61351         * malloc/malloc.c (mtrim): Likewise.
61352         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61354 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61356         * sysdeps/mach/hurd/dl-cache.c: File removed.
61357         * config.h.in (USE_LDCONFIG): New #undef.
61358         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61359         * configure: Regenerated.
61360         * elf/Makefile (dl-routines): Add dl-cache only under
61361         [$(use-ldconfig) = yes].
61362         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61363         cache on [USE_LDCONFIG].
61364         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61365         [USE_LDCONFIG].
61366         * elf/rtld.c (dl_main): Likewise.
61368 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61370         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61371         _SC_LEVEL4_CACHE_LINESIZE.
61373 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61375         * sysdeps/unix/bsd/confstr.h: File removed.
61377 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61379         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61380         sys/sdt-config.h.
61382 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61384         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61385         Make 'mapoff' field ElfW(Off) rather than off_t.
61387 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61389         * nscd/Makefile: Remove nscd-cflags and all its users.
61390         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61391         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61393         [BZ #10631]
61394         * malloc.c (malloc_printerr): Clarify error message.
61396 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61398         [BZ #14648]
61399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61400         Set bit_FMA_Usable if FMA is supported.
61401         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61402         macro.
61403         (bit_FMA4_Usable): Updated.
61404         (index_FMA_Usable): New macro.
61405         (CPUID_FMA): Likewise.
61406         (HAS_FMA): Defined with bit_FMA_Usable.
61408 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61410         * bits/types.h (__swblk_t): Type removed.
61411         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61412         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61413         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61414         (__SWBLK_T_TYPE): Likewise.
61415         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61416         (__SWBLK_T_TYPE): Likewise.
61417         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61418         (__SWBLK_T_TYPE): Likewise.
61419         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61420         (__SWBLK_T_TYPE): Likewise.
61422 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61423             Honza Horak <hhorak@redhat.com>
61425         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61426         (xdr_mapname): Use YPMAXMAP as maxsize.
61427         (xdr_peername): Use YPMAXPEER as maxsize.
61428         (xdr_keydat): Use YPAXRECORD as maxsize.
61429         (xdr_valdat): Use YPMAXRECORD as maxsize.
61431 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61433         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61435         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61436         * csu/init-first.c: ... here.
61437         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61438         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61439         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61440         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61441         * sysdeps/i386/init-first.c: File removed.
61442         * sysdeps/sh/init-first.c: File removed.
61444 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61446         [BZ #14645]
61447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61448         if x * y might underflow to zero and z is zero.
61449         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61450         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61451         * math/libm-test.inc (min_subnorm_value): New variable.
61452         (fma_test): Add more tests.
61453         (fma_test_towardzero): Likewise.
61454         (fma_test_downward): Likewise.
61455         (fma_test_upward): Likewise.
61456         (initialize): Set min_subnorm_value.
61458 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61460         [BZ #14638]
61461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61462         0 + 0.
61463         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61464         mode for addition resulting in exact zero.
61465         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61466         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61467         exact 0 + 0.
61468         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61469         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61470         * math/libm-test.inc (fma_test): Add more tests.
61471         (fma_test_towardzero): New function.
61472         (fma_test_downward): Likewise.
61473         (fma_test_upward): Likewise.
61474         (main): Call the new functions.
61476 2012-09-28  David S. Miller  <davem@davemloft.net>
61478         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61480 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61482         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61483         instead of SIGALRM.
61485         * sysdeps/gnu/_G_config.h: Moved to ...
61486         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61487         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61488         * sysdeps/generic/_G_config.h: ... here.
61490         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61492         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61494         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61495         Conditionalize target on [libnss_test1.so-version].
61497         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61499         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61500         (elfobjdir): Move out of conditionals.
61502         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61503         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61504         (__nss_lookup_function): Conditionalize label remove_from_tree on
61505         [!DO_STATIC_NSS || SHARED], matching its only use.
61507 2012-09-28  David S. Miller  <davem@davemloft.net>
61509         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61510         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61511         file.
61512         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61513         sysdep_routines.
61514         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61515         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61516         when HWCAP_SPARC_CRYPTO is present.
61518 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61520         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61522 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61524         [BZ #6530]
61525         * stdio-common/vfprintf.c (process_string_arg): Revert
61526         2000-07-22 change.
61528 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61530         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61531         for testcase.
61532         * stdio-common/tst-sprintf.c: Include <locale.h>
61533         (main): Test sprintf's handling of incomplete multibyte
61534         characters.
61536 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
61538         * elf/dl-runtime.c (VERSYMIDX): Removed.
61539         * elf/dl-version.c (VERSYMIDX): Likewise.
61540         * elf/do-rel.h (VERSYMIDX): Likewise.
61541         (VALIDX): Likewise.
61542         * elf/dynamic-link.h (VERSYMIDX): Likewise.
61543         * elf/rtld.c (VALIDX): Likewise.
61544         (ADDRIDX): Likewise.
61545         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
61546         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
61547         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
61548         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
61549         (VALIDX): Likewise.
61550         (ADDRIDX): Likewise.
61552 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61554         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
61556 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
61558         [BZ #11438]
61559         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
61560         to global scope.
61561         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
61562         addresses are in the same scope as 192.0.2/24.
61563         * posix/gai.conf: Document new scope table defaults.
61565 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61567         [BZ #5298]
61568         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
61569         for ftell.  Compute offsets from write pointers instead.
61570         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61572 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61574         [BZ #14543]
61575         * libio/Makefile (tests): New test case tst-fseek.
61576         * libio/tst-fseek.c: New test case to verify that fseek/ftell
61577         combination works in wide mode.
61578         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
61579         state when the external buffer state changes.
61581 2012-09-27  David S. Miller  <davem@davemloft.net>
61583         [BZ #14376]
61584         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
61585         pass reloc->r_addend in as the 'high' argument to
61586         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
61588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61590 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61592         * rt/tst-aio2.c: Include <pthread.h>.
61593         * rt/tst-aio3.c: Likewise.
61595 2012-09-27  Steve Ellcey  <sellcey@mips.com>
61597         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
61599 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
61601         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
61602         contents on [SHARED].
61604 2012-09-26  Marek Polacek  <polacek@redhat.com>
61606         [BZ #14530]
61607         [BZ #13741]
61608         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
61609         for C++ and GCC <4.3 as well as for non GCC compilers.
61611 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61615 2012-09-25  Roland McGrath  <roland@hack.frob.com>
61617         * Makefile.in (all, install): Declare with .PHONY.
61618         Reported by Michael Hope <michael.hope@linaro.org>.
61620 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
61622         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
61623         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
61624         system header.
61625         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
61626         Likewise.
61627         (sydep_routines): Add the new and the internal functions.
61628         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
61629         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
61630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
61631         (GLIBC_2.17): Add the new function.
61632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
61633         (GLIBC_2.17): Likewise.
61634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
61635         (GLIBC_2.17): Likewise.
61636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
61637         (GLIBC_2.17): Likewise.
61638         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
61640 2012-09-25  Alan Modra  <amodra@gmail.com>
61642         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
61643         Add release barrier before setting once_control to say
61644         initialisation is done.  Add hints on lwarx.  Use macro in
61645         place of isync.
61646         (clear_once_control): Add release barrier.
61648 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61650         [BZ #13629]
61651         * math/s_clog.c (__clog): Handle more values close to |z| = 1
61652         specially.
61653         * math/s_clog10.c (__clog10): Likewise.
61654         * math/s_clog10f.c (__clog10f): Likewise.
61655         * math/s_clog10l.c (__clog10l): Likewise.
61656         * math/s_clogf.c (__clogf): Likewise.
61657         * math/s_clogl.c (__clogl): Likewise.
61658         * math/Makefile (libm-calls): Add x2y2m1.
61659         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
61660         (__x2y2m1): Likewise.
61661         (__x2y2m1l): Likewise.
61662         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
61663         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
61664         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
61665         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
61666         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
61667         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
61668         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
61669         * sysdeps/i386/fpu/libm-test-ulps: Update.
61670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61672         [BZ #14621]
61673         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
61674         int as type of variable DEPTH.
61675         (glob): Use size_t instead of int as type of variables NEWCOUNT
61676         and OLD_PATHC.
61678 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61680         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
61681         Add s_sincosf-sse2.
61682         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
61683         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
61684         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
61685         macros for using routine as __sincosf_ia32.
61686         Use macro for function declaration and weak_alias.
61687         * sysdeps/i386/fpu/libm-test-ulps: Update.
61689         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
61690         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61692         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
61693         subnormal argument.
61694         * math/s_cexpf.c (__cexpf): Likewise.
61695         * math/s_csinf.c (__csinf): Likewise.
61696         * math/s_csinhf.c (__csinhf): Likewise.
61697         * math/s_ctanf.c (__ctanf): Likewise.
61698         * math/s_ctanhf.c (__ctanhf): Likewise.
61699         * math/s_ccosh.c (__ccoshf): Likewise.
61700         * math/s_cexp.c (__cexpl): Likewise.
61701         * math/s_csin.c (__csin): Likewise.
61702         * math/s_csinh.c (__csinh): Likewise.
61703         * math/s_ctan.c (__ctan): Likewise.
61704         * math/s_ctanh.c (ctanh): Likewise.
61705         * math/s_ccoshl.c (__ccoshl): Likewise.
61706         * math/s_cexpl.c (__cexpl): Likewise.
61707         * math/s_csinl.c (__csinl): Likewise.
61708         * math/s_csinhl.c (__csinhl): Likewise.
61709         * math/s_ctanl.c (__ctanl): Likewise.
61710         * math/s_ctanhl.c (__ctanhl): Likewise.
61712 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
61714         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
61715         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
61716         (_IO_off_t): Define to __off_t, not _G_off_t.
61717         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
61718         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
61719         (_IO_wint_t): Define to wint_t, not _G_wint_t.
61720         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
61721         type of __dummy and __dummy2 fields.
61722         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
61723         (_G_ssize_t): Likewise.
61724         (_G_off_t): Likewise.
61725         (_G_pid_t): Likewise.
61726         (_G_uid_t): Likewise.
61727         (_G_wchar_t): Likewise.
61728         (_G_wint_t): Likewise.
61729         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
61730         (_G_ssize_t): Likewise.
61731         (_G_off_t): Likewise.
61732         (_G_pid_t): Likewise.
61733         (_G_uid_t): Likewise.
61734         (_G_wchar_t): Likewise.
61735         (_G_wint_t): Likewise.
61736         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
61737         (_G_ssize_t): Likewise.
61738         (_G_off_t): Likewise.
61739         (_G_pid_t): Likewise.
61740         (_G_uid_t): Likewise.
61741         (_G_wchar_t): Likewise.
61742         (_G_wint_t): Likewise.
61744 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61746         * malloc/arena.c: Include malloc-sysdep.h.
61747         (shrink_heap): Use check_may_shrink_heap to decide if madvise
61748         is sufficient to shrink the heap or an unmap is needed.
61749         * sysdeps/generic/malloc-sysdep.h: New file.  Define
61750         new function check_may_shrink_heap.
61751         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
61752         new function check_may_shrink_heap.
61754 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61756         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
61757         comments.
61759 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
61761         * catgets/test-gencat.sh: Add "set -e".
61762         * elf/tst-pathopt.sh: Likewise.
61763         * grp/tst_fgetgrent.sh: Likewise.
61764         * iconvdata/run-iconv-test.sh: Likewise.
61765         * intl/tst-gettext.sh: Likewise.
61766         * intl/tst-gettext2.sh: Likewise.
61767         * intl/tst-gettext4.sh: Likewise.
61768         * intl/tst-gettext6.sh: Likewise.
61769         * intl/tst-translit.sh: Likewise.
61770         * io/ftwtest-sh: Likewise.
61771         * libio/test-freopen.sh: Likewise.
61772         * malloc/tst-mtrace.sh: Likewise.
61773         * posix/globtest.sh: Likewise.
61774         * posix/tst-getconf.sh: Likewise.
61775         * posix/wordexp-tst.sh: Likewise.
61776         * stdio-common/tst-printf.sh: Likewise.
61777         * stdio-common/tst-unbputc.sh: Likewise.
61778         * stdlib/tst-fmtmsg.sh: Likewise.
61779         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61780         * catgets/Makefile: Do not specify -e option when running
61781         testsuite shell scripts.
61782         * elf/Makefile: Likewise.
61783         * grp/Makefile: Likewise.
61784         * iconvdata/Makefile: Likewise.
61785         * intl/Makefile: Likewise.
61786         * io/Makefile: Likewise.
61787         * libio/Makefile: Likewise.
61788         * malloc/Makefile: Likewise.
61789         * posix/Makefile: Likewise.
61790         * stdio-common/Makefile: Likewise.
61791         * stdlib/Makefile: Likewise.
61792         * sysdeps/x86_64/Makefile: Likewise.
61794         * io/ftwtest-sh: Add copyright header.
61795         * posix/globtest.sh: Likewise.
61796         * posix/tst-getconf.sh: Likewise.
61797         * posix/wordexp-tst.sh: Likewise.
61798         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
61800 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
61802         [BZ #13679]
61803         * Makeconfig (+link): Defined as $(+link-static) if
61804         $(build-shared) isn't yes.
61805         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
61806         isn't yes.
61807         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
61809         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
61811         [BZ #14562]
61812         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
61813         new chunk size with MALLOC_ALIGN_MASK.
61815 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
61817         [BZ #5044]
61818         * stdio-common/printf_fphex.c: Include <stdbool.h> and
61819         <rounding-mode.h>.
61820         (__printf_fphex): Determine rounding using get_rounding_mode and
61821         round_away.
61822         * stdio-common/tst-printf-round.c (struct hex_test): New
61823         structure.
61824         (hex_tests): New variable.
61825         (test_hex_in_one_mode): New function.
61826         (do_test): Also run tests for hex float output.
61828 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
61830         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61831         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61832         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
61833         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
61834         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
61835         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
61836         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61837         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
61839 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
61841         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
61842         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
61843         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
61844         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
61846 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
61848         [BZ #14579]
61849         * elf/rtld.c (dl_main): Limit the check for self loading to normal
61850         mode only.
61851         * elf/tst-rtld-load-self.sh: New test.
61852         * elf/Makefile: Run it.
61854 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
61856         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
61857         (tst-writev-ENV): Remove.
61858         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
61860 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
61862         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
61864 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
61866         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
61867         unconditional.
61868         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
61869         Likewise.
61870         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
61871         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
61872         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
61873         Likewise.
61875 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
61877         [BZ #14587]
61878         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
61879         * config.make.in (have-cpp-asm-debuginfo): Removed.
61880         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
61881         * configure: Regenerated.
61883 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
61885         [BZ #5044]
61886         * stdio-common/printf_fp.c: Include <stdbool.h> and
61887         <rounding-mode.h>.
61888         (___printf_fp): Determine rounding using get_rounding_mode and
61889         round_away.
61890         * stdio-common/tst-printf-round.c: New file.
61891         * stdio-common/Makefile (tests): Add tst-printf-round.
61892         (link-libm): New variable.
61893         ($(objpfx)tst-printf-round): Depend in $(link-libm).
61895 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
61897         [BZ #14576]
61898         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
61899         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
61900         Likewise.
61901         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
61902         Likewise.
61904 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
61906         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
61907         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61908         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61909         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
61911 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
61913         [BZ #14518]
61914         * include/rounding-mode.h: New file.
61915         * sysdeps/generic/get-rounding-mode.h: Likewise.
61916         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
61917         * stdlib/strtod_l.c: Include <rounding-mode.h>.
61918         (MAX_VALUE): New macro.
61919         (MIN_VALUE): Likewise.
61920         (overflow_value): New function.
61921         (underflow_value): Likewise.
61922         (round_and_return): Use overflow_value and underflow_value to
61923         determine return values in overflow and underflow cases.  Use
61924         round_away to determine rounding depending on rounding mode.
61925         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
61926         determine return values in overflow and underflow cases.
61927         * stdlib/tst-strtod-round.c: Include <fenv.h>.
61928         (struct test_results): New structure.
61929         (struct test): Use struct test_results to store expected results
61930         for all rounding modes.
61931         (TEST): Include expected results for all rounding modes.
61932         (test_in_one_mode): New function.
61933         (do_test): Use test_in_one_mode to compute and check results.
61934         Check results for all rounding modes.
61935         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
61936         $(link-libm).
61938 2012-12-09  Allan McRae  <allan@archlinux.org>
61940         * sysdeps/i386/fpu/libm-test-ulps: Update
61942 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
61944         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
61945         (_G_int32_t): Likewise.
61946         (_G_uint16_t): Likewise.
61947         (_G_uint32_t): Likewise.
61948         (_G_HAVE_BOOL): Likewise.
61949         (_G_HAVE_ATEXIT): Likewise.
61950         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61951         (_G_HAVE_IO_FILE_OPEN): Likewise.
61952         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
61953         (_G_int32_t): Likewise.
61954         (_G_uint16_t): Likewise.
61955         (_G_uint32_t): Likewise.
61956         (_G_HAVE_BOOL): Likewise.
61957         (_G_HAVE_ATEXIT): Likewise.
61958         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61959         (_G_HAVE_IO_FILE_OPEN): Likewise.
61960         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
61961         (_G_int32_t): Likewise.
61962         (_G_uint16_t): Likewise.
61963         (_G_uint32_t): Likewise.
61964         (_G_HAVE_BOOL): Likewise.
61965         (_G_HAVE_ATEXIT): Likewise.
61966         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
61967         (_G_HAVE_IO_FILE_OPEN): Likewise.
61969 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
61971         * csu/libc-tls.c: Update copyright years.
61973 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
61975         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
61976         [!_G_USING_THUNKS]: Remove conditional code.
61977         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
61978         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
61980         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
61981         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
61982         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61983         (_G_VTABLE_LABEL_PREFIX): Likewise.
61984         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61985         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61986         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61987         (_G_VTABLE_LABEL_PREFIX): Likewise.
61988         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61989         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
61990         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
61991         (_G_VTABLE_LABEL_PREFIX): Likewise.
61992         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
61994 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
61996         * libio/Makefile: Include ../Makeconfig before tests.
61997         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
61998         only if $(build-shared) is yes.
62000         * iconv/gconv_db.c: Update copyright years.
62002 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62004         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
62005         unwind info if defined PIC. Fix special cases description.
62006         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
62008         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62009         DP_HI_MASK entry.
62010         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62012 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
62014         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62016         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62017         is NULL.
62019         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62020         (LDLIBS-tst-chk4): This.
62021         (LDFLAGS-tst-chk5): Renamed to ...
62022         (LDLIBS-tst-chk5): This.
62023         (LDFLAGS-tst-chk6): Renamed to ...
62024         (LDLIBS-tst-chk6): This.
62025         (LDFLAGS-tst-lfschk4): Renamed to ...
62026         (LDLIBS-tst-lfschk4): This.
62027         (LDFLAGS-tst-lfschk5): Renamed to ...
62028         (LDLIBS-tst-lfschk5): This.
62029         (LDFLAGS-tst-lfschk6): Renamed to ...
62030         (LDLIBS-tst-lfschk6): This.
62032         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62033         on $(common-objpfx)soversions.mk.
62035 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62037         [BZ #10014]
62038         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62039         example host name.
62041 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62043         * malloc/arena.c (arena_get_retry): New function that gets
62044         another arena for the caller to try its request on.
62045         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62046         current arena cannot fulfill the request.
62047         (__libc_memalign): Likewise.
62048         (__libc_memalign): Likewise.
62049         (__libc_pvalloc): Likewise.
62050         (__libc_calloc): Likewise.
62052 2012-09-05  John Tobey  <john.tobey@gmail.com>
62054         [BZ #13542]
62055         * manual/arith.texi (Operations on Complex): Fix description
62056         of carg branch cut.
62058 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62060         [BZ #10014]
62061         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62062         host name.
62064         [BZ #10038]
62065         * manual/memory.texi (Memory): Make order of menu items match
62066         order of sections.
62068 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62070         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62071         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62072         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62074 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62076         * csu/libc-tls.c (static_dtv): Renamed to ...
62077         (_dl_static_dtv): This.  Make it global.
62078         (_dl_initial_dtv): Removed.
62079         (__libc_setup_tls): Updated.
62080         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62081         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62082         DL_INITIAL_DTV.
62084 2012-09-06  Petr Machata  <pmachata@redhat.com>
62086         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62087         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62088         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62089         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62091 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62093         [BZ #14545]
62094         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62095         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62096         freeing dtv[-1].
62098 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62100         [BZ #14544]
62101         * Makeconfig (link-static-before-libc): Replace $(+prector)
62102         with $(+prectorT).
62103         (link-static-after-libc): Replace $(+postctor) with
62104         $(+postctorT).
62105         (link-bounded): Replace $(+prector)/$(+postctor) with
62106         $(+prectorT)/$(+postctorT).
62107         (+prectorT): New macro.
62108         (+postctorT): Likewise.
62110 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62112         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62113         (round_str): Handle values above the maximum for IBM long double
62114         as inexact.
62115         * stdlib/tst-strtod-round.c (tests): Regenerated.
62117 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62119         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62120         assembler flag.
62121         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62122         zarch_nohighgprs around the zarch optimized routines.
62123         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62124         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62125         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62126         for zarch.
62128 2012-09-05  David S. Miller  <davem@davemloft.net>
62130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62132         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62133         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62134         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62135         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62136         entries.
62138 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62140         * malloc/arena.c: Fold copyright years.
62141         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62143 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62145         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62147 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62149         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62151 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62153         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62154         change internal state upon failure.
62156 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62158         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62159         * malloc/memusage.c (mmap): Likewise.
62160         (mmap64, mremap): Likewise.  Adjust name in comment.
62162 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62164         * libio/fileops.c: Fix typos in comments.
62165         * libio/oldfileops.c: Likewise.
62166         * libio/wfileops.c: Likewise.
62168 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62170         [BZ #1349]
62171         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62172         (tst-malloc-usable-ENV): Set environment for test case.
62173         * malloc/hooks.c (malloc_check_get_size): New function to get
62174         requested size.
62175         * malloc/malloc.c (musable): Use malloc_check_get_size.
62176         * malloc/tst-malloc-usable.c: New test case.
62178 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62180         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62182 2012-09-05  Allan McRae  <allan@archlinux.org>
62184         [BZ #13966]
62185         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62186         determine header location.
62187         * configure: Regenerated.
62189 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62191         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62192         float format.
62193         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62194         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62195         format.
62196         (test): Regenerate.
62198 2012-09-04  David S. Miller  <davem@davemloft.net>
62200         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62201         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62202         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62204 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62206         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62207         failures.
62209         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62211 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62213         [BZ #9914]
62214         * libio/iogetdelim.c: Include <limits.h>.
62215         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62216         + len + 1 would overflow.
62218 2012-09-03  Andreas Jaeger  <aj@suse.de>
62220         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62221         * sysdeps/i386/fpu/libm-test-ulps: Update.
62223 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62225         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62226         Add s_sinf-sse2, s_conf-sse2.
62228         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62229         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62230         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62231         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62233         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62234         for using routine as __sinf_ia32.
62235         Use macro for function declaration and weak_alias.
62236         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62237         for using routine as __cosf_ia32.
62238         Use macro for function declaration and weak_alias.
62240         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62241         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62243         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62244         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62245         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62247         * math/libm-test.inc (cos_test): Add more test cases.
62248         (sin_test): Likewise.
62249         (sincos_test): Likewise.
62251 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62253         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62254         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62255         hidden.
62256         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62258 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62260         [BZ #14538]
62261         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62262         first element of the GOT.
62263         (elf_machine_load_address): Return the difference between
62264         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62266 2012-09-01  Allan McRae  <allan@archlinux.org>
62268         [BZ #13412]
62269         * configure.in (AWK): Require gawk version 3.0 or later.
62270         * configure: Regenerated.
62272 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62274         * sysdeps/unix/sysv/linux/kernel-features.h
62275         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62276         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62277         [__NR_clock_getres]: Make code unconditional.
62278         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62279         (clock_getcpuclockid): Remove code left unreachable by removal of
62280         conditionals.
62281         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62282         code unconditional.
62283         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62284         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62285         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62286         Make code unconditional.
62287         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62288         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62289         * sysdeps/unix/sysv/linux/clock_settime.c
62290         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62291         conditional code.
62292         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62293         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62295 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62297         [BZ #14476]
62298         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62299         scripts/test-installation.pl.
62301         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62302         and $ld_so_version if it is set.
62304 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62306         [BZ #14516]
62307         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62308         failure if reading from procfs failed.
62309         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62311 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62313         * sysdeps/unix/sysv/linux/kernel-features.h
62314         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62315         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62316         Remove conditional code.
62317         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62318         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62319         Remove conditional code.
62320         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62321         * sysdeps/unix/sysv/linux/i386/fxstat.c
62322         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62323         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62324         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62325         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62327         * sysdeps/unix/sysv/linux/i386/lxstat.c
62328         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62330         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62331         Remove conditional code.
62332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62333         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62334         Remove conditional code.
62335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62336         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62337         <kernel-features.h>.
62338         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62339         Remove.
62340         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62341         Remove conditional code.
62342         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62343         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62344         Remove conditional.
62346 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62348         [BZ #5400]
62349         * NEWS: Add fixed bug number.
62351 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62353         [BZ #14519]
62354         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62355         underflowing exponent in case of negative sign.
62356         * stdlib/tst-strtod-round-data: Add more tests.
62357         * stdlib/tst-strtod-round.c (tests): Regenerated.
62359         [BZ #3479]
62360         * stdlib/strtod_l.c (NDIG): Remove.
62361         (HEXNDIG): Likewise.
62362         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62363         smallest representable value.
62364         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62365         lie within an exact representation of 1/2 ulp of the result.
62366         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62367         unconditionally.
62368         (TENS_P9_IDX): Define unconditionally.
62369         (TENS_P9_SIZE): Likewise.
62370         (TENS_P10_IDX): Likewise.
62371         (TENS_P10_SIZE): Likewise.
62372         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62373         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62374         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62375         entries for 10^2^13 and 10^2^14.
62376         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62377         (TENS_P13_IDX): Define.
62378         (TENS_P13_SIZE): Likewise.
62379         (TENS_P14_IDX): Likewise.
62380         (TENS_P14_SIZE): Likewise.
62381         (_fpioconst_pow10): Change array size to
62382         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62383         unconditional.
62384         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62385         1024]: Add entries for 10^2^13 and 10^2^14.
62386         [LAST_POW10 > _LAST_POW10]: Remove #error.
62387         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62388         (_fpioconst_pow10): Change array size to
62389         FPIOCONST_POW10_ARRAY_SIZE.
62390         * stdlib/gen-fpioconst.c: New file.
62391         * stdlib/gen-tst-strtod-round.c: Likewise.
62392         * stdlib/tst-strtod-round-data: Likewise.
62393         * stdlib/tst-strtod-round.c: Likewise.
62394         * stdlib/Makefile (tests): Add tst-strtod-round.
62396         [BZ #14459]
62397         * stdlib/strtod_l.c: Include <stdint.h>.
62398         (NDEBUG): Do not define.
62399         (round_and_return): Change EXPONENT parameter to type intmax_t.
62400         Rearrange calculations to avoid internal overflow possibilities.
62401         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62402         Rearrange calculations to avoid internal overflow possibilities.
62403         Assert that number fits inside MPNSIZE limbs.
62404         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62405         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62406         calculations and add assertions to avoid internal overflow
62407         possibilities.  Add casts to avoid signed/unsigned operations.
62408         * stdlib/tst-strtod-overflow.c: New file.
62409         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62411 2012-08-25  Marek Polacek  <polacek@redhat.com>
62413         * time/time.h: Fix some typos in comments.
62415 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62417         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62418         * posix/tst-rfc3484-2.c: Likewise.
62419         * posix/tst-rfc3484-3.c: Likewise.
62421 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62423         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62424         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62426 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62428         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62429         #include of fxstatat64.c.
62431 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62433         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62434         * shadow/getspent_r.c: Likewise.
62435         * shadow/getspnam.c: Likewise.
62436         * shadow/getspnam_r.c: Likewise.
62437         * gshadow/getsgent.c: Likewise.
62438         * gshadow/getsgent_r.c: Likewise.
62439         * gshadow/getsgnam.c: Likewise.
62440         * gshadow/getsgnam_r.c: Likewise.
62441         * inet/getnetbyad.c: Likewise.
62442         * inet/getnetbyad_r.c: Likewise.
62443         * inet/getnetbynm.c: Likewise.
62444         * inet/getnetbynm_r.c: Likewise.
62445         * inet/getnetent.c: Likewise.
62446         * inet/getnetent_r.c: Likewise.
62447         * inet/getproto.c: Likewise.
62448         * inet/getproto_r.c: Likewise.
62449         * inet/getprtent.c: Likewise.
62450         * inet/getprtent_r.c: Likewise.
62451         * inet/getprtname.c: Likewise.
62452         * inet/getprtname_r.c: Likewise.
62453         * inet/getrpcbyname.c: Likewise.
62454         * inet/getrpcbyname_r.c: Likewise.
62455         * inet/getrpcbynumber.c: Likewise.
62456         * inet/getrpcbynumber_r.c: Likewise.
62457         * inet/getrpcent.c: Likewise.
62458         * inet/getrpcent_r.c: Likewise.
62459         * inet/getaliasent.c: Likewise.
62460         * inet/getaliasent_r.c: Likewise.
62461         * inet/getaliasname.c: Likewise.
62462         * inet/getaliasname_r.c: Likewise.
62463         * nscd/getgrgid_r.c: Likewise.
62464         * nscd/getgrnam_r.c: Likewise.
62465         * nscd/gethstbyad_r.c: Likewise.
62466         * nscd/gethstbynm3_r.c: Likewise.
62467         * nscd/getpwnam_r.c: Likewise.
62468         * nscd/getpwuid_r.c: Likewise.
62469         * nscd/getsrvbynm_r.c: Likewise.
62470         * nscd/getsrvbypt_r.c: Likewise.
62471         * nscd/gai.c: Likewise.
62473         * configure.in (build_nscd): New substituted variable, set
62474         by --disable-build-nscd and defaults to $use_nscd.
62475         * configure: Regenerated.
62476         * config.make.in (build-nscd): New substituted variable.
62477         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62478         Change conditional to require [$(build-nscd) = yes] as well.
62479         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62481         [BZ# 13696]
62482         * configure.in (use_nscd): New substituted variable, set by
62483         --disable-nscd.  If enabled, define USE_NSCD.
62484         * configure: Regenerated.
62485         * config.h.in: Add USE_NSCD.
62486         * config.make.in (use-nscd): New substituted variable.
62487         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62488         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62489         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62490         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62491         (CFLAGS-getgrnam_r.c): Likewise.
62492         (CFLAGS-initgroups.c): Likewise.
62493         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62494         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62495         Variables removed.
62496         * inet/getnetgrent_r.c
62497         (nscd_setnetgrent): New function, broken out of ...
62498         (setnetgrent): ... here.  Call it.
62499         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62500         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62501         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62502         * nscd/Makefile (routines, aux): Move definitions after include of
62503         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62504         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62505         Conditionalize on [USE_NSCD].
62506         (is_nscd, nscd_init_cb): Likewise.
62507         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62508         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62509         * nss/nss_db/db-init.c: Likewise.
62510         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62511         [USE_NSCD].
62512         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62513         (make_request): Use it.
62514         (cache_valid_p): New function.
62515         (__check_pf): Use it.
62516         * NEWS: Add item for --disable-nscd.
62518 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62520         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62521         to support sed >= 4.2.1-20-ga9bf076.
62522         * configure: Regenerated.
62524 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62526         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62527         Conditionalize whole body on [IREL].
62529 2012-08-22  Jeff Law <law@redhat.com>
62531         [BZ #14505]
62532         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
62533         if the family is PF_UNSPEC.
62535 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
62537         * Makerules (lib-version): Rename from V.
62538         (install-lib-nosubdir): Change V to lib-version.
62540 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
62542         [BZ #14252]
62543         * powerpc32/power6/wcschr.c: New file.
62544         * powerpc32/power6/wcscpy.c: New file.
62545         * powerpc32/power6/wcsrchr.c: New file.
62546         * powerpc64/power6/wcschr.c: New file.
62547         * powerpc64/power6/wcscpy.c: New file.
62548         * powerpc64/power6/wcsrchr.c: New file.
62550 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62552         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
62553         (two_way_short_needle): Use it.
62554         * string/strstr.c (AVAILABLE1_USES_J): Define.
62555         * string/strcasestr.c: Likewise.
62557         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
62558         array references.
62559         * string/strcasestr.c (TOLOWER): Make side-effect safe.
62561         [BZ #11607]
62562         * NEWS: Add an entry.
62563         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
62564         define their defaults.
62565         (two_way_short_needle): Detect end-of-string on-the-fly.
62566         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
62567         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
62568         * string/bug-strcasestr1.c: New test.
62569         * string/Makefile: Run it.
62571 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
62573         [BZ #11607]
62574         * string/str-two-way.h (two_way_short_needle): Optimize matching of
62575         the first character.
62577 2012-08-21  Roland McGrath  <roland@hack.frob.com>
62579         * csu/elf-init.c (__libc_csu_irel): Function removed.
62580         * csu/libc-start.c (apply_irel): New function.
62581         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
62583 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
62585         * sysdeps/unix/sysv/linux/kernel-features.h
62586         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
62587         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
62588         <kernel-features.h>.
62589         [__NR_fadvise64_64]: Make code unconditional.
62590         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
62591         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62592         !__NR_fadvise64_64)]: Likewise.
62593         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
62594         !__NR_fadvise64_64))]: Likewise.
62595         [__NR_fadvise64]: Make code unconditional.
62596         [!__NR_fadvise64]: Remove conditional code.
62597         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
62598         <kernel-features.h>.
62599         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62600         unconditional.
62601         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62602         conditional code.
62603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
62604         not include <kernel-features.h>.
62605         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62606         unconditional.
62607         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62608         conditional code.
62609         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
62610         include <kernel-features.h>.
62611         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
62612         unconditional.
62613         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
62614         conditional code.
62616 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
62618         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
62619         slight instruction rearrangements per scrollpipe analysis.
62620         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62622 2012-08-20  Roland McGrath  <roland@hack.frob.com>
62624         * manual/syslog.texi (syslog; vsyslog, closelog):
62625         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
62626         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
62628         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
62629         DSOCAPS to match condition on defining it.
62631 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
62633         * sysdeps/unix/sysv/linux/kernel-features.h
62634         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
62635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
62636         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62637         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
62639         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62640         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
62642         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
62643         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
62645         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
62646         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
62648         * sysdeps/unix/sysv/linux/kernel-features.h
62649         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
62650         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
62651         unconditional.
62652         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62653         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
62654         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62655         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62656         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
62657         Make code unconditional.
62658         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62659         (__mmap64) [!__NR_mmap2]: Likewise.
62660         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
62661         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
62662         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62663         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
62664         [__NR_mmap2]: Make code unconditional.
62665         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
62666         (__mmap64) [!__NR_mmap2]: Likewise.
62668 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62670         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
62672 2012-08-18  Andreas Jaeger  <aj@suse.de>
62674         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
62676 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62678         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
62679         * include/unistd.h (__have_sock_cloexec): Likewise.
62680         (__have_pipe2): Likewise.
62681         (__have_dup3): Likewise.
62683 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
62685         [BZ #9685]
62686         * include/unistd.h (__have_pipe2): Change define into an extern int.
62687         (__have_dup3): Likewise.
62688         * socket/have_sock_cloexec.c: Include fcntl.h.
62689         (__have_pipe2): New variable.
62690         (__have_dup3): Likewise.
62692 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
62694         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
62696 2012-08-17  Marek Polacek  <polacek@redhat.com>
62698         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
62699         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
62701 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62703         * configure.in: Add AC_SUBST for sysheaders.
62704         * configure: Regenerated.
62705         * config.make.in (sysheaders): New substituted variable.
62707         * sysdeps/unix/mkfifo.c: Moved ...
62708         * sysdeps/posix/mkfifo.c: ... here.
62709         * sysdeps/unix/mkfifoat.c: Moved ...
62710         * sysdeps/posix/mkfifoat.c: ... here.
62712         * sysdeps/unix/utime.c: Moved ...
62713         * sysdeps/posix/utime.c: ... here.
62715         * sysdeps/unix/time.c: Moved ...
62716         * sysdeps/posix/time.c: ... here.
62717         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
62718         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
62720         * sysdeps/unix/nice.c: Moved ...
62721         * sysdeps/posix/nice.c: ... here.
62723         * sysdeps/unix/alarm.c: Moved ...
62724         * sysdeps/posix/alarm.c: ... here.
62726         * intl/Makefile ($(codeset_mo)): Depend on the input file.
62728 2012-08-17  Jeff Law <law@redhat.com>
62730         * intl/Makefile (codeset_mo): New variable.
62731         ($(codeset_mo)): New target.
62732         (tst-codeset.out): Depend on that.  Remove explicit rule.
62733         (tst-gettext3.out, tst-gettext5.out): Likewise.
62734         (LOCPATH-ENV, tst-codeset-ENV): New variables.
62735         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
62736         * intl/tst-codeset.sh: Remove.
62737         * intl/tst-gettext3.sh: Likewise.
62738         * intl/tst-gettext5.sh: Likewise.
62740 2012-08-17  Roland McGrath  <roland@hack.frob.com>
62742         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
62743         * sysdeps/unix/syscalls.list: ... here.
62745         * sysdeps/posix/getaddrinfo.c
62746         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
62747         (gaiconf_init, gaiconf_reload): Use them.
62748         [!_STATBUF_ST_NSEC]
62749         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
62750         Define using time_t rather than struct timespec.
62752         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
62753         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
62754         Macros removed.
62755         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
62756         [!NO_THREADS].
62757         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
62758         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
62759         Likewise.
62761         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
62762         __libc_cleanup_push argument.
62764         * bits/param.h: New file.
62765         * misc/sys/param.h: New file.
62766         * include/sys/param.h: New file.
62767         * misc/Makefile (headers): Add bits/param.h.
62768         * sysdeps/generic/sys/param.h: File removed.
62769         * sysdeps/unix/sysv/linux/bits/param.h: New file.
62770         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
62771         * sysdeps/mach/hurd/bits/param.h: New file.
62772         * sysdeps/mach/hurd/sys/param.h: File removed.
62774         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
62775         last change.
62777         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
62778         [_IO_MTSAFE_IO].
62779         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
62780         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
62781         New macros.
62783         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
62784         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
62785         rather than -D_IO_MTSAFE_IO conditionally.
62786         * stdio-common/Makefile (CPPFLAGS): Likewise.
62787         * wcsmbs/Makefile (CPPFLAGS): Likewise.
62788         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
62789         Use $(libio-mtsafe).
62790         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
62791         of -D_IO_MTSAFE_IO.
62792         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
62793         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
62794         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
62795         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
62796         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
62797         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
62798         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
62799         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
62800         (CFLAGS-fread_u_chk.c): Likewise.
62801         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
62802         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
62803         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
62804         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
62805         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
62806         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
62807         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
62808         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
62809         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
62811         * libio/Makefile: Test [$(libc-reentrant) = yes]
62812         instead of [$(filter %REENTRANT, $(defines)) nonempty].
62814         * Makeconfig
62815         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
62816         * sysdeps/pthread/configure: File removed.
62817         * sysdeps/pthread/Makeconfig: New file.
62818         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
62819         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
62821 2012-08-16  Gary Benson  <gbenson@redhat.com>
62823         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
62824         unmapping the first object in a namespace.
62826 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62828         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
62829         (__internal_setnetgrent): ... this.  Add internal_function to
62830         definition.  Add libc_hidden_def.
62831         (setnetgrent): Update caller.
62832         (internal_endnetgrent): Renamed to ...
62833         (__internal_endnetgrent): ... this.  Add internal_function to
62834         definition.  Add libc_hidden_def.
62835         (endnetgrent): Update caller.
62836         (internal_getnetgrent_r): Renamed to ...
62837         (__internal_getnetgrent_r): ... this.  Add internal_function to
62838         definition.  Add libc_hidden_def.
62839         (__getnetgrent_r): Update caller.
62840         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
62842 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62844         * stdlib/longlong.h: Update from GCC.
62846 2012-08-16  Roland McGrath  <roland@hack.frob.com>
62848         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
62849         on _QL, which is set by umul_ppmm but never used.
62850         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
62851         variables, which are set by GMP macros but never used.
62852         * stdio-common/_itowa.c (_itowa): Likewise.
62853         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
62854         * stdlib/mod_1.c (mpn_mod_1): Likewise.
62856 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
62858         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
62859         struct La_sh_regs is not constant.
62860         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
62861         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
62862         and struct La_sparc64_regs are not constant.
62864 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
62866         * sysdeps/unix/sysv/linux/kernel-features.h
62867         (__ASSUME_POSIX_TIMERS): Remove.
62868         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62869         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62870         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
62871         Make code unconditional.
62872         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62873         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
62874         Make code unconditional.
62875         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62876         * sysdeps/unix/sysv/linux/clock_nanosleep.c
62877         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
62878         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62879         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
62880         Make code unconditional.
62881         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
62882         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
62883         (__libc_missing_posix_timers): Remove.
62885 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62887         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
62888         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
62890         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
62892         * elf/dl-sym.c: Include <stdlib.h>.
62894         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
62895         constants, which avoids warnings in 32-bit builds.
62897         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
62898         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
62900         * misc/lseek.c: File moved to ...
62901         * io/lseek.c: ... here.
62903         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
62905         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
62906         shifting LEN more than 31 bits at once.
62908 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62910         [BZ #14195]
62911         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
62912         segmentation fault for a case of two empty input strings.
62913         * string/test-strncasecmp.c (check1): Renamed to...
62914         (bz12205): ...this.
62915         (bz14195): Add new testcase for two empty input strings and N > 0.
62916         (test_main): Call new testcase, adapt for renamed function.
62918 2012-08-15  Andreas Jaeger  <aj@suse.de>
62920         [BZ #14090]
62921         * crypt/md5test2.c: New test, based on test supplied by Serge
62922         Belyshev <belyshev@depni.sinp.msu.ru>.
62923         * crypt/Makefile (xtests): Add md5test-giant..
62924         * crypt/Makefile ($(objpfx)md5test-giant): Add.
62926 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
62928         [BZ #14090]
62929         * crypt/md5.c (md5_process_block): Don't assume the buffer
62930         length is less than 2**32.
62931         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
62932         length is less than 2**64.
62934 2012-08-15  Roland McGrath  <roland@hack.frob.com>
62936         * string/str-two-way.h: Include <sys/param.h>.
62937         (MAX): Macro removed.
62939         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
62940         Move #define and #undef of memmove to just before and after
62941         including <string.h>.
62943         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
62944         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
62945         and after including <string.h>.  Move declarations of
62946         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
62947         to before #include "string/memmove.c".
62949         * include/dirent.h: Declare __getdirentries.
62951         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
62952         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
62954 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
62956         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
62957         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
62958         * sysdeps/i386/configure: Regenerated.
62959         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
62960         STABS_CURRENT_FILE, and STABS_FUN.
62961         (END): Remove call to STABS_FUN_END.
62962         (STABS_CURRENT_FILE1): Delete.
62963         (STABS_CURRENT_FILE): Likewise.
62964         (STABS_FUN): Likewise.
62965         (STABS_FUN_END): Likewise.
62966         (STABS_FUN2): Likewise.
62967         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
62968         * sysdeps/x86_64/configure: Regenerated.
62970 2012-08-14  Roland McGrath  <roland@hack.frob.com>
62972         * elf/dl-open.c: Include <atomic.h>.
62973         * elf/dl-lookup.c: Likewise.
62975 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
62977         * sysdeps/unix/sysv/linux/kernel-features.h
62978         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
62979         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
62980         unconditionally.
62981         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
62982         unconditionally.
62983         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
62984         condition on __ASSUME_CLONE_THREAD_FLAGS.
62986 2012-08-14  Andreas Jaeger  <aj@suse.de>
62988         * sysdeps/i386/fpu/libm-test-ulps: Update.
62990 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
62992         * include/atomic.h (atomic_exchange_and_add): Split into ...
62993         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
62994         New atomic macros.
62996 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
62998         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63000 2012-08-13  Jeff Law <law@redhat.com>
63002         * manual/stdio.texi (snprintf): Clarify handling of the trailing
63003         null byte in the output string.
63005 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
63007         * sysdeps/unix/sysv/linux/kernel-features.h
63008         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63009         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63010         (__ASSUME_ARG_MAX_STACK_BASED): Define.
63011         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63012         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63013         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
63014         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63016 2012-08-09  Jeff Law <law@redhat.com>
63018         [BZ #13939]
63019         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63020         When avoid_arena is set, don't retry in the that arena.  Pick the
63021         next one, whatever it might be.
63022         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63023         (arena_lock): Pass in new parameter to arena_get2.
63024         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63025         arena_get2.
63026         (__libc_malloc): Unify retrying after main arena failure with
63027         __libc_memalign version.
63028         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63030 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63032         [BZ #14166]
63033         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63034         to __redirect_strstr.
63035         (__strstr_sse42): Use typeof __redirect_strstr.
63036         (__strstr_ia32): Likewise.
63037         (__libc_strstr): New prototype.
63038         (strstr): Renamed to ...
63039         (__libc_strstr): This.
63040         (strstr): New strong alias of __libc_strstr.
63041         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63042         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63043         __redirect_time.
63044         Include <time.h>.
63045         (__libc_time): New prototype.
63046         (time_ifunc): Replace time with __libc_time.
63047         (time): New strong alias and hidden definition of __libc_time.
63048         (__GI_time): Remove strong alias.
63049         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63050         Include <stddef.h>.
63051         (memmove): Redefined to __redirect_memmove.
63052         (__memmove_sse2): Use typeof __redirect_memmove.
63053         (__memmove_ssse3): Likewise.
63054         (__memmove_ssse3_back): Likewise.
63055         (__libc_memmove): New prototype.
63056         (memmove): Renamed to ...
63057         (__libc_memmove): This.
63058         (memmove): New strong alias of __libc_memmove.
63060 2012-08-08  Mark Salter  <msalter@redhat.com>
63062         * elf/elf.h
63063         (R_MN10300_TLS_GD): Define.
63064         (R_MN10300_TLS_LD): Likewise.
63065         (R_MN10300_TLS_LDO): Likewise.
63066         (R_MN10300_TLS_GOTIE): Likewise.
63067         (R_MN10300_TLS_IE): Likewise.
63068         (R_MN10300_TLS_LE): Likewise.
63069         (R_MN10300_TLS_DTPMOD): Likewise.
63070         (R_MN10300_TLS_DTPOFF): Likewise.
63071         (R_MN10300_TLS_TPOFF): Likewise.
63072         (R_MN10300_SYM_DIFF): Likewise.
63073         (R_MN10300_ALIGN): Likewise.
63074         (R_MN10300_NUM): Update.
63076 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63078         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63079         Remove.
63081 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63083         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63085         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63086         sysdeps/unix -> sysdeps/posix move.
63087         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63089 2012-08-07      Allan McRae     <allan@archlinux.org>
63091         [BZ #14303]
63092         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63093         (SUNOS_CPP): Likewise.
63094         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63095         not found.
63096         (open_input): Call CPP using execvp.
63098 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63100         * sysdeps/unix/sysv/linux/kernel-features.h
63101         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63102         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63103         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63104         (__ASSUME_WAITID_SYSCALL): Likewise.
63105         * sysdeps/unix/sysv/linux/dl-execstack.c
63106         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63107         code unconditional.
63108         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63109         conditional code.
63110         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63111         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63112         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63113         code.
63114         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63115         unconditional.
63116         [__ASSUME_WAITID_SYSCALL]: Likewise.
63117         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63119 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63121         * sysdeps/unix/closedir.c: Renamed to ...
63122         * sysdeps/posix/closedir.c: ... here.
63123         * sysdeps/unix/dirfd.c: Renamed to ...
63124         * sysdeps/posix/dirfd.c: ... here.
63125         * sysdeps/unix/dirstream.h: Renamed to ...
63126         * sysdeps/posix/dirstream.h: ... here.
63127         * sysdeps/unix/fdopendir.c: Renamed to ...
63128         * sysdeps/posix/fdopendir.c: ... here.
63129         * sysdeps/unix/opendir.c: Renamed to ...
63130         * sysdeps/posix/opendir.c: ... here.
63131         * sysdeps/unix/readdir.c: Renamed to ...
63132         * sysdeps/posix/readdir.c: ... here.
63133         * sysdeps/unix/readdir_r.c: Renamed to ...
63134         * sysdeps/posix/readdir_r.c: ... here.
63135         * sysdeps/unix/rewinddir.c: Renamed to ...
63136         * sysdeps/posix/rewinddir.c: ... here.
63137         * sysdeps/unix/seekdir.c: Renamed to ...
63138         * sysdeps/posix/seekdir.c: ... here.
63139         * sysdeps/unix/telldir.c: Renamed to ...
63140         * sysdeps/posix/telldir.c: ... here.
63141         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63142         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63143         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63144         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63146         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63147         * bits/fcntl.h: ... here.
63149         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63150         not 0.
63151         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63152         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63153         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63154         (struct flock): Move l_start, l_len to the beginning.
63155         Use __pid_t for l_pid.
63156         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63157         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63158         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63159         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63160         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63161         [__USE_LARGEFILE64] (struct flock64): New type.
63162         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63164         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63165         * bits/dirent.h: ... here.
63167         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63168         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63170 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63172         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63173         Change from 2.6.0 to 2.6.16.
63174         * sysdeps/unix/sysv/linux/configure: Regenerated.
63175         * sysdeps/unix/sysv/linux/kernel-features.h
63176         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63177         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63178         version.
63179         (__ASSUME_UTIMES): Likewise.
63180         (__ASSUME_CLONE_STOPPED): Remove.
63181         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63182         architectures, not kernel version.
63183         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63184         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63185         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63186         (__ASSUME_WAITID_SYSCALL): Likewise.
63187         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63188         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63189         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63190         refer to older versions.
63192 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63194         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63195         Define alphasort64 as an alias.
63196         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63197         Define versionsort64 as an alias.
63198         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63199         Define scandir64 as an alias.
63200         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63201         Define scandirat64 as an alias.
63202         * dirent/alphasort64.c (alphasort64):
63203         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63204         * dirent/versionsort64.c: Likewise.
63205         * dirent/scandir64.c: Likewise.
63206         * dirent/scandirat64.c: Likewise.
63207         * sysdeps/wordsize-64/alphasort.c: File removed.
63208         * sysdeps/wordsize-64/alphasort64.c: File removed.
63209         * sysdeps/wordsize-64/scandir.c: File removed.
63210         * sysdeps/wordsize-64/scandir64.c: File removed.
63211         * sysdeps/wordsize-64/scandirat.c: File removed.
63212         * sysdeps/wordsize-64/scandirat64.c: File removed.
63213         * sysdeps/wordsize-64/versionsort.c: File removed.
63214         * sysdeps/wordsize-64/versionsort64.c: File removed.
63215         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63216         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63217         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63218         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63219         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63220         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63221         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63222         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63224         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63225         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63226         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63227         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63228         [defined __arch64__ || defined __sparcv9]
63229         (__INO_T_MATCHES_INO64_T): New macro.
63230         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63231         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63232         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63233         * sysdeps/unix/sysv/linux/bits/dirent.h
63234         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63235         (_DIRENT_MATCHES_DIRENT64): New macro.
63237         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63238         Define lockf64 as an alias.
63239         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63240         Define fseeko64 as an alias.
63241         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63242         Define ftello64 as an alias.
63243         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63244         Define _IO_fgetpos64 and fgetpos64 as aliases.
63245         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63246         Define _IO_fsetpos64 and fsetpos64 as aliases.
63247         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63248         Conditionalize body on this.
63249         * libio/fseeko64.c: Likewise.
63250         * libio/ftello64.c: Likewise.
63251         * libio/iofgetpos64.c: Likewise.
63252         * libio/iofsetpos64.c: Likewise.
63253         * sysdeps/wordsize-64/lockf.c: File removed.
63254         * sysdeps/wordsize-64/lockf64.c: File removed.
63255         * sysdeps/wordsize-64/fseeko.c: File removed.
63256         * sysdeps/wordsize-64/fseeko64.c: File removed.
63257         * sysdeps/wordsize-64/ftello.c: File removed.
63258         * sysdeps/wordsize-64/ftello64.c: File removed.
63259         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63260         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63261         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63262         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63263         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63264         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63265         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63266         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63267         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63268         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63269         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63270         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63271         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63272         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63274         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63275         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63276         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63277         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63278         [defined __arch64__ || defined __sparcv9]
63279         (__OFF_T_MATCHES_OFF64_T): New macro.
63280         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63281         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63283         (__OFF_T_MATCHES_OFF64_T): New macro.
63285 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63287         * stdlib/secure-getenv.c (__secure_getenv): Replace
63288         GLIBC_2_16 with GLIBC_2_17.
63290 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63292         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63293         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63295 2012-08-03  David S. Miller  <davem@davemloft.net>
63297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63299 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63301         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63302         Remove.
63303         (__ASSUME_CORRECT_SI_PID): Likewise.
63304         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63305         (__ASSUME_TMPFS_NAME): Likewise.
63306         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63307         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63308         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63309         (HAVE_AUX_SECURE): Make definition unconditional.
63310         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63311         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63313 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63315         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63316         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63317         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63318         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63319         __eloop_threshold instead of SYMLOOP_MAX.
63321         * sysdeps/generic/eloop-threshold.h: New file.
63322         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63323         of MAXSYMLINKS.
63324         * elf/chroot_canon.c (chroot_canon): Likewise.
63326 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63328         [BZ #13717]
63329         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63330         Change to 2.6.0 everywhere.
63331         * sysdeps/unix/sysv/linux/configure: Regenerated.
63332         * sysdeps/unix/sysv/linux/kernel-features.h
63333         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63334         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63335         kernel versions.
63336         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63337         (__ASSUME_FUTEX_REQUEUE): Remove.
63338         (__ASSUME_STATFS64): Define unconditionally.
63339         (__ASSUME_AT_SECURE): Likewise.
63340         (__ASSUME_CORRECT_SI_PID): Likewise.
63341         (__ASSUME_TGKILL): Define without depending on kernel version for
63342         i386.
63343         (__ASSUME_UTIMES): Likewise.
63344         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63345         kernel version.
63346         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63347         (__ASSUME_TMPFS_NAME): Likewise.
63348         * README: Update reference to Linux kernel versions.
63350 2012-08-02  Marek Polacek  <polacek@redhat.com>
63352         [BZ# 14150]
63353         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63354         libc_cv_asm_type_prefix with %.
63355         * configure: Regenerated.
63356         * include/libc-symbols.h: Remove comment about
63357         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63358         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63359         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63360         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63361         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63362         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63363         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63364         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63365         * elf/tst-unique2mod1.c: Likewise.
63366         * elf/tst-unique1mod2.c: Likewise.
63367         * elf/tst-unique1mod1.c: Likewise.
63368         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63369         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63370         Replace ASM_TYPE_DIRECTIVE with .type.
63371         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63372         * sysdeps/i386/sysdep.h: Likewise.
63373         * sysdeps/x86_64/sysdep.h: Likewise.
63374         * sysdeps/sh/sysdep.h: Likewise.
63375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63376         Do not define ASM_TYPE_DIRECTIVE.
63377         * sysdeps/powerpc/sysdep.h: Likewise.
63378         * sysdeps/powerpc/powerpc32/sysdep.h:
63379         Replace ASM_TYPE_DIRECTIVE with .type.
63380         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63381         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63382         * sysdeps/i386/fpu/e_powf.S: Likewise.
63383         * sysdeps/i386/fpu/e_expl.S: Likewise.
63384         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63385         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63386         * sysdeps/i386/fpu/e_pow.S: Likewise.
63387         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63388         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63389         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63390         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63391         * sysdeps/i386/fpu/e_log2.S: Likewise.
63392         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63393         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63394         * sysdeps/i386/fpu/e_powl.S: Likewise.
63395         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63396         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63397         * sysdeps/i386/fpu/e_logl.S: Likewise.
63398         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63399         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63400         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63401         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63402         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63403         * sysdeps/i386/fpu/e_log.S: Likewise.
63404         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63405         * sysdeps/i386/fpu/e_logf.S: Likewise.
63406         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63407         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63408         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63409         * sysdeps/i386/fpu/e_log10.S: Likewise.
63410         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63411         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63412         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63413         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63414         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63415         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63416         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63417         * sysdeps/i386/i686/strtok.S: Likewise.
63418         * sysdeps/i386/i386-mcount.S: Likewise.
63419         * sysdeps/i386/strtok.S: Likewise.
63420         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63421         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63422         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63423         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63424         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63425         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63426         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63427         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63428         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63429         * sysdeps/x86_64/_mcount.S: Likewise.
63430         * sysdeps/x86_64/strtok.S: Likewise.
63431         * sysdeps/sh/_mcount.S: Likewise.
63433 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63435         * libio/iofopen.c: Include <fcntl.h>.
63436         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63437         (_IO_fopen64, fopen64): Define as aliases.
63438         * libio/iofopen64.c: Include <fcntl.h>.
63439         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63440         Conditionalize body on this.
63441         * sysdeps/wordsize-64/iofopen.c: File removed.
63442         * sysdeps/wordsize-64/iofopen64.c: File removed.
63444 2012-08-01  Marek Polacek  <polacek@redhat.com>
63446         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63447         Use dlfcn directly instead of a variable.
63448         (binfmt-subdir): Do not define.
63449         (dlfcn): Likewise.
63451 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63453         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63454         Remove all definitions.
63455         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63456         <kernel-features.h>.
63457         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63458         (miss_F_GETOWN_EX): Remove all definitions.
63459         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63460         macro definition.
63461         [!__ASSUME_FCNTL64]: Remove conditional code.
63462         [__ASSUME_FCNTL64]: Make code unconditional.
63463         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63464         <kernel-features.h>.
63465         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63466         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63467         (lockf64) [__NR_fcntl64]: Make code unconditional.
63468         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63470         * sysdeps/unix/sysv/linux/kernel-features.h
63471         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63472         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63473         Make code unconditional.
63474         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63475         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63477         [__NR_vfork]: Make code unconditional.
63478         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63479         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63481         [__NR_vfork]: Make code unconditional.
63482         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63483         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63485 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63487         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63488         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63490         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63491         Define mkstemp64 as an alias.
63492         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63493         Define mkstemps64 as an alias.
63494         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63495         Define mkostemp64 as an alias.
63496         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63497         Define mkostemps64 as an alias.
63498         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63499         Conditionalize body on this.
63500         * misc/mkostemp64.c: Likewise.
63501         * misc/mkostemps64.c: Likewise.
63502         * misc/mkstemps64.c: Likewise.
63503         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63504         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63505         * sysdeps/wordsize-64/mkostemp.c: File removed.
63506         * sysdeps/wordsize-64/mkstemp.c: File removed.
63507         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63508         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63509         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63510         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63512         [BZ #14138]
63513         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63514         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63515         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63516         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63518         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63519         compat_symbol macros from <shlib-compat.h> rather than the underlying
63520         default_symbol_version and symbol_version macros, so that DEFAULT
63521         lines in shlib-versions are respected.
63522         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63524 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63526         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63527         Declare with warn_unused_result.
63528         (setgid, setregid, setegid, setresgid): Likewise.
63529         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63530         Likewise.
63531         * WUR-REPORT: Remove set*id functions.
63533 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
63535         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
63537 2012-07-31  Roland McGrath  <roland@hack.frob.com>
63539         [BZ #10191]
63540         * include/sys/socket.h (__libc_accept, __libc_accept4):
63541         Add attribute_hidden.
63542         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
63544         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
63545         use of PTR_MANGLE.
63546         * inet/getnetgrent_r.c (setup): Likewise.
63548         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
63550 2012-07-31  David S. Miller  <davem@davemloft.net>
63552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63554 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
63556         [BZ #13629]
63557         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
63558         value between 1.0 and 2.0 and smaller part has absolute value less
63559         than 1.0.
63560         * math/s_clog10.c (__clog10): Likewise.
63561         * math/s_clog10f.c (__clog10f): Likewise.
63562         * math/s_clog10l.c (__clog10l): Likewise.
63563         * math/s_clogf.c (__clogf): Likewise.
63564         * math/s_clogl.c (__clogl): Likewise.
63565         * math/libm-test.inc (clog_test): Add more tests.
63566         (clog10_test): Likewise.
63567         * sysdeps/i386/fpu/libm-test-ulps: Update.
63568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63570 2012-07-31  Florian Weimer  <fweimer@redhat.com>
63572         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
63573         Exit with zero in case no suitable GID is found, and write a
63574         message to standard error.
63576 2012-07-30  Roland McGrath  <roland@hack.frob.com>
63578         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
63579         rather than to 1.
63580         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
63581         (MAXPATHLEN): Removed.
63582         (NOGROUP, NODEV): New macros.
63583         (setbit, clrbit, isset, isclr): New macros.
63584         (howmany, roundup, powerof2): New macros.
63585         (DEV_BSIZE): New macro.
63587         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
63588         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
63590         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
63591         definition on [!__NO_LONG_DOUBLE_MATH].
63593         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
63594         PTR_MANGLE and PTR_DEMANGLE.
63596         * socket/accept4.c (accept4): Rename to __libc_accept4.
63597         Define accept4 as a weak alias.
63599         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
63600         on [_DIRENT_HAVE_D_TYPE].
63601         * io/ftw.c (ftw_dir): Likewise.
63603         * io/xmknod.c (__xmknod): Don't check PATH for being null.
63605         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
63607         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
63608         Use the BSD numbers rather than the arbitrary ones we had.
63609         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
63610         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
63611         (SIGXCPU, SIGXFSZ): New macros.
63612         (_NSIG): Now 32.
63614         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
63615         initializer on [_LIBC_REENTRANT].
63617         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
63618         definitions inside [_POSIX_MAPPED_FILES].
63620         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
63622         * dirent/opendir.c: Include <fcntl.h>.
63624         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
63625         (__libc_getspecific): Likewise.
63626         (__libc_key_create): Likewise.
63628         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
63629         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
63630         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
63631         (tmpfile64): Define as alias.
63632         * sysdeps/wordsize-64/tmpfile.c: File removed.
63633         * sysdeps/wordsize-64/tmpfile64.c: File removed.
63634         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
63635         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
63637         * stdio-common/vfscanf.c: Include <stdbool.h>.
63638         * nss/makedb.c: Likewise.
63639         * stdio-common/_i18n_number.h: Likewise.
63640         * argp/argp-help.c: Likewise.
63641         * posix/wordexp.c: Likewise.
63642         * sysdeps/posix/spawni.c: Likewise.
63643         * nss/nss_files/files-initgroups.c: Likewise.
63644         * stdio-common/reg-modifier.c: Include <stdlib.h>.
63645         * nss/nss_files/files-initgroups.c: Likewise.
63646         * nss/nss_db/db-netgrp.c: Likewise.
63647         * nss/nss_db/db-initgroups.c: Likewise.
63648         * io/fchmodat.c: Include <sys/stat.h>.
63650         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
63651         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
63653         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
63654         [HAVE_MMAP].
63656         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
63657         Add multiple inclusion protection.
63659 2012-07-27  David S. Miller  <davem@davemloft.net>
63661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63663 2012-07-27  Gary Benson  <gbenson@redhat.com>
63665         [BZ #14298]
63666         * elf/rtld.c: Include <stap-probe.h>.
63667         (dl_main): Added static probes "init_start" and "init_complete".
63668         * elf/dl-load.c: Include <stap-probe.h>.
63669         (lose): Take new parameter "nsid".
63670         Added static probe "map_failed".
63671         (_dl_map_object_from_fd): Pass namespace id to lose.
63672         Added static probe "map_start".
63673         (open_verify): Pass namespace id to lose.
63674         * elf/dl-open.c: Include <stap-probe.h>.
63675         (dl_open_worker) Added static probes "map_complete", "reloc_start"
63676         and "reloc_complete".
63677         * elf/dl-close.c: Include <stap-probe.h>.
63678         (_dl_close_worker): Added static probes "unmap_start" and
63679         "unmap_complete".
63680         * elf/rtld-debugger-interface.txt: New file documenting the above.
63682 2012-07-26  Roland McGrath  <roland@hack.frob.com>
63684         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
63685         rather than a string variable.
63686         * sunrpc/rpc_main.c (h_output): Likewise.
63687         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
63689 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
63691         * inet/check_native.c: New file.
63693 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
63695         [BZ #13629]
63696         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
63697         if larger part has absolute value 1.0.
63698         * math/s_clog10.c (__clog10): Likewise.
63699         * math/s_clog10f.c (__clog10f): Likewise.
63700         * math/s_clog10l.c (__clog10l): Likewise.
63701         * math/s_clogf.c (__clogf): Likewise.
63702         * math/s_clogl.c (__clogl): Likewise.
63703         * math/libm-test.inc (clog_test): Add more tests.
63704         (clog10_test): Likewise.
63705         * sysdeps/i386/fpu/libm-test-ulps: Update.
63706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63708         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
63709         (pltexit): Likewise.
63710         (La_regs): Likewise.
63711         (La_retval): Likewise.
63712         (int_retval): Likewise.
63713         Update #error for removed macros to refer only to definitions in
63714         tst-audit.h.
63715         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
63716         macro.
63717         (pltexit): Likewise.
63718         (La_regs): Likewise.
63719         (La_retval): Likewise.
63720         (int_retval): Likewise.
63721         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
63722         macro.
63723         (pltexit): Likewise.
63724         (La_regs): Likewise.
63725         (La_retval): Likewise.
63726         (int_retval): Likewise.
63727         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
63728         macro.
63729         (pltexit): Likewise.
63730         (La_regs): Likewise.
63731         (La_retval): Likewise.
63732         (int_retval): Likewise.
63733         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
63734         macro.
63735         (pltexit): Likewise.
63736         (La_regs): Likewise.
63737         (La_retval): Likewise.
63738         (int_retval): Likewise.
63739         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
63740         macro.
63741         (pltexit): Likewise.
63742         (La_regs): Likewise.
63743         (La_retval): Likewise.
63744         (int_retval): Likewise.
63745         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
63746         macro.
63747         (pltexit): Likewise.
63748         (La_regs): Likewise.
63749         (La_retval): Likewise.
63750         (int_retval): Likewise.
63751         * sysdeps/generic/tst-audit.h: Update comment to refer only to
63752         macro definitions in tst-audit.h.
63753         * sysdeps/i386/tst-audit.h: New file.
63754         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
63755         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
63756         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
63757         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
63758         * sysdeps/sh/tst-audit.h: Likewise.
63759         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
63760         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
63761         * sysdeps/x86_64/tst-audit.h: Likewise.
63763 2012-07-26  Andreas Jaeger  <aj@suse.de>
63765         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
63766         ptrace.
63768         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
63769         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
63770         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
63771         PTRACE_O_MASK.
63772         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
63773         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
63774         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
63776         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
63777         value.
63779         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
63780         _sigsys.
63781         (si_call_addr, si_syscall, si_arch): Define new macro.
63782         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
63783         _sigsys.
63784         (si_call_addr, si_syscall, si_arch): Define new marcro.
63785         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
63786         _sigsys.
63787         (si_call_addr, si_syscall, si_arch): Define new macro.
63788         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
63789         _sigsys.
63790         (si_call_addr, si_syscall, si_arch): Define new macro.
63792 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63794         [BZ #13717]
63795         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63796         Change to 2.4.21 where previously 2.4.1.
63797         * sysdeps/unix/sysv/linux/configure: Regenerated.
63798         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
63799         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
63800         Linux kernel version.
63801         (__ASSUME_STD_AUXV): Remove.
63802         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
63803         kernel version.
63804         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
63805         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
63806         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
63807         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
63808         (__ASSUME_NETLINK_SUPPORT): Likewise.
63809         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
63810         (__no_netlink_support): Remove conditional definition.
63811         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
63812         Remove.
63813         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63814         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
63815         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
63816         (if_nameindex_ioctl): Remove.
63817         (if_nameindex_netlink): Do not handle __no_netlink_support.
63818         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63819         code.
63820         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
63821         Remove conditional code.
63822         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
63823         code.
63824         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
63825         unconditional.
63826         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
63827         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
63828         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
63829         Remove.
63830         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
63831         [!__ASSUME_STD_AUXV]: Remove conditional code.
63832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
63833         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
63834         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
63835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
63836         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
63837         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63838         code.
63839         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
63841         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
63842         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63843         conditional code.
63844         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
63845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
63846         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
63847         code.
63848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
63849         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
63850         conditional code.
63851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
63852         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63853         code unconditional.
63854         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63855         conditional code.
63856         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63857         unconditional.
63858         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63859         conditional code.
63860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
63861         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63862         unconditional.
63863         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63864         conditional code.
63865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
63866         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63867         code unconditional.
63868         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63869         conditional code.
63870         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63871         unconditional.
63872         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63873         conditional code.
63874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
63875         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
63876         code unconditional.
63877         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63878         conditional code.
63879         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
63880         unconditional.
63881         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
63882         conditional code.
63884 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
63886         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
63887         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
63888         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
63889         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
63890         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
63891         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
63892         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
63893         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
63894         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
63895         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
63896         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
63897         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
63898         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
63899         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
63900         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
63901         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
63902         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
63903         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
63904         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
63905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
63906         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
63907         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
63908         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
63910 2012-07-25  Florian Weimer  <fweimer@redhat.com>
63912         * Versions.def: Add GLIBC_2.17.
63913         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
63914         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
63915         Introduce __libc_secure_getenv.
63916         * stdlib/Versions (2.17): Add secure_getenv
63917         (GLIBC_PRIVATE): Add __libc_secure_getenv.
63918         * stdlib/secure-getenv.c: Rename __secure_getenv to
63919         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
63920         symbol __secure_getenv for GLIBC_2.0.
63921         * stdlib/tst-secure-getenv.c: New.
63922         * stdlib/Makefile (tests): Add testcase.
63923         * manual/startup.texi (Environment Access): Document
63924         secure_getenv.
63925         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
63926         __libc_secure_getenv.
63927         * inet/ruserpass.c (ruserpass): Likewise.
63928         * malloc/mtrace.c (mtrace): Likewise.
63929         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
63930         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
63931         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
63932         * sysdeps/posix/tempname.c: Likewise.  Evaluate
63933         HAVE_SECURE_GETENV.
63934         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
63935         __secure_getenv to __libc_secure_getenv.
63936         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
63937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63938         Likewise.
63939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63940         Likewise.
63941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
63942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
63943         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
63945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
63949 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
63951         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
63952         (struct La_i86_retval): Likewise.
63953         (struct La_x86_64_regs): Likewise.
63954         (struct La_x86_64_retval): Likewise.
63955         (struct La_x32_regs): Likewise.
63956         (struct La_x32_retval): Likewise.
63957         (struct La_ppc32_regs): Likewise.
63958         (struct La_ppc32_retval): Likewise.
63959         (struct La_ppc64_regs): Likewise.
63960         (struct La_ppc64_retval): Likewise.
63961         (struct La_sh_regs): Likewise.
63962         (struct La_sh_retval): Likewise.
63963         (struct La_s390_32_regs): Likewise.
63964         (struct La_s390_32_retval): Likewise.
63965         (struct La_s390_64_regs): Likewise.
63966         (struct La_s390_64_retval): Likewise.
63967         (struct La_sparc32_regs): Likewise.
63968         (struct La_sparc32_retval): Likewise.
63969         (struct La_sparc64_regs): Likewise.
63970         (struct La_sparc64_retval): Likewise.
63971         (struct audit_ifaces): Remove architecture-specific pltenter and
63972         pltexit members.
63973         * sysdeps/i386/ldsodefs.h: New file.
63974         * sysdeps/powerpc/ldsodefs.h: Likewise.
63975         * sysdeps/s390/ldsodefs.h: Likewise.
63976         * sysdeps/sh/ldsodefs.h: Likewise.
63977         * sysdeps/sparc/ldsodefs.h: Likewise.
63978         * sysdeps/x86_64/ldsodefs.h: Likewise.
63980 2012-07-25  Marek Polacek  <polacek@redhat.com>
63982         [BZ #6808]
63983         * math/libm-test.inc (yn_test): Add another test.
63984         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
63985         to ERANGE when the result is +-Inf.
63986         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
63987         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
63988         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
63989         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
63991 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
63993         * conform/data/time.h-data (NULL): Use macro-constant.  Require
63994         equal to 0.
63995         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
63996         clock_t.
63997         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
63999 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
64001         * configure.in <sysdeps resolving>: Correct printing
64002         Implies_before.
64003         * configure: Regenerate.
64005 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
64007         * math/w_ilogb.c: Include <limits.h>.
64008         * math/w_ilogbl.c: Likewise.
64010 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64012         * manual/lang.texi (__va_copy): Document primarily as ISO C99
64013         va_copy.  Document allowing for unavailable va_copy only as
64014         pre-C99 compatibility.
64015         * manual/string.texi (Copying and Concatenation): Use va_copy
64016         instead of __va_copy in concat example.
64018 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64020         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64021         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64022         it if not null.
64024         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64025         with O_NOLINK passed to __file_name_lookup.
64027         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64028         with O_NOLINK passed to __file_name_lookup.
64030         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64031         negative N or less than NGIDS.
64033         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64034         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64035         enough.  Use memcpy instead of strncpy.
64037 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64039         * elf/Makefile (check-data): Remove.
64040         (localplt.data): New vpath directive.
64041         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64042         instead of $(check-data).
64043         * scripts/data/localplt-generic.data: Move to ...
64044         * sysdeps/generic/localplt.data: ... here.
64045         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64046         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64047         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64049         ... here.
64050         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64052         ... here.
64053         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64055         ... here.
64056         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64058         ... here.
64059         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64060         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64061         ... here.
64062         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64064         ... here.
64066 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64068         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64069         PPC32 and PPC64 files.
64070         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64071         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64073 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64075         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64076         __makecontext_ret to ...
64077         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64078         ... here and call exit if uc_link is NULL.  New file.
64079         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64080         __makecontext_ret.S.
64081         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64082         __makecontext_ret to ...
64083         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64084         ... here and call exit if uc_link is NULL.  New file.
64085         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64086         __makecontext_ret.S.
64088 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64090         * elf/elf.h (R_390_IRELATIVE): New definition.
64091         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64092         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64093         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64094         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64095         (elf_machine_lazy_rel): Likewise.
64096         * sysdeps/s390/dl-irel.h: New file.
64097         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64098         * sysdeps/s390/s390-64/memset.S: New asm code.
64099         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64100         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64101         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64102         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64103         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64104         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64105         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64106         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64107         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64108         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64109         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64110         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64111         * sysdeps/s390/s390-32/memset.S: New asm code.
64112         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64114 2012-07-17  Marek Polacek  <polacek@redhat.com>
64116         [BZ #14349]
64117         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64118         * sysdeps/s390/s390-64/configure.in: Likewise.
64119         * sysdeps/sparc/configure.in: Likewise.
64120         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64121         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64122         * sysdeps/i386/configure.in: Likewise.
64123         * sysdeps/x86_64/configure.in: Likewise.
64124         * sysdeps/sh/configure.in: Likewise.
64125         * sysdeps/s390/s390-32/configure: Regenerated.
64126         * sysdeps/s390/s390-64/configure: Likewise.
64127         * sysdeps/x86_64/configure: Likewise.
64128         * sysdeps/sh/configure: Likewise.
64129         * sysdeps/powerpc/powerpc64/configure: Likewise.
64130         * sysdeps/powerpc/powerpc32/configure: Likewise.
64131         * sysdeps/sparc/configure: Likwise.
64132         * sysdeps/i386/configure: Likewise.
64134         * elf/dl-open.c: Comment fixes.
64136 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64138         * Makefile [CXX] (check-data): Remove.
64139         [CXX] (c++-types.data): New vpath directive.
64140         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64141         vpath.  Do not allow for C++ type data being missing.
64142         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64143         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64144         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64145         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64146         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64147         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64148         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64150         ... here.
64151         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64153         ... here.
64154         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64156         ... here.
64157         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64159         ... here.
64160         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64162         ... here.
64163         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64165         ... here.
64166         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64168         ... here.
64169         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64170         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64172         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64173         definitions to architecture-specific files.
64174         (TLS_IE): Likewise.
64175         (TLS_LD): Likewise.
64176         (TLS_GD): Likewise.
64177         * sysdeps/i386/tls-macros.h: New file.
64178         * sysdeps/powerpc/tls-macros.h: Likewise.
64179         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64180         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64181         * sysdeps/sh/tls-macros.h: Likewise.
64182         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64183         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64184         * sysdeps/x86_64/tls-macros.h: Likewise.
64186 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64188         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64189         zero value for regular exit case.
64191         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64192         (__start_context): Preserve zero value for regular exit case.
64194 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64195             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64197         * manual/setjmp.texi (setcontext): Clarify normal process
64198         termination when uc_link is the null pointer.
64199         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64200         exit call.
64202 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64204         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64205         preprocessor.  Test for each exception mask separately.
64207 2012-07-16  Andreas Jaeger  <aj@suse.de>
64209         * po/ru.po: Update from translation team.
64211 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64213         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64214         equal to 0.
64215         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64216         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64217         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64218         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64219         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64221 2012-07-13  Andreas Jaeger  <aj@suse.de>
64223         * po/fr.po: Update from translation team.
64225 2012-07-12  Marek Polacek  <polacek@redhat.com>
64227         [BZ #14173]
64228         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64229         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64230         loop condition.
64232 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64234         [BZ #13717]
64235         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64236         Change to 2.4.1 where previously 2.4.0.
64237         * sysdeps/unix/sysv/linux/configure: Regenerated.
64238         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64239         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64240         version.
64241         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64242         (__ASSUME_AT_CLKTCK): Remove.
64243         (__ASSUME_AT_PAGESIZE): Likewise.
64244         (__ASSUME_AT_XID): Likewise.
64245         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64246         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64247         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64248         unconditionally.
64249         (HAVE_AUX_PAGESIZE): Likewise.
64250         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64251         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64252         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64254 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64256         [BZ #14307]
64257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64258         the temporary buffer used to invoke __gethostbyname2_r,
64259         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64260         host_data / struct gaih_addrtuple.
64261         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64262         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64263         header file nss/nsswitch.h.
64264         * nss/nsswitch.h (global scope): Add definition of implementation
64265         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64266         resolv/nss_dns/dns-host.c).
64268 2012-07-11  Andreas Jaeger  <aj@suse.de>
64270         * po/fr.po: Update from translation team.
64272         * po/sv.po: Update from translation team
64273         * po/fr.po: Another update from translation team.
64275 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64277         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64278         for subnormals or multiply small sinh result by itself.
64279         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64282 2012-07-11  David S. Miller  <davem@davemloft.net>
64284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64286 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64288         [BZ #14347]
64289         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64290         (INTERNAL_MARK): Shift it here.
64292 2012-07-10  Marek Polacek  <polacek@redhat.com>
64294         [BZ #14151]
64295         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64296         libc_cv_asm_global_directive with .globl.
64297         * configure: Regenerated.
64298         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64299         with .globl.
64300         * sysdeps/i386/configure: Regenerated.
64301         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64302         with .globl.
64303         * sysdeps/x86_64/configure: Regenerated.
64304         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64305         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64306         * elf/tst-unique2mod2.c: Likewise.
64307         * elf/tst-unique2mod1.c: Likewise.
64308         * elf/tst-unique1mod2.c: Likewise.
64309         * elf/tst-unique1mod1.c: Likewise.
64310         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64311         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64312         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64313         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64314         * sysdeps/mach/sysdep.h: Likewise.
64315         * sysdeps/i386/sysdep.h: Likewise.
64316         * sysdeps/i386/i386-mcount.S: Likewise.
64317         * sysdeps/x86_64/_mcount.S: Likewise.
64318         * sysdeps/x86_64/sysdep.h: Likewise.
64319         * sysdeps/sh/_mcount.S: Likewise.
64320         * sysdeps/sh/sysdep.h: Likewise.
64321         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64322         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64323         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64324         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64325         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64326         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64327         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64328         * locale/localeinfo.h: Likewise.
64329         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64330         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64332 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64334         [BZ #14336]
64335         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64336         system".
64337         * manual/message.texi (The Uniforum approach): Likewise.
64338         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64339         (glibc iconv Implementation): Likewise.
64341 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64343         [BZ #14337]
64344         * math/s_clog.c (__clog): Avoid scaling a value down where that
64345         could result in underflow.
64346         * math/s_clog10.c (__clog10): Likewise.
64347         * math/s_clog10f.c (__clog10f): Likewise.
64348         * math/s_clog10l.c (__clog10l): Likewise.
64349         * math/s_clogf.c (__clogf): Likewise.
64350         * math/s_clogl.c (__clogl): Likewise.
64351         * math/libm-test.inc (clog_test): Add more tests.
64352         (clog10_test): Likewise.
64353         * sysdeps/i386/fpu/libm-test-ulps: Update.
64354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64356 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64358         [BZ #14283]
64359         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64360         by 7 not 8 to examine high bit of fractional part.
64362         [BZ #14042]
64363         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64364         for call to __mcount_internal.
64365         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64366         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64367         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64369 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64371         [BZ #14154]
64372         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64373         approximation for values within 0x1p-13f of an odd multiple of
64374         pi/4.
64375         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64376         exception.  Add more tests.
64377         * sysdeps/i386/fpu/libm-test-ulps: Update.
64379         [BZ #6778]
64380         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64381         inputs and return -1 for them.  Do not check for +Inf in case not
64382         reachable for +Inf.
64383         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64384         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64385         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64386         and return -1 for them.  Do not check for +Inf in case not
64387         reachable for +Inf.
64388         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64389         define.
64390         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64391         and return -1 for them.  Do not check for +Inf in case not
64392         reachable for +Inf.
64393         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64394         spurious underflow.
64395         * sysdeps/i386/fpu/libm-test-ulps: Update.
64396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64398 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64400         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64402 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64404         [BZ #14157]
64405         [BZ #14331]
64406         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64407         could result in spurious underflow.  Scale down values above
64408         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64409         * math/s_csqrtf.c (__csqrtf): Likewise.
64410         * math/s_csqrtl.c (__csqrtl): Likewise.
64411         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64412         spurious underflow.
64413         * sysdeps/i386/fpu/libm-test-ulps: Update.
64414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64416 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64418         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64419         xopen-msg.sed.
64420         * catgets/xopen-msg.awk: New file.
64421         * catgets/xopen-msg.sed: Removed.
64423         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64424         po2text.sed.
64425         * intl/po2test.awk: New file.
64426         * intl/po2test.sed: Removed.
64428 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64430         [BZ #14328]
64431         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64432         or multiply small sinh result by itself.
64433         * math/s_ctanf.c (__ctanf): Likewise.
64434         * math/s_ctanh.c (__ctanh): Likewise.
64435         * math/s_ctanhf.c (__ctanhf): Likewise.
64436         * math/s_ctanhl.c (__ctanhl): Likewise.
64437         * math/s_ctanl.c (__ctanl): Likewise.
64438         * math/libm-test.inc (ctan_test_tonearest): New function.
64439         (ctan_test_towardzero): Likewise.
64440         (ctan_test_downward): Likewise.
64441         (ctan_test_upward): Likewise.
64442         (ctanh_test_tonearest): Likewise.
64443         (ctanh_test_towardzero): Likewise.
64444         (ctanh_test_downward): Likewise.
64445         (ctanh_test_upward): Likewise.
64446         (main): Call these new functions.
64447         * sysdeps/i386/fpu/libm-test-ulps: Update.
64448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64450 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64452         * .gitignore: Delete /ports entry.
64454 2012-07-03  Andreas Jaeger  <aj@suse.de>
64456         * po/bg.po: Update from translation team.
64457         * po/cs.po: Likewise.
64458         * po/de.po: Likewise.
64459         * po/hr.po: Likewise.
64460         * po/nl.pl: Likewise.
64461         * po/pl.po: Likewise.
64462         * po/vi.po: Likewise.
64464 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64466         * Makeconfig [!+link] (+link-before-libc): New variable.
64467         [!+link] (+link-after-libc): Likewise.
64468         [!+link] (+link-tests): Likewise.
64469         [!+link] (+link): Define in terms of $(+link-before-libc) and
64470         $(+link-after-libc).
64471         [!+link-static] (+link-static-before-libc): New variable.
64472         [!+link-static] (+link-static-after-libc): Likewise.
64473         [!+link-static] (+link-static-tests): Likewise.
64474         [!+link-static] (+link-static): Define in terms of
64475         $(+link-static-before-libc) and $(+link-static-after-libc).
64476         [build-shared] (link-libc-before-gnulib): New variable.
64477         [build-shared] (link-libc-tests): Likewise.
64478         [build-shared] (link-libc): Define in terms of
64479         $(link-libc-before-gnulib).
64480         [!build-shared] (link-libc-tests): New variable.
64481         (link-libc-static-tests): New variable.
64482         [!gnulib] (gnulib-arch): New variable.
64483         [!gnulib] (gnulib-tests): Likewise.
64484         [!gnulib] (static-gnulib-arch): Likewise.
64485         [!gnulib] (static-gnulib-tests): Likewise.
64486         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64487         Define with "=" instead of ":=".
64488         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64489         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64490         * Rules (binaries-all-notests): New variable.
64491         (binaries-all-tests): Likewise.
64492         (binaries-static-notests): Likewise.
64493         (binaries-static-tests): Likewise.
64494         (binaries-all): Define using $(binaries-all-notests) and
64495         $(binaries-all-tests).
64496         (binaries-static): Define using $(binaries-static-notests) and
64497         $(binaries-static-tests).
64498         (binaries-shared-tests): New variable.
64499         (binaries-shared-notests): Likewise.
64500         (binaries-shared): Remove variable.
64501         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64502         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64503         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64504         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64505         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64506         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64507         * elf/Makefile (sln-modules): New variable.
64508         (extra-objs): Add $(sln-modules:=.o).
64509         (ldconfig-modules): Add static-stubs.
64510         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64511         * elf/static-stubs.c: New file.
64513         [BZ #14283]
64514         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64515         by 7 not 8 to examine high bit of fractional part.  Use volatile
64516         variables when splitting into final array of floats if
64517         __FLT_EVAL_METHOD__ != 0.
64518         * math/libm-test.inc (cos_test): Add another test.
64519         (sin_test): Likewise.
64520         * sysdeps/i386/fpu/libm-test-ulps: Update.
64522         [BZ #14273]
64523         * math/libm-test.inc (cosh_test): Add more tests.
64525         * version.h (RELEASE): Set to "development".
64526         (VERSION): Set to "2.16.90".
64528 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64530         * NEWS: Update copyright. Remove last-updated date.
64531         Mention math library bug fixes and timezone data changes.
64532         * README: Mention GNU/Hurd, x32, and HPPA support status.
64534 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
64536         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
64538 2012-06-27  Andreas Jaeger  <aj@suse.de>
64540         * manual/contrib.texi (Contributors): Add Samuel Thibault.
64542 2012-06-25  Andreas Jaeger  <aj@suse.de>
64544         * sysdeps/s390/fpu/libm-test-ulps: Update.
64546 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
64547             Thomas Schwinge  <thomas@codesourcery.com>
64549         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
64550         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
64551         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
64552         fanotify_mark.
64554 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
64556         * sysdeps/mach/start.c: Remove file.
64557         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
64558         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
64559         * sysdeps/sh/init-first.c: Likewise.
64561         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
64562         registers for frame unwinding purposes, add CFI directives.
64563         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64564         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
64565         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
64566         Likewise.
64568         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
64569         __fortify_fail returning.
64570         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
64572         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
64573         sysdeps/sh/____longjmp_chk.S.
64574         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
64575         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
64576         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
64577         (gen-as-const-headers): Append sigaltstack-offsets.sym.
64579         * sysdeps/sh/abort-instr.h: New file.
64580         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
64581         process in case exit returns.
64583         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
64584         initialize the GOT register before use.
64586         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
64587         calculation of ARGC > 4.
64589         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
64590         meaningful names to some local labels.
64592 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64593             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64595         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
64596         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
64597         (__arch_compare_and_exchange_val_16_acq): Likewise.
64598         (__arch_compare_and_exchange_val_32_acq): Likewise.
64599         (atomic_exchange_and_add): Fix gUSA sequence.
64600         (atomic_add): Likewise.
64601         (atomic_add_negative): Likewise.
64602         (atomic_add_zero): Likewise.
64603         (atomic_bit_test_set): Likewise.
64605 2012-06-22  Andreas Schwab  <schwab@redhat.com>
64607         [BZ #13579]
64608         * include/link.h (struct link_map): Add l_free_initfini.
64609         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
64610         l_initfini.
64611         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
64612         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
64613         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
64614         set.
64616 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
64618         * configure.in: Use AC_LANG_SOURCE.
64619         * configure: Regenerate.
64621 2012-06-22  Roland McGrath  <roland@hack.frob.com>
64623         * configure.in (libc_cv_localstatedir): New substituted variable.
64624         * configure: Regenerated.
64625         * config.make.in (localstatedir): New variable, substituted from
64626         libc_cv_localstatedir.
64627         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
64628         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
64629         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
64630         * sysdeps/gnu/configure: Regenerated.
64632 2012-06-21  Jeff Law  <law@redhat.com>
64634         [BZ #14277]
64635         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
64636         free.  Simplify list management for _LIBC case.
64638 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
64640         [BZ #14273]
64641         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
64642         Clear sign bit of 64-bit integer value before comparing against
64643         overflow value.
64645         * sysdeps/mach/configure: Regenerated.
64647 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
64649         [BZ #14278]
64650         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
64652 2012-06-21  Jeff Law  <law@redhat.com>
64654         [BZ #13882]
64655         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
64656         uint16_t for elements in the "seen" array to avoid char overflows.
64657         * elf/dl-fini.c (_dl_sort_fini): Likewise.
64658         * elf/dl-open.c (dl_open_worker): Likewise.
64660 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
64662         * scripts/list-sources.sh: Scan PORTS for translations.
64663         * po/libc.pot: Regenerated.
64665 2012-06-21  Andreas Jaeger  <aj@suse.de>
64667         [BZ #12194]
64668         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
64669         warning.
64670         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
64671         * bits/byteswap-16.h (__bswap_16): Likewise.
64672         * bits/byteswap.h (__bswap_constant_16): Likewise.
64674 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
64676         [BZ #14117]
64677         * sysdeps/i386/fpu_control.h: Removed.
64678         * sysdeps/x86_64/fpu_control.h: Moved to ...
64679         * sysdeps/x86/fpu_control.h: Here.
64681         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
64682         (_FPU_SETCW): Likewise.
64684 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
64686         [BZ #14117]
64687         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
64688         * sysdeps/x86/fpu/bits/mathinline.h: This.
64689         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
64691         [BZ #14050]
64692         [BZ #14117]
64693         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
64694         functions if __x86_64__ is defined.
64696 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
64698         * string/endian.h: Add !__ASSEMBLER__ condition for including
64699         conversion interfaces.
64701 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
64703         [BZ #14241]
64704         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
64705         of ABS(x) in calculating zero to negative powers other than odd
64706         integers.
64707         * math/libm-test.inc (pow_test): Add more tests.
64709 2012-06-15  Andreas Jaeger  <aj@suse.de>
64711         * manual/contrib.texi (Contributors): Update entry of Liubov
64712         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
64713         Machado Filho.
64715 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
64717         * string/string.h: Add __wur to GNU version of strerror_r.
64719 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
64721         [BZ #14229]
64722         * string/Makefile (tests): Add tst-strtok_r.
64723         * string/tst-strtok_r.c: New file.
64724         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
64725         RAX_LP/RDX_LP on SAVE_PTR.
64727 2012-06-14  Roland McGrath  <roland@hack.frob.com>
64729         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
64731 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
64733         * libm_test.inc (csqrt_test): Allow more spurious underflow
64734         exceptions.
64735         (j0_test): Likewise.
64736         (j1_test): Likewise.
64737         (y0_test): Likewise.
64738         (y1_test): Likewise.
64740 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
64742         * po/Makefile (libc.pot): Use UTF-8 charset.
64744 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
64746         [BZ #14210]
64747         Suppress sign-conversion warning from FD_SET.
64748         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
64749         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
64750         not unsigned long int.
64751         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
64753 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
64755         [BZ #14050]
64756         [BZ #14117]
64757         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
64758         __extern_always_inline instead of __extern_inline.
64759         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
64760         (__signbit): Likewise.
64761         (__signbitl): Support C++ namespace.
64762         (lrintf): New inline function.
64763         (lrint): Likewise.
64764         (llrintf): Likewise.
64765         (llrint): Likewise.
64766         (fmaxf): Likewise.
64767         (fmax): Likewise.
64768         (fminf): Likewise.
64769         (fmin): Likewise.
64770         (rint): Likewise.
64771         (rintf): Likewise.
64772         (ceil): Likewise.
64773         (ceilf): Likewise.
64774         (floor): Likewise.
64775         (floorf): Likewise.
64776         (nearbyint): Likewise.
64777         (nearbyintf): Likewise.
64779 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
64781         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
64782         non-default versions.
64784 2012-06-11  Roland McGrath  <roland@hack.frob.com>
64786         [BZ #14218]
64787         * manual/argp.texi (Argp): Reword argp_parse description slightly.
64789 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
64791         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
64792         (FE_UPWARD, FE_DOWNWARD): Don't define.
64793         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
64794         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
64796         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
64797         reading it.
64798         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
64799         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64801 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64803         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
64804         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
64805         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
64806         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
64808 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
64810         [BZ #14117]
64811         * sysdeps/i386/fpu/bits/fenv.h: Removed.
64812         * sysdeps/i386/fpu/Implies: New file.
64813         * sysdeps/x86_64/fpu/Implies: Likewise.
64814         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
64815         * sysdeps/x86/fpu/bits/fenv.h: This.
64817         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
64818         __SSE_MATH__.
64820 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
64822         [BZ #14134]
64823         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
64824         character 0xffff that matches the last element of the
64825         conversion table.
64827 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64829         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
64830         fmodl commit.
64832 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64834         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
64835         values higher than 25.6283.
64837 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64839         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
64840         subnormal exponent extraction and add some __builtin_expect.
64841         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
64842         Fix for subnormal mantissa calculation.
64844 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
64846         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
64847         cpu2 is -1 and errno is not ENOSYS.
64849 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
64851         [BZ #14117]
64852         * sysdeps/i386/i486/bits/string.h: Renamed to ...
64853         * sysdeps/x86/bits/string.h: This.
64854         * sysdeps/x86_64/bits/string.h: Removed.
64856         * sysdeps/i386/i486/bits/string.h: Define inline functions only
64857         if not compiling for x86-64, but compiling for >= i486.
64859         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
64860         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
64862         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
64863         New macro from Linux kernel 3.4.0.
64864         (FP_XSTATE_MAGIC2): Likewise.
64865         (FP_XSTATE_MAGIC2_SIZE): Likewise.
64866         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
64867         (struct _fpx_sw_bytes): New struct.
64868         (struct _xsave_hdr): Likewise.
64869         (struct _ymmh_state): Likewise.
64870         (struct _xstate): Likewise.
64872         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
64873         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
64874         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
64875         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
64876         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
64877         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
64879         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
64880         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
64881         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
64882         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
64883         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
64884         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
64886 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64888         [BZ #13743]
64889         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
64890         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
64891         (sysdep_headers): Include sys/platform/ppc.h.
64892         * sysdeps/powerpc/test-gettimebase.c: Test for
64893         __ppc_get_timebase() to catch future ISA opcode/insn changes.
64894         * manual/Makefile (appendices): Include platform.texi.
64895         * manual/contrib.texi (Contributors): Update @node pointers.
64896         * manual/maint.texi (Maintenance): Likewise.
64897         (Platform): New node.
64898         * manual/platform.texi: New file.  Document the new features.
64900 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64901             Jakub Jelinek  <jakub@redhat.com>
64903         [BZ #14188]
64904         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
64905         where __builtin_expect is unavailable.
64907 2012-06-03  David S. Miller  <davem@davemloft.net>
64909         * stdlib/longlong.h: Updated from GCC.
64911 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
64913         [BZ #14042]
64914         * sysdeps/powerpc/powerpc32/mcount.c: New file.
64915         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
64916         __mcount_internal.
64917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
64918         (GLIBC_2.16): Likewise.
64920 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64922         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
64924 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
64927         (default-abi): New variable.
64928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
64929         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
64930         variable.
64931         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
64932         Likewise.
64933         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
64934         Likewise.
64935         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
64936         Likewise.
64938         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
64939         definition.  Document in comment.
64941 2012-06-01  David S. Miller  <davem@davemloft.net>
64943         * stdlib/longlong.h: Updated from GCC.
64945 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64947         [BZ #14117]
64948         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
64949         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
64950         sys/debugreg.h sys/io.h here.
64951         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
64952         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
64953         sys/io.h.
64954         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
64955         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
64956         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
64957         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
64958         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
64959         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
64961         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
64962         Define only if __x86_64__ is defined.
64964 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
64966         [BZ #14048]
64967         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
64968         Use int64_t for variable i.
64969         * math/libm-test.inc (fmod_test): Add more tests.
64971         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
64972         z computation is not scheduled after fetestexcept.
64973         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
64974         Use math_force_eval instead of asm to ensure calculation scheduled
64975         before exception test.
64976         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
64977         Ensure a1 + u.d computation is not scheduled after fetestexcept.
64979 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
64981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
64982         computation is not scheduled after fetestexcept.
64984 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
64986         [BZ #14117]
64987         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
64988         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
64990 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64992         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
64993         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64995 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
64997         [BZ #14117]
64998         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
64999         <bits/wordsize.h>.
65000         (__WCHAR_MIN): Support __WORDSIZE == 64.
65001         (__WCHAR_MAX): Likewise.
65003         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
65004         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
65006         [BZ #14183]
65007         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
65008         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65010         [BZ #14117]
65011         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65012         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65014         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65015         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65017         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65018         Defined to 1 if __x86_64__ isn't defined.
65019         (_STAT_VER_LINUX_OLD): New.
65020         (st_atime): Remove duplicate.
65021         (st_mtime): Likewise.
65022         (st_ctime): Likewise.
65024 2012-05-31  David S. Miller  <davem@davemloft.net>
65026         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65027         entries.
65029 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65031         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65032         gen-libm-test.pl.
65034         [BZ #14132]
65035         * elf/dl-reloc.c: Include <_itoa.h>.
65036         (_dl_reloc_bad_type): Remove use of INTUSE.
65037         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65038         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65039         * stdio-common/psiginfo.c (psiginfo): Likewise.
65040         * stdio-common/psignal.c (psignal): Likewise.
65041         * string/strsignal.c (strsignal): Likewise.
65042         * include/signal.h (_sys_siglist): Declare hidden proto.
65043         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65044         INTVARDEF with libc_hidden_data_def.
65045         * stdio-common/itoa-udigits.c: Likewise.
65046         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65047         (_itoa_lower_digits_internal): Remove declaration.
65048         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65049         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65050         (_sys_sigabbrev_internal): Remove aliases.
65051         (_sys_siglist): Define hidden alias.
65053 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65055         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65056         bits/sysctl.h.
65058 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65060         [BZ #14117]
65061         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65062         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65064         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65065         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65066         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65067         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65068         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65069         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65071         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65072         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65073         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65075         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65076         with __addr.
65077         (insw): Likewise.
65078         (insl): Likewise.
65079         (outsb): Likewise.
65080         (outsw): Likewise.
65081         (outsl): Likewise.
65083         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65084         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65085         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65087         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65088         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65089         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65090         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65091         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65092         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65094         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65095         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65097         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65098         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65100         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65101         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65102         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65104         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65105         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65106         to ...
65107         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65109         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65110         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65111         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65113         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65114         for x86-64.
65115         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65117 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65119         * math/math.h (M_El): Use two more decimal places.
65120         (M_LOG2El): Likewise.
65121         (M_LOG10El): Likewise.
65122         (M_LN2l): Likewise.
65123         (M_LN10l): Likewise.
65124         (M_PIl): Likewise.
65125         (M_PI_2l): Likewise.
65126         (M_PI_4l): Likewise.
65127         (M_1_PIl): Likewise.
65128         (M_2_PIl): Likewise.
65129         (M_2_SQRTPIl): Likewise.
65130         (M_SQRT2l): Likewise.
65131         (M_SQRT1_2l): Likewise.
65133 2012-05-31  David S. Miller  <davem@davemloft.net>
65135         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65136         values between float registers.
65137         * sysdeps/sparc/sparc64/memset.S: Likewise.
65138         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65140 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65142         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65143         -D_FORTIFY_SOURCE=1.
65144         (CPPFLAGS-tst-longjmp_chk.c): Define.
65145         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65146         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65147         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65148         CFLAGS-tst-wchar-h.c.
65150 2012-05-31  Marek Polacek  <polacek@redhat.com>
65152         [BZ #14132]
65153         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65154         __endmntent_internal): Remove declaration.
65155         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65156         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65157         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65159 2012-05-30  David S. Miller  <davem@davemloft.net>
65161         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65162         (___Q_simulate_exceptions): Use real FP ops rather than writing
65163         into the %fsr.
65164         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65165         Likewise.
65167 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65169         [BZ #14117]
65170         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65171         * sysdeps/x86/bits/xtitypes.h: This.
65173         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65174         * sysdeps/x86/bits/wordsize.h: This.
65176         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65177         * sysdeps/x86/bits/huge_vall.h: This.
65179         * sysdeps/i386/bits/select.h: Removed.
65180         * sysdeps/x86_64/bits/select.h: Renamed to ...
65181         * sysdeps/x86/bits/select.h: This.
65183         * sysdeps/i386/bits/setjmp.h: Removed.
65184         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65185         * sysdeps/x86/bits/setjmp.h: This.
65187         * sysdeps/i386/bits/mathdef.h: Removed.
65188         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65189         * sysdeps/x86/bits/mathdef.h: This.
65191 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65193         [BZ #14132]
65194         * include/sys/socket.h (__connect_internal)
65195         (__libc_sa_len_internal): Remove declaration.
65196         (__connect, __libc_sa_len): Declare hidden_proto.
65197         (SA_LEN): Remove use of INTUSE.
65198         * socket/connect.c: Add libc_hidden_def.
65199         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65200         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65201         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65202         alias.
65203         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65204         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65205         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65206         of adding _internal alias.
65208 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65210         [BZ #14117]
65211         * sysdeps/i386/bits/link.h: Removed.
65212         * sysdeps/i386/bits/linkmap.h: Likewise.
65213         * sysdeps/x86_64/bits/link.h: Renamed to ...
65214         * sysdeps/x86/bits/link.h: This.
65215         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65216         * sysdeps/x86/bits/linkmap.h: This.
65218         * sysdeps/i386/bits/endian.h: Removed.
65219         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65220         * sysdeps/x86/bits/endian.h: This.
65222         * sysdeps/i386/bits/byteswap.h: Removed.
65223         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65224         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65225         * sysdeps/x86/bits/byteswap.h: This.
65226         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65227         * sysdeps/x86/bits/byteswap-16.h: This.
65228         * sysdeps/i386/Implies: Add x86.
65229         * sysdeps/x86_64/Implies: Likewise.
65231 2012-05-30  David S. Miller  <davem@davemloft.net>
65233         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65234         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65235         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65236         (FP_TRAPPING_EXCEPTIONS): Define.
65237         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65238         (FP_TRAPPING_EXCEPTIONS): Define.
65239         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65240         subnormals only when inexact has been signalled or underflow
65241         exceptions are enabled.
65242         (_FP_PACK_CANONICAL): Likewise.
65244 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65246         [BZ #14183]
65247         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65248         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65250 2012-05-30  Richard Henderson  <rth@twiddle.net>
65252         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65253         with #ifndef NOT_IN_libc.
65255         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65256         marked to avoid plt entry.
65258 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65260         [BZ #14112]
65261         * Makeconfig (default-abi): New macro.
65262         (abi-includes): Likewise.
65263         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65264         $(abi-$(default-abi)-lib-soname) for soname if defined.
65265         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65266         abi-variants.
65267         * Makefile (installed-stubs): Likewise.
65268         * include/stubs-biarch.h: Removed.
65269         * scripts/lib-names.awk: Only handle one library at a time.
65270         * scripts/soversions.awk: Remove WORDSIZE support.
65271         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65272         entries.
65273         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65274         Removed.
65275         (syscall-list-default-condition): Likewise.
65276         (syscall-list-default-condition): Likewise.
65277         (syscall-list-includes): Likewise.
65278         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65279         syscall-list-* with abi-*.  Handle undefined abi-variants.
65280         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65281         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65282         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65283         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65284         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65285         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65286         Removed.
65287         (syscall-list-32-options): Likewise.
65288         (syscall-list-32-condition): Likewise.
65289         (syscall-list-64-options): Likewise.
65290         (syscall-list-64-condition): Likewise.
65291         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65292         macro.
65293         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65294         Renamed to ...
65295         (abi-*): This.
65296         (abi-64-ld-soname): New macro.
65297         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65298         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65299         Renamed to ...
65300         (abi-*): This.
65301         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65302         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65304 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65306         * sysdeps/unix/sysv/linux/kernel-features.h
65307         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65308         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65309         include <kernel-features.h>.
65310         [!__NR_ftruncate64]: Remove conditional code.
65311         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65312         [__NR_ftruncate64]: Make code unconditional.
65313         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65314         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65315         include <kernel-features.h>.
65316         [!__NR_ftruncate64]: Remove conditional code.
65317         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65318         [__NR_ftruncate64]: Make code unconditional.
65319         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65321         include <kernel-features.h>.
65322         [!__NR_ftruncate64]: Remove conditional code.
65323         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65324         [__NR_ftruncate64]: Make code unconditional.
65325         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65327         include <kernel-features.h>.
65328         [!__NR_ftruncate64]: Remove conditional code.
65329         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65330         [__NR_ftruncate64]: Make code unconditional.
65331         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65333         * configure.in (libc_cv_fpie): Weaken to a compile test using
65334         LIBC_TRY_CC_OPTION.
65335         * configure: Regenerated.
65337 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65340         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65341         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65343         Refreshed.
65344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65347         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65349         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65350         Refreshed.
65352 2012-05-27  David S. Miller  <davem@davemloft.net>
65354         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65355         (___Q_zero): New.
65356         (__Q_simulate_exceptions): Return void.  Change to simulate
65357         exceptions by writing into the %fsr.
65358         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65359         (__Qp_handle_exceptions): Likewise.
65360         (numbers): Delete.
65361         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65362         __Qp_handle_exceptions.
65363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65364         __Qp_handle_exceptions.
65365         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65366         as unused and give dummy FP_RND_NEAREST initializer.
65367         (FP_INHIBIT_RESULTS): Define.
65368         (___Q_simulate_exceptions): Update declaration.
65369         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65370         formatting.
65371         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65372         as unused and give dummy FP_RND_NEAREST initializer.
65373         (__Qp_handle_exceptions): Update declaration.
65374         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65375         formatting.
65377 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65379         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65380         the temporary FPU control word.
65381         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65382         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65383         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65384         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65385         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65386         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65387         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65388         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65389         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65390         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65391         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65393 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65395         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65396         fields.
65398 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65400         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65401         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65402         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65403         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65404         Likewise.
65405         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65406         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65407         Likewise.
65409 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65411         * po/h.po: Update from translation team.
65413 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65415         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65417         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65418         handling of denormals.
65419         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65420         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65421         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65422         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65423         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65424         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65425         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65426         Likewise.
65428 2012-05-26  Marek Polacek  <polacek@redhat.com>
65430         [BZ #14152]
65431         * math/libm-test.inc (fma_test): Don't always expect underflow
65432         exception.
65434 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65436         [BZ #12416]
65437         * elf/tst-execstack.c: Include stackinfo.h.
65438         (do_test): Adjust test case to ensure that pthread_getattr_np
65439         behaviour remains the same after marking stack executable.
65441 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65443         * sysdeps/unix/sysv/linux/kernel-features.h
65444         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65445         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65446         kernel-features.h.
65447         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65448         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65449         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65450         kernel-features.h.
65451         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65452         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65454 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65456         * configure.in: Define the default includes to being none.
65457         * configure: Regenerated.
65459 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65461         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65462         * sysdeps/x86_64/setjmp.S: Likewise.
65463         * sysdeps/i386/bsd-setjmp.S: Likewise.
65464         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65465         * sysdeps/i386/setjmp.S: Likewise.
65466         * sysdeps/i386/__longjmp.S: Likewise.
65467         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65468         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65470         * include/stap-probe.h: New file.
65471         * configure.in: Handle --enable-systemtap.
65472         * configure: Regenerated.
65473         * config.h.in (USE_STAP_PROBE): New #undef.
65474         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65475         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65476         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65478 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65480         [BZ #13717]
65481         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65482         to 2.4.0 where earlier.
65483         * sysdeps/unix/sysv/linux/configure: Regenerated.
65484         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
65493         [__ASSUME_32BITUIDS]: Make code unconditional.
65494         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65495         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65496         <kernel-features.h>.
65497         [__ASSUME_32BITUIDS]: Make code unconditional.
65498         [!__ASSUME_32BITUIDS]: Remove conditional code.
65499         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65500         <kernel-features.h>.
65501         [__ASSUME_32BITUIDS]: Make code unconditional.
65502         [!__ASSUME_32BITUIDS]: Remove conditional code.
65503         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65504         <kernel-features.h>.
65505         [__ASSUME_32BITUIDS]: Make code unconditional.
65506         [!__ASSUME_32BITUIDS]: Remove conditional code.
65507         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65508         <kernel-features.h>.
65509         [__ASSUME_32BITUIDS]: Make code unconditional.
65510         [!__ASSUME_32BITUIDS]: Remove conditional code.
65511         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65512         <kernel-features.h>.
65513         [__ASSUME_32BITUIDS]: Make code unconditional.
65514         [!__ASSUME_32BITUIDS]: Remove conditional code.
65515         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65516         <kernel-features.h>.
65517         [__ASSUME_32BITUIDS]: Make code unconditional.
65518         [!__ASSUME_32BITUIDS]: Remove conditional code.
65519         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65520         <kernel-features.h>.
65521         [__ASSUME_32BITUIDS]: Make code unconditional.
65522         [!__ASSUME_32BITUIDS]: Remove conditional code.
65523         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65524         <kernel-features.h>.
65525         [__ASSUME_32BITUIDS]: Make code unconditional.
65526         [!__ASSUME_32BITUIDS]: Remove conditional code.
65527         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65528         <kernel-features.h>.
65529         [__ASSUME_32BITUIDS]: Make code unconditional.
65530         [!__ASSUME_32BITUIDS]: Remove conditional code.
65531         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65532         <kernel-features.h>.
65533         [__ASSUME_32BITUIDS]: Make code unconditional.
65534         [!__ASSUME_32BITUIDS]: Remove conditional code.
65535         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
65536         <kernel-features.h>.
65537         [__NR_setresgid] (__setresgid): Do not declare.
65538         [__ASSUME_32BITUIDS]: Make code unconditional.
65539         [!__ASSUME_32BITUIDS]: Remove conditional code.
65540         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
65541         <kernel-features.h>.
65542         [__NR_setresuid] (__setresuid): Do not declare.
65543         [__ASSUME_32BITUIDS]: Make code unconditional.
65544         [!__ASSUME_32BITUIDS]: Remove conditional code.
65545         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
65546         <kernel-features.h>.
65547         [__ASSUME_32BITUIDS]: Make code unconditional.
65548         [!__ASSUME_32BITUIDS]: Remove conditional code.
65549         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
65550         <kernel-features.h>.
65551         [__ASSUME_32BITUIDS]: Make code unconditional.
65552         [!__ASSUME_32BITUIDS]: Remove conditional code.
65553         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
65554         <kernel-features.h>.
65555         [__ASSUME_32BITUIDS]: Make code unconditional.
65556         [!__ASSUME_32BITUIDS]: Remove conditional code.
65557         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
65558         <kernel-features.h>.
65559         [__ASSUME_32BITUIDS]: Make code unconditional.
65560         [!__ASSUME_32BITUIDS]: Remove conditional code.
65561         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
65562         <kernel-features.h>.
65563         [__ASSUME_32BITUIDS]: Make code unconditional.
65564         [!__ASSUME_32BITUIDS]: Remove conditional code.
65565         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
65566         <kernel-features.h>.
65567         [__ASSUME_32BITUIDS]: Make code unconditional.
65568         [!__ASSUME_32BITUIDS]: Remove conditional code.
65569         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
65570         <kernel-features.h>.
65571         [__ASSUME_32BITUIDS]: Make code unconditional.
65572         [!__ASSUME_32BITUIDS]: Remove conditional code.
65573         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
65574         <kernel-features.h>.
65575         [__ASSUME_32BITUIDS]: Make code unconditional.
65576         [!__ASSUME_32BITUIDS]: Remove conditional code.
65577         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
65578         <kernel-features.h>.
65579         [__ASSUME_32BITUIDS]: Make code unconditional.
65580         [!__ASSUME_32BITUIDS]: Remove conditional code.
65581         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65582         <kernel-features.h>.
65583         [__ASSUME_32BITUIDS]: Make code unconditional.
65584         [!__ASSUME_32BITUIDS]: Remove conditional code.
65585         * sysdeps/unix/sysv/linux/kernel-features.h
65586         (__ASSUME_SETRESUID_SYSCALL): Remove.
65587         (__ASSUME_SETRESGID_SYSCALL): Likewise.
65588         (__ASSUME_32BITUIDS): Likewise.
65589         (__ASSUME_LDT_WORKS): Likewise.
65590         (__ASSUME_O_DIRECTORY): Likewise.
65591         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
65592         architecture but not kernel version.
65593         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
65594         (__ASSUME_MMAP2_SYSCALL): Likewise.
65595         (__ASSUME_STAT64_SYSCALL): Likewise.
65596         (__ASSUME_IPC64): Likewise.
65597         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
65598         <kernel-features.h>.
65599         [__ASSUME_32BITUIDS]: Make code unconditional.
65600         [!__ASSUME_32BITUIDS]: Remove conditional code.
65601         * sysdeps/unix/sysv/linux/opendir.c: Do not include
65602         <kernel-features.h>.
65603         [__ASSUME_O_DIRECTORY]: Make code unconditional.
65604         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
65605         132096]: Remove conditional code.
65606         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
65607         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
65608         <kernel-features.h>.
65609         [__ASSUME_32BITUIDS]: Make code unconditional.
65610         [!__ASSUME_32BITUIDS]: Remove conditional code.
65611         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
65612         <kernel-features.h>.
65613         [__ASSUME_32BITUIDS]: Make code unconditional.
65614         [!__ASSUME_32BITUIDS]: Remove conditional code.
65615         * sysdeps/unix/sysv/linux/setegid.c: Do not include
65616         <kernel-features.h>.
65617         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
65618         unconditional.
65619         (__setresgid): Do not declare.
65620         [__ASSUME_32BITUIDS]: Make code unconditional.
65621         [!__ASSUME_32BITUIDS]: Remove conditional code.
65622         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
65623         <kernel-features.h>.
65624         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
65625         unconditional.
65626         (__setresuid): Do not declare.
65627         [__ASSUME_32BITUIDS]: Make code unconditional.
65628         [!__ASSUME_32BITUIDS]: Remove conditional code.
65629         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
65630         <kernel-features.h>.
65631         [__ASSUME_32BITUIDS]: Make code unconditional.
65632         [!__ASSUME_32BITUIDS]: Remove conditional code.
65633         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
65634         <kernel-features.h>.
65635         [__ASSUME_32BITUIDS]: Make code unconditional.
65636         [!__ASSUME_32BITUIDS]: Remove conditional code.
65638 2012-05-25  Richard Henderson  <rth@twiddle.net>
65640         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
65641         dl_hwcap to ifunc resolver.
65642         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
65643         elf_ifunc_invoke.
65644         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
65645         dl_hwcap to ifunc resolver.
65646         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
65648 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65650         [BZ #14153]
65651         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
65652         for |x| <= 2**-26, not 2**-57.
65653         * math/libm-test.inc (acos_test): Do not allow spurious underflow
65654         exception.
65656 2012-05-24  Jeff Law  <law@redhat.com>
65658         * stdio-common/Makefile (tests): Add bug25.
65659         * stdio-common/bug25.c: New test.
65661 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65663         [BZ #13576]
65664         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
65665         multiple of MALLOC_ALIGNMENT in size.
65666         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
65668 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65670         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
65671         Require >= 256.
65672         (FILENAME_MAX): Use macro-int-constant.
65673         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
65674         (_IOFBF): Use macro-int-constant.
65675         (_IOLBF): Likewise.
65676         (_IONBF): Likewise.
65677         (SEEK_CUR): Likewise.
65678         (SEEK_END): Likewise.
65679         (SEEK_SET): Likewise.
65680         (TMP_MAX): Likewise.
65681         (EOF): Use macro-int-constant.  Require < 0.
65682         (NULL): Use macro-constant.  Require == 0.
65683         (stdin): Require type to be FILE *.
65684         (stdout): Likewise.
65685         (stderr): Likewise.
65686         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
65687         macro-int-constant.
65688         (EXIT_SUCCESS): Likewise.
65689         (NULL): Use macro-constant.  Require == 0.
65690         (RAND_MAX): Use macro-int-constant.
65691         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
65692         [C99-based standards] (strtof): Require function.
65693         [C99-based standards] (strtold): Likewise.
65694         [C99-based standards] (strtoll): Likewise.
65695         [C99-based standards] (strtoull): Likewise.
65696         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
65697         [ISO || ISO99 || ISO11] (limits.h): Likewise.
65698         [ISO || ISO99 || ISO11] (math.h): Likewise.
65699         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
65700         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
65701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65703 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
65705         [BZ #14132]
65706         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
65707         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
65708         * intl/dgettext.c (DCGETTEXT): Likewise.
65709         * intl/gettext.c (DCGETTEXT): Likewise.
65710         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
65711         * posix/regex_internal.h (gettext): Likewise.
65712         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
65713         Remove declaration.
65714         * include/argz.h (__argz_count_internal)
65715         (__argz_stringify_internal): Remove declaration.
65716         (__argz_count, __argz_stringify): Declare hidden proto.
65717         * intl/dcgettext.c: Remove use of INTDEF.
65718         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
65719         * string/argz-stringify.c: Likewise.
65720         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65721         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65722         Declare hidden proto.
65723         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
65724         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
65725         Declare hidden proto.
65726         * include/stdio.h (__asprintf_internal): Don't declare.
65727         (__asprintf): Don't define as macro.  Declare hidden proto.
65728         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
65729         (__fsetlocking): Declare hidden proto.
65730         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
65731         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
65732         hidden proto.
65733         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
65734         (_IO_setlinebuf): Remove use of INTUSE.
65735         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
65736         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
65737         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
65738         Remove declaration.
65739         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
65740         (_IO_do_flush): Remove use of INTUSE.
65741         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
65742         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
65743         (_IO_adjust_column, _IO_least_wmarker)
65744         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
65745         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
65746         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
65747         (_IO_default_doallocate, _IO_wdefault_doallocate)
65748         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
65749         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
65750         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
65751         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
65752         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
65753         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
65754         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
65755         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
65756         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
65757         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
65758         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
65759         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
65760         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
65761         proto.
65762         (_IO_flush_all_internal, _IO_adjust_column_internal)
65763         (_IO_default_uflow_internal, _IO_default_finish_internal)
65764         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
65765         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
65766         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
65767         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
65768         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
65769         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
65770         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
65771         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
65772         (_IO_file_close_internal, _IO_file_close_it_internal)
65773         (_IO_file_underflow_internal, _IO_file_overflow_internal)
65774         (_IO_file_init_internal, _IO_file_attach_internal)
65775         (_IO_file_fopen_internal, _IO_file_read_internal)
65776         (_IO_file_sync_internal, _IO_file_seek_internal)
65777         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
65778         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
65779         (_IO_str_underflow_internal, _IO_str_overflow_internal)
65780         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
65781         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
65782         (_IO_list_all_internal, _IO_link_in_internal)
65783         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
65784         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
65785         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
65786         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
65787         (_IO_do_write_internal, _IO_padn_internal)
65788         (_IO_getline_info_internal, _IO_getline_internal)
65789         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
65790         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
65791         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
65792         (_IO_vfscanf_internal, _IO_vfprintf_internal)
65793         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
65794         (_IO_init_internal, _IO_un_link_internal): Don't declare.
65795         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
65796         with libc_hidden_ver, remove use of INTUSE.
65797         * libio/genops.c: Likewise.
65798         * libio/freopen.c: Likewise.
65799         * libio/freopen64.c: Likewise.
65800         * libio/iofclose.c: Likewise.
65801         * libio/iofdopen.c: Likewise.
65802         * libio/iofflush.c: Likewise.
65803         * libio/iofflush_u.c: Likewise.
65804         * libio/iofgets.c: Likewise.
65805         * libio/iofgets_u.c: Likewise.
65806         * libio/iofopen.c: Likewise.
65807         * libio/iofopncook.c: Likewise.
65808         * libio/iofread.c: Likewise.
65809         * libio/iofread_u.c: Likewise.
65810         * libio/ioftell.c: Likewise.
65811         * libio/iofwrite.c: Likewise.
65812         * libio/iogetline.c: Likewise.
65813         * libio/iogets.c: Likewise.
65814         * libio/iogetwline.c: Likewise.
65815         * libio/iopadn.c: Likewise.
65816         * libio/iopopen.c: Likewise.
65817         * libio/ioseekoff.c: Likewise.
65818         * libio/ioseekpos.c: Likewise.
65819         * libio/iosetbuffer.c: Likewise.
65820         * libio/iosetvbuf.c: Likewise.
65821         * libio/ioungetc.c: Likewise.
65822         * libio/ioungetwc.c: Likewise.
65823         * libio/iovdprintf.c: Likewise.
65824         * libio/iovsprintf.c: Likewise.
65825         * libio/iovsscanf.c: Likewise.
65826         * libio/memstream.c: Likewise.
65827         * libio/obprintf.c: Likewise.
65828         * libio/oldfileops.c: Likewise.
65829         * libio/oldiofclose.c: Likewise.
65830         * libio/oldiofdopen.c: Likewise.
65831         * libio/oldiofopen.c: Likewise.
65832         * libio/oldiopopen.c: Likewise.
65833         * libio/oldstdfiles.c: Likewise.
65834         * libio/putc.c: Likewise.
65835         * libio/setbuf.c: Likewise.
65836         * libio/setlinebuf.c: Likewise.
65837         * libio/stdfiles.c: Likewise.
65838         * libio/strops.c: Likewise.
65839         * libio/vasprintf.c: Likewise.
65840         * libio/vscanf.c: Likewise.
65841         * libio/vsnprintf.c: Likewise.
65842         * libio/vswprintf.c: Likewise.
65843         * libio/wfiledoalloc.c: Likewise.
65844         * libio/wfileops.c: Likewise.
65845         * libio/wgenops.c: Likewise.
65846         * libio/wmemstream.c: Likewise.
65847         * libio/wstrops.c: Likewise.
65848         * libio/__fpurge.c: Likewise.
65849         * libio/__fsetlocking.c: Likewise.
65850         * assert/assert.c: Likewise.
65851         * debug/fgets_chk.c: Likewise.
65852         * debug/fgets_u_chk.c: Likewise.
65853         * debug/fread_chk.c: Likewise.
65854         * debug/fread_u_chk.c: Likewise.
65855         * debug/gets_chk.c: Likewise.
65856         * debug/obprintf_chk.c: Likewise.
65857         * debug/vasprintf_chk.c: Likewise.
65858         * debug/vdprintf_chk.c: Likewise.
65859         * debug/vsnprintf_chk.c: Likewise.
65860         * debug/vsprintf_chk.c: Likewise.
65861         * malloc/mtrace.c: Likewise.
65862         * misc/error.c: Likewise.
65863         * misc/syslog.c: Likewise.
65864         * stdio-common/asprintf.c: Likewise.
65865         * stdio-common/fxprintf.c: Likewise.
65866         * stdio-common/getw.c: Likewise.
65867         * stdio-common/isoc99_fscanf.c: Likewise.
65868         * stdio-common/isoc99_scanf.c: Likewise.
65869         * stdio-common/isoc99_vfscanf.c: Likewise.
65870         * stdio-common/isoc99_vscanf.c: Likewise.
65871         * stdio-common/isoc99_vsscanf.c: Likewise.
65872         * stdio-common/printf-prs.c: Likewise.
65873         * stdio-common/printf_fp.c: Likewise.
65874         * stdio-common/printf_fphex.c: Likewise.
65875         * stdio-common/printf_size.c: Likewise.
65876         * stdio-common/putw.c: Likewise.
65877         * stdio-common/scanf.c: Likewise.
65878         * stdio-common/sprintf.c: Likewise.
65879         * stdio-common/tmpfile.c: Likewise.
65880         * stdio-common/vfprintf.c: Likewise.
65881         * stdio-common/vfscanf.c: Likewise.
65882         * stdlib/strfmon_l.c: Likewise.
65883         * sunrpc/openchild.c: Likewise.
65884         * sunrpc/xdr_stdio.c: Likewise.
65885         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
65886         * sysdeps/mach/hurd/tmpfile.c: Likewise.
65888 2012-05-24  Roland McGrath  <roland@hack.frob.com>
65890         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
65892         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
65893         in the third column, to generate for the shared library an IFUNC
65894         that uses _dl_vdso_vsym.
65895         * Makerules (COMPILE.c, compile-stdin.c): New variables.
65896         * Makeconfig (object-suffixes-noshared): New variable.
65898         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
65899         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
65900         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
65901         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
65903         [BZ #14132]
65904         * include/sys/time.h (__gettimeofday): Remove macro.
65905         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
65906         * time/gettimeofday.c (__gettimeofday): Remove #undef.
65907         Remove INTDEF.
65908         (__gettimeofday): Add libc_hidden_def.
65909         (gettimeofday): Add libc_hidden_weak.
65910         * sysdeps/mach/gettimeofday.c: Likewise.
65911         * sysdeps/posix/gettimeofday.c: Likewise.
65912         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
65913         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
65914         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
65915         (__gettimeofday_internal): Remove strong_alias.
65916         (__gettimeofday): Add libc_hidden_def.
65917         (gettimeofday): Add libc_hidden_weak.
65918         * sysdeps/unix/syscalls.list (gettimeofday):
65919         Remove __gettimeofday_internal alias.
65921 2012-05-24  Daniel Jacobowitz  <drow@false.org>
65922             H.J. Lu  <hongjiu.lu@intel.com>
65924         [BZ #12495]
65925         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
65926         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
65927         (largebin_index_32_big): New.
65928         (largebin_index): Use it for 16-byte alignment.
65929         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
65930         correction with front_misalign.
65932 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
65934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
65935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
65936         Likewise.
65937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
65938         Likewise.
65939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65940         Likewise.
65941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
65942         Likewise.
65943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
65944         Likewise.
65945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
65946         Likewise.
65947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
65948         Likewise.
65949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65950         Likewise.
65951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
65952         Likewise.
65953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
65954         Likewise.
65955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
65956         Likewise.
65957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
65958         Likewise.
65960         * scripts/data/c++-types-x32-linux-gnu.data: New file.
65961         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
65963 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
65965         [BZ #10846]
65966         [BZ #14036]
65967         * math/libm-test.inc (exp_test): Add test from bug 14036.
65968         (pow_test): Add test from bug 10846.
65970         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
65971         and other flags.
65972         (special_function): Do not include flags in test name.
65973         (parse_args): Likewise.
65974         * sysdeps/i386/fpu/libm-test-ulps: Update.
65975         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65976         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65977         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65980         * math/gen-libm-test.pl (%beautify): Add entries for underflow
65981         exceptions.
65982         * math/libm-test.inc ("Philosophy"): Update comment about
65983         exception testing.
65984         (UNDERFLOW_EXCEPTION): New macro.
65985         (UNDERFLOW_EXCEPTION_OK): Likewise.
65986         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
65987         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
65988         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
65989         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
65990         (INVALID_EXCEPTION_OK): Update value.
65991         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65992         (OVERFLOW_EXCEPTION_OK): Likewise.
65993         (IGNORE_ZERO_INF_SIGN): Likewise.
65994         (test_exceptions): Handle underflow exceptions.
65995         (acos_test): Update for underflow exception expectations.
65996         (cexp_test): Likewise.
65997         (clog_test): Likewise.
65998         (clog10_test): Likewise.
65999         (csqrt_test): Likewise.
66000         (ctan_test): Likewise.
66001         (ctanh_test): Likewise.
66002         (exp_test): Likewise.
66003         (exp10_test): Likewise.
66004         (exp2_test): Likewise.
66005         (expm1_test): Likewise.
66006         (fma_test): Likewise.
66007         (j0_test): Likewise.
66008         (jn_test): Likewise.
66009         (nexttoward_test): Likewise.
66010         (pow_test): Likewise.
66011         (scalbn_test): Likewise.
66012         (scalbln_test): Likewise.
66013         (tan_test): Likewise.
66014         (y1_test): Likewise.
66015         * sysdeps/i386/fpu/libm-test-ulps: Update.
66016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66018 2012-05-23  David S. Miller  <davem@davemloft.net>
66020         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66021         (__libc_sigaction): Remove unused local variables.
66023 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66025         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66027 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66029         mktime: avoid signed integer overflow
66030         * time/mktime.c (__mktime_internal): Do not mishandle the case
66031         where diff == INT_MIN.
66033         mktime: simplify computation of average
66034         * time/mktime.c (ranged_convert): Use new time_t_avg function
66035         instead of rolling our own (probably-slower) code.
66037         mktime: do not assume signed right shift propagates sign bit
66038         * time/mktime.c (isdst_differ): New static function.
66039         (__mktime_internal): No need to normalize tm_isdst now.
66040         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66041         tm_isdst values.
66043         mktime: merge another wrapv change from gnulib
66044         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66045         from some compilers.
66047         mktime: remove incorrect attempt at unusual arithmetics
66048         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66049         The code didn't really work on such machines anyway.
66050         (TYPE_MINIMUM): Assume two's complement.
66051         (twos_complement_arithmetic): Verify that long_int and time_t
66052         are two's complement (or unsigned, in the latter case).
66054         mktime: check signed shifts on long_int and time_t, too
66055         * time/mktime.c (SHR): Check that shifts work as desired
66056         on the types long_int and time_t too, as SHR is used on
66057         such types.
66059         mktime: do not assume 'long' is wide enough
66060         * time/mktime.c (verify): Move decl up.
66061         (long_int): New type.
66062         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66063         to remove assumption in the code that 'long' is wide enough to
66064         store year values.  This assumption is not true on x32 and on
66065         some non-glibc platforms.
66067         mktime: merge wrapv change from gnulib
66068         * time/mktime.c (WRAPV): New macro.
66069         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66070         (guess_time_tm, __mktime_internal): Do not assume that signed
66071         integer overflow wraps around; modern compilers generate code
66072         where this assumption is no longer valid.
66074 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66076         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66077         Replace "jmp L(pseudo_end)" with "ret".
66078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66079         Likewise.
66081 2012-05-23  Andreas Jaeger  <aj@suse.de>
66083         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66084         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66086 2012-05-23  Andreas Jaeger  <aj@suse.de>
66087             Maximilian Attems  <max@stro.at>
66089         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66090         New macros.
66092 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66094         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66095         code so that pseudo_end is just ret and the stack pointer is
66096         correct also for static library in error case.
66098 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66100         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66101         move to syscalls.list.
66102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66107         * manual/install.texi (Running make install): Do not mention Linux
66108         kernel version for which pt_chown is not needed.
66109         (Linux): Do not mention problems with nscd with 2.0 kernels.
66110         * INSTALL: Regenerated.
66112 2012-05-23  Andreas Jaeger  <aj@suse.de>
66114         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66115         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66116         macro.
66117         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66118         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66119         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66120         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66121         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66122         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66123         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66125         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66126         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66127         * sysdeps/unix/sysv/linux/bits/in.h
66128         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66130 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66132         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66133         (PREPARE_VERSION): Just use assert instead, it will be elided
66134         under [NDEBUG] anyway.
66136 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66138         * sysdeps/unix/sysv/linux/Makefile: Include
66139         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66140         (sysdep_routines): Remove sysctl.
66141         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66142         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66143         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66144         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66145         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66147 2012-05-22  Andreas Jaeger  <aj@suse.de>
66149         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66150         that pseudo_end is just ret and the stack pointer is correct also
66151         for static library in error case.
66153 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66155         [BZ #14122]
66156         * nss/nsswitch.c (defconfig_entries): New variable.
66157         (__nss_database_lookup): Don't leak defconfig entries.
66158         (nss_parse_service_list): Don't leak on error paths.
66159         (free_database_entries): New function.
66160         (free_defconfig): New function.
66161         (free_mem): Move common code to free_database_entries.
66163 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66165         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66166         Add arch_prctl.
66167         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66169         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66170         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66171         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66172         New macro.
66173         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66174         (INTERNAL_SYSCALL_TYPES): Likewise.
66175         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66176         (LOAD_REGS_TYPES_[1-6]): Likewise.
66177         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66178         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66180 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66182         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66183         copysignl for GLIBC_2_0.
66184         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66185         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66186         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66187         logbl for GLIBC_2_0.
66188         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66189         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66191 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66193         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66194         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66196         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66197         Use "neg %eax".
66199         * time/mktime.c: Update copyright years.
66201 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66203         mktime: merge comment-quoting-style change from gnulib
66204         * time/mktime.c: Quote 'like this' in comments.
66205         The GNU coding standards suggest that we no longer quote `like this',
66206         as "`" and "'" are typically rendered asymmetrically nowadays.
66207         The typical gnulib style is to quote 'like this' when quoting
66208         code, and "like this" when quoting English.
66210         * time/mktime.c (compile-command): Add "-I.".
66212         mktime: merge mktime-internal.h change from gnulib
66213         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66215         mktime: merge time_r change from gnulib
66216         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66218         mktime: merge DEBUG change from gnulib
66219         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66220         case system <time.h> has a #define.
66222         mktime: merge <sys/types.h> change from gnulib
66223         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66224         since <time.t> is now guaranteed to define time_t.
66226         mktime: merge HAVE_CONFIG_H change from gnulib
66227         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66229 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66231         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66232         Use "neg %eax".
66234         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66235         __rlim_t cast.
66236         (struct rusage): Use anonymous union to pad each field to
66237         __syscall_slong_t.
66239 2012-05-21  David S. Miller  <davem@davemloft.net>
66241         * Makefules (o-iterator): Remove .s cases.
66242         (compile-command.s): Delete.
66243         (COMPILE.s): Delete.
66244         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66246 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66248         * configure.in (libc_cv_predef_stack_protector): Only consider
66249         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66250         * configure: Regenerated.
66252 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66254         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66255         New macro.  Use R*LP on int and pointer.
66256         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66257         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66258         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66259         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66261         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66262         [__WORDSIZE_TIME64_COMPAT32] instead of
66263         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66264         (struct utmp): Likewise.
66265         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66266         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66267         Renamed to ...
66268         (__WORDSIZE_TIME64_COMPAT32): This.
66269         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66270         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66271         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66272         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66273         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66274         (__WORDSIZE_TIME64_COMPAT32): New macro.
66276 2012-05-21  Andreas Jaeger  <aj@suse.de>
66278         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66279         only if [SHARED]. Add prototype for __wcschr_ia32.
66281 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66283         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66284         of %rbp unmolested in the jmp_buf while mangling the low bits.
66285         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66286         unmolested high bits of %rbp while demangling the low bits.
66287         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66289 2012-05-21  Andreas Jaeger  <aj@suse.de>
66291         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66292         * sunrpc/svc_simple.c: Use it for registerrpc.
66293         * sunrpc/xcrypt.c: Use it for passwd2des.
66295         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66297 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66299         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66300         Don't define if [__SYSCALL_WORDSIZE != 32].
66301         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66302         New macro.
66304 2012-05-21  Bruno Haible  <bruno@clisp.org>
66305             Andreas Jaeger  <aj@suse.de>
66307         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66308         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66309         inptr and inend for must_buffer_ch.
66310         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66311         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66312         * stdio-common/Makefile (tests): Remove bug15.
66313         (bug15-ENV): Remove macro.
66314         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66315         anymore.
66317 2012-05-19  Andreas Jaeger  <aj@suse.de>
66318             Roland McGrath  <roland@hack.frob.com>
66320         * manual/contrib.texi: Completely rewritten. It contains now an
66321         alphabetical list of contributors and their contributions.
66323 2012-05-21  Richard Henderson  <rth@twiddle.net>
66325         * misc/getauxval.c (__getauxval): Use unsigned long int.
66326         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66327         (getauxval): Use unsigned long int.
66329 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66331         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66333 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66335         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66336         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66337         __alignof__ (long double).
66339 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66343 2012-05-20  Richard Henderson  <rth@twiddle.net>
66345         * misc/getauxval.c: New file.
66346         * misc/sys/auxv.h: New file.
66347         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66348         (routines): Add getauxval.
66349         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66350         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66351         * elf/dl-sysdep.c (_dl_auxv): Remove.
66352         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66353         * elf/dl-support.c (_dl_auxv): New variable.
66354         (_dl_aux_init): Initialize it.
66355         * manual/startup.texi (Auxiliary Vector): New node.
66356         * sysdeps/generic/bits/hwcap.h: New file.
66357         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66358         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66359         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66360         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66361         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66362         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66364         Update.
66365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66368         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66374 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66378 2012-05-19  David S. Miller  <davem@davemloft.net>
66380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66382 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66384         [BZ #14123]
66385         * math/s_ccosh.c: Include <float.h>
66386         (__ccosh): Avoid internal overflow calculating sinh and cosh
66387         values before multiplying by sin and cos values.
66388         * math/s_ccoshf.c: Likewise.
66389         * math/s_ccoshl.c: Likewise.
66390         * math/s_csin.c: Likewise.
66391         * math/s_csinf.c: Likewise.
66392         * math/s_csinl.c: Likewise.
66393         * math/s_csinh.c: Likewise.
66394         * math/s_csinhf.c: Likewise.
66395         * math/s_csinhl.c: Likewise.
66396         * math/libm-test.inc (ccos_test): Add more tests.
66397         (ccosh_test): Likewise.
66398         (csin_test): Likewise.
66399         (csinh_test): Likewise.
66400         * sysdeps/i386/fpu/libm-test-ulps: Update.
66401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66403 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66405         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66406         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66408         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66410 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66412         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66413         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66414         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66415         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66416         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66417         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66418         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66419         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66420         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66421         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66422         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66423         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66424         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66425         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66426         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66427         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66428         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66429         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66430         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66431         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66432         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66433         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66434         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66435         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66436         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66437         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66438         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66439         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66440         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66441         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66442         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66444 2012-05-18  Andreas Jaeger  <aj@suse.de>
66446         * csu/.gitignore: Delete.
66448 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66450         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66451         (timex): Use __syscall_slong_t.
66453 2012-05-18  Andreas Jaeger  <aj@suse.de>
66454             Carlos O'Donell  <carlos_odonell@mentor.com>
66456         * manual/install.texi (Configuring and compiling): Update
66457         description about files modified in the source directory.
66458         * INSTALL: Regenerated.
66460 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66462         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66463         value.  Use "or" to set return value to -1.
66464         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66465         negate return value.
66467 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66469         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66470         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66471         failure if the compiler has Graphite support disabled.
66472         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66473         Likewise.
66474         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66475         (CFLAGS-memmove.c): Likewise.
66476         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66477         Likewise.
66479 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66481         * sysdeps/x86_64/x32/_itoa.h: New file.
66483         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66484         getdents system call only if kernel and user dirents have the
66485         same d_ino and d_off.
66487         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66488         LLONG_MAX != LONG_MAX.
66489         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66490         (_fitoa_word): Likewise.
66492         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66493         years.
66494         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66495         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66496         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66498         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66499         include <bits/wordsize.h>.  Check __x86_64__ instead of
66500         __WORDSIZE.
66501         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66502         if __x86_64__ is defined.  Use anonymous union on fpstate.
66504         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66505         anonymous union.
66507 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66509         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66510         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66511         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66512         Refer to _rtld_local_ro instead of _rtld_global_ro.
66513         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66514         Likewise.
66515         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66516         Likewise.
66517         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66518         Likewise.
66519         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66520         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66521         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66523         [BZ #10882]
66524         * sysdeps/powerpc/powerpc32/dl-machine.c
66525         (__elf_machine_runtime_setup) [PROF]: Don't reference
66526         _dl_prof_resolve.
66528 2012-05-18  Andreas Jaeger  <aj@suse.de>
66530         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66531         function only available for GCCs before 3.4 since GCC 3.4
66532         introduced a builtin.
66533         (lrint): Likewise.
66534         (llrintf): Likewise.
66535         (llrint): Likewise.
66536         (fmaxf): Likewise.
66537         (fmax): Likewise.
66538         (fminf): Likewise.
66539         (fmin): Likewise.
66540         (rint): Likewise.
66541         (rintf): Likewise.
66542         (nearbyint): Likewise.
66543         (nearbyintf): Likewise.
66544         (ceil): Likewise.
66545         (ceilf): Likewise.
66546         (floor): Likewise.
66547         (floorf): Likewise.
66549 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66551         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
66552         on both fields and cast pointer to __syscall_ulong_t.
66554         * bits/types.h (__fsword_t): New type.
66555         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
66556         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
66557         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66558         (__FSWORD_T_TYPE): Likewise.
66559         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66560         (__FSWORD_T_TYPE): Likewise.
66561         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66562         (__FSWORD_T_TYPE): Likewise.
66563         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
66564         (__FSWORD_T_TYPE): Likewise.
66565         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
66566         __SWORD_TYPE with __fsword_t.
66567         (statfs64): Likewise.
66569 2012-05-17  David S. Miller  <davem@davemloft.net>
66571         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
66573 2012-05-17  Andreas Jaeger  <aj@suse.de>
66575         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
66576         warning.
66578 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66580         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
66582 2012-05-17  Andreas Jaeger  <aj@suse.de>
66584         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
66585         when it is used.
66587 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66589         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
66591 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
66593         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
66594         * sysdeps/x86_64/tst-mallocalign1.c: New file.
66596 2012-05-17  Andreas Jaeger  <aj@suse.de>
66597             Carlos O'Donell  <carlos_odonell@mentor.com>
66599         [BZ #14059]
66600         * sysdeps/x86_64/multiarch/init-arch.h
66601         (bit_YMM_Usable): Rename to...
66602         (bit_AVX_Usable): ... this.
66603         (bit_FMA4_Usable): New macro.
66604         (bit_XMM_state): New macro.
66605         (bit_YMM_state): New macro.
66606         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
66607         [__ASSEMBLER__] (index_AVX_Usable): ... this.
66608         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
66609         (CPUID_OSXSAVE): New macro.
66610         (CPUID_AVX): New macro.
66611         (CPUID_FMA4): New macro.
66612         (index_YMM_Usable): Rename to...
66613         (index_AVX_Usable): ... this.
66614         (HAS_AVX): Use HAS_ARCH_FEATURE.
66615         (HAS_FMA4): Likewise.
66616         (HAS_YMM_USABLE): Remove.
66617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66618         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
66619         are present.
66620         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
66621         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
66622         * sysdeps/x86_64/multiarch/Makefile: Likewise.
66623         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
66624         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
66626 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
66628         * math/libm-test.c: Support platforms without multiple rounding modes.
66629         * math/bug-nextafter.c: Support platforms without FP exceptions.
66630         * math/bug-nexttoward.c: Likewise.
66631         * math/test-fenv.c: Likewise.
66632         * math/test-misc.c: Likewise.
66633         * stdlib/bug-getcontext.c: Likewise.
66635 2012-05-17  Andreas Jaeger  <aj@suse.de>
66637         * manual/examples/search.c (critter_cmp): Change signature to
66638         avoid warnings.
66639         * manual/string.texi (Collation Functions): Likewise.
66641 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66643         * bits/types.h: Fold copyright years.
66644         * bits/typesizes.h: Likewise.
66645         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
66646         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
66647         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
66648         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
66649         * time/time.h: Likewise.
66651 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
66653         [BZ #208]
66654         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
66655         in instead of returning them.  Return void.
66656         (__libc_mallinfo): Accumulate over all arenas.
66657         (__malloc_stats): Adjust for change in int_mallinfo interface.
66659 2012-05-16  Roland McGrath  <roland@hack.frob.com>
66661         [BZ #10375]
66662         * configure.in (NM): Add AC_CHECK_TOOL for it.
66663         (libc_extra_cflags): New substituted variable.
66664         Check for -fstack-protector being used implicitly.
66665         * configure: Regenerated.
66666         * config.make.in (config-extra-cflags): New variable,
66667         gets @libc_extra_cflags@.
66668         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
66670         [BZ #10375]
66671         * configure.in: Check for _FORTIFY_SOURCE being predefined.
66672         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
66673         * configure: Regenerated.
66674         * config.make.in (CPPUNDEFS): New substituted variable.
66675         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
66676         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
66677         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
66679 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66681         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
66682         (mq_attr): Use __syscall_slong_t.
66684 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66686         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
66687         Check __x86_64__ instead of __WORDSIZE.
66688         (_STAT_VER_LINUX): Likewise.
66689         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
66690         __syscall_ulong_t and __syscall_slong_t.
66691         (stat64): Likewise.
66693 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66695         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
66697 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66699         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
66701 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66703         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
66704         __syscall_ulong_t.
66706         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
66707         include <bits/wordsize.h>.  Check __x86_64__ instead of
66708         __WORDSIZE.
66709         (greg_t): Use "__extension__ long long int" if __x86_64__ is
66710         defined.
66711         (mcontext_t): Replace "unsigned long" with "unsigned long long".
66713         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
66714         include <bits/wordsize.h>.  Check __x86_64__ instead of
66715         __WORDSIZE.
66716         (user_regs_struct): Use "__extension__ unsigned long long"
66717         instead of "unsigned long" if __x86_64__ is defined.
66718         (user): Likewise.  Pad after pointer field if __ILP32__ is
66719         defined.
66721 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
66723         * configure.in (makeinfo): Require version 4.5 or later.  Allow
66724         versions 5 to 9.
66725         * configure: Regenerated.
66726         * manual/install.texi (texinfo): Increase version requirement to
66727         4.5 or later.
66728         * INSTALL: Regenerated.
66730         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
66732 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
66734         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
66736         * sysdeps/x86_64/x32/ffs.c: New file.
66738         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
66739         __syscall_ulong_t.
66740         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
66741         defined.  Use __syscall_ulong_t.
66742         (shminfo): Use __syscall_ulong_t.
66743         (shm_info): Likewise.
66745         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
66746         __syscall_ulong_t.
66748         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
66749         <bits/wordsize.h>.
66750         (msgqnum_t): Use __syscall_ulong_t.
66751         (msglen_t): Likewise.
66752         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
66753         __syscall_ulong_t.
66755         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
66756         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66758         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
66760         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
66761         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
66763         * sysvipc/sys/msg.h (msgbuf): Replace long int with
66764         __syscall_slong_t.
66766         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
66767         include <bits/wordsize.h>.  Check __x86_64__ instead of
66768         __WORDSIZE.
66770         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
66771         "unsigned long long int" if __x86_64__ is defined.
66772         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
66774         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
66775         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66776         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
66778         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
66779         <stdint.h>.
66780         (GET_PC): Cast to uintptr_t first.
66781         (GET_FRAME): Likewise.
66782         (GET_STACK): Likewise.
66784         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
66785         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
66786         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
66787         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
66788         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
66789         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
66790         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
66791         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
66792         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
66793         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
66794         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
66795         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
66796         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
66797         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
66798         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
66799         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
66800         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
66801         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
66802         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
66803         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
66804         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
66805         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
66806         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
66807         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
66808         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
66809         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
66810         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
66811         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
66812         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
66814 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
66816         * Makerules (+depfiles): Also collect depfiles from .oS in
66817         $(extra-objs).
66818         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
66819         .oS, $(libnldbl-routines)).
66821         * Makerules (native-compile-mkdep-flags): Define.
66822         * sunrpc/Makefile (extra-objs): Add $(addprefix
66823         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
66824         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
66825         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
66826         calling $(make-target-directory).
66828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66830         * bits/types.h (__snseconds_t): Removed.
66831         * time/time.h (struct timespec): Replace __snseconds_t with
66832         __syscall_slong_t.
66833         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
66834         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
66835         Likewise.
66836         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66837         (__SNSECONDS_T_TYPE): Likewise.
66838         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66839         (__SNSECONDS_T_TYPE): Likewise.
66840         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66841         (__SNSECONDS_T_TYPE): Likewise.
66843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66845         * sysdeps/mach/hurd/bits/typesizes.h
66846         (__SYSCALL_SLONG_TYPE): New macro.
66847         (__SYSCALL_ULONG_TYPE): Likewise.
66849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66851         * bits/types.h (__syscall_slong_t): New type.
66852         (__syscall_ulong_t): Likewise.
66854         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
66855         (__SYSCALL_ULONG_TYPE): Likewise.
66856         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66857         (__SYSCALL_SLONG_TYPE): Likewise.
66858         (__SYSCALL_ULONG_TYPE): Likewise.
66859         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66860         (__SYSCALL_SLONG_TYPE): Likewise.
66861         (__SYSCALL_ULONG_TYPE): Likewise.
66862         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66863         (__SYSCALL_SLONG_TYPE): Likewise.
66864         (__SYSCALL_ULONG_TYPE): Likewise.
66866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66868         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
66869         Add sigaltstack-offsets.sym.
66870         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
66871         <sigaltstack-offsets.h>.
66872         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
66873         longjmp_msg pointer.
66874         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
66875         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
66876         signal stack.
66877         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
66879 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
66881         * elf/stackguard-macros.h: Remove file.
66882         * sysdeps/generic/stackguard-macros.h: New file.
66883         * sysdeps/i386/stackguard-macros.h: Likewise.
66884         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
66885         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
66886         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
66887         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
66888         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
66889         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
66890         * sysdeps/x86_64/stackguard-macros.h: Likewise.
66891         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
66892         <elf/stackguard-macros.h>.
66894         [BZ #14109]
66895         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
66896         __aligned__ in attribute.
66897         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
66898         (gregset_t): Likewise.
66900 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66902         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
66903         * sysdeps/x86_64/64/Implies-after: Here.  New file.
66904         * sysdeps/x86_64/x32/Implies-after: New file.
66906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66908         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
66909         and access return value for _dl_profile_fixup.  Use R10_LP to
66910         load frame size.
66912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66914         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
66916 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66918         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
66919         * sysdeps/x86_64/x32/sysdep.h: New file.
66921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66923         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
66924         * sysdeps/x86_64/setjmp.S: Likewise.
66926 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66928         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
66929         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
66930         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
66931         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
66932         remove unused global constant.
66934 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
66936         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
66937         include of <not-cancel.h>.
66939 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66941         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
66943 2012-05-15  Jeff Law  <law@redhat.com>
66944             Andreas Jaeger  <aj@suse.de>
66946         [BZ #13594]
66947         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
66948         out from...
66949         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
66950         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
66951         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
66952         code changing __hst_map_handle.map.
66954 2012-05-15  Roland McGrath  <roland@hack.frob.com>
66956         * configure.in (sysnames): Look for Implies-before and Implies-after
66957         files.
66958         * configure: Regenerated.
66960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66962         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66963         8-byte data alignment with LP_SIZE alignment.
66965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66967         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
66968         into R10_LP.
66970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66972         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
66974 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66976         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
66977         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
66978         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
66979         Likewise.
66980         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
66982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66984         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
66985         (stackinfo_sub_sp): Likewise.
66987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66989         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
66990         RAX_LP.
66992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66994         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
66995         into R*_LP.
66997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
66999         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67000         sizes into R*_LP.
67002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67004         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
67006 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67008         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67009         into R11_LP and load __x86_64_shared_cache_size_half into
67010         R8_LP.
67012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67014         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67015         R8_LP.
67017 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67019         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67020         logb for POWER7.
67021         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67022         logbf for POWER7.
67023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67024         logbl for POWER7.
67025         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67026         powerpc32/power7/fpu/s_logb.c via #include.
67027         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67028         powerpc32/power7/fpu/s_logbf.c via #include.
67029         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67030         powerpc32/power7/fpu/s_logbl.c via #include.
67032 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67034         * README.libm: Remove file.
67036 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67038         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67039         count for x32.  Use R*_LP and omit operand-size suffix.
67041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67043         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67044         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67045         * sysdeps/x86_64/x32/shlib-versions: New file.
67047 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67049         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67050         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67051         Use _dl_fatal_printf instead.
67053 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67055         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67056         set if not set by the user.  Do not allow for being unset.
67057         * sysdeps/unix/sysv/linux/configure: Regenerated.
67059 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67061         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67062         the `q' suffix from lea and replace .quad with ASM_ADDR.
67064 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67067         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67068         instead of $17.
67069         (PTR_DEMANGLE): Likewise.
67071 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67073         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67074         (LP_OP): Likewise.
67075         (ASM_ADDR): Likewise.
67076         (RAX_LP): Likewise.
67077         (RBP_LP): Likewise.
67078         (RBX_LP): Likewise.
67079         (RCX_LP): Likewise.
67080         (RDI_LP): Likewise.
67081         (RSI_LP): Likewise.
67082         (RSP_LP): Likewise.
67083         (R8_LP): Likewise.
67084         (R9_LP): Likewise.
67085         (R10_LP): Likewise.
67086         (R10_LP): Likewise.
67087         (R11_LP): Likewise.
67088         (R12_LP): Likewise.
67089         (R13_LP): Likewise.
67090         (R14_LP): Likewise.
67091         (R15_LP): Likewise.
67093 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67095         * sysdeps/x86_64/x32/dl-machine.h: New file.
67097 2012-05-14  Andreas Jaeger  <aj@suse.de>
67099         * manual/Makefile (subdir): Remove export of subdir.
67100         (all): Remove target.
67101         (.PHONY): Remove all from list.
67102         (mkinstalldirs): Remove.
67103         (.PHONY): Remove installdirs from list.
67104         ($(inst_infodir)/libc.info): Use make-target-directory.
67105         (installdirs): Remove.
67106         (subdir_%): Remove.
67107         (glibc-targets): Remove.
67108         (lib): Remove.
67109         (stubs): Remove.
67110         ($(objpfx)stubs ../po/manual.pot): Remove.
67111         ($(objpfx)stamp%): Remove.
67112         (make-target-directory): Remove.
67113         (subdir_install): Remove.
67114         (routines): Remove.
67115         (aux): Remove.
67116         (sources): Remove.
67117         (objects): Remove.
67118         (headers): Remove.
67120         [BZ #13750]
67121         * manual/.gitignore: Remove, it's not needed anymore.
67122         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67123         all files in it.
67124         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67125         directory.
67126         (texis): Renamed to $(objpfx)texis.
67127         (texis-path): New, contains path to generated files.
67128         (chapters.%): Use texis-path for complete path, add extra argument
67129         libc-texinfo.sh.
67130         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67131         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67132         (summary,texi, stamp-summary): Use complete path of
67133         files. Generate files in build dir.
67134         (dir-add.texi): Build in build dir.
67135         (libm-err.texi,stamp-libm-err): Likewise.
67136         (version.texi, stamp-version): Likewise.
67137         (.%c.texi): Likewise.
67138         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67139         (mostlyclean): Remove target.
67140         (realclean): Remove target.
67141         (generated): Add new variable with contents from mostlyclean and
67142         realclean, remove entries duplicated in common-mostlyclean, add
67143         stamp-libm-err and stamp-version.
67144         (generated-dirs): Add libc directory.
67145         ($(inst_infodir)/libc.info): Install files from build dir.
67147         * manual/install.texi (Configuring and compiling): Adjust since
67148         the info files are not part of the tar ball anymore.
67150 2012-05-14  Andreas Jaeger  <aj@suse.de>
67152         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67153         variable.
67155 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67157         [BZ #13717]
67158         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67159         to 2.2.0 where earlier.
67160         * sysdeps/unix/sysv/linux/configure: Regenerated.
67161         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67162         Remove conditional code.
67163         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67164         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67165         Remove conditional code.
67166         [!__NR_lchown]: Likewise.
67167         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67168         [__NR_lchown]: Likewise.
67169         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67170         comment referencing __ASSUME_LCHOWN_SYSCALL.
67171         * sysdeps/unix/sysv/linux/i386/sigaction.c
67172         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67173         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67174         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67175         Remove conditional code.
67176         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67177         (__protocol_available): Remove #if 0 code.
67178         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67179         conditional code.
67180         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67181         * sysdeps/unix/sysv/linux/kernel-features.h
67182         (__ASSUME_GETCWD_SYSCALL): Don't define.
67183         (__ASSUME_REALTIME_SIGNALS): Likewise.
67184         (__ASSUME_PREAD_SYSCALL): Likewise.
67185         (__ASSUME_PWRITE_SYSCALL): Likewise.
67186         (__ASSUME_POLL_SYSCALL): Likewise.
67187         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67188         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67189         non-SPARC.
67190         (__ASSUME_SIOCGIFNAME): Don't define.
67191         (__ASSUME_MSG_NOSIGNAL): Likewise.
67192         (__ASSUME_SENDFILE): Define unconditionally.
67193         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67194         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67195         conditional code.
67196         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67197         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67198         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67199         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67200         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67201         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67202         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67204         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67205         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67207         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67208         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67210         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67211         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67213         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67214         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67216         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67217         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67219         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67220         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67222         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67223         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67225         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67226         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67227         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67228         Remove conditional code.
67229         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67230         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67231         Remove conditional code.
67232         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67233         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67234         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67235         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67236         Remove conditional code.
67237         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67238         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67239         Remove conditional code.
67240         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67241         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67242         Remove conditional code.
67243         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67244         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67245         Remove conditional code.
67246         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67247         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67248         Remove conditional code.
67249         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67250         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67251         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67252         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67253         * sysdeps/unix/sysv/linux/sigaction.c
67254         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67255         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67256         * sysdeps/unix/sysv/linux/sigpending.c
67257         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67258         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67259         * sysdeps/unix/sysv/linux/sigprocmask.c
67260         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67261         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67262         * sysdeps/unix/sysv/linux/sigsuspend.c
67263         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67264         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67265         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67266         (__libc_missing_rt_sigs): Remove.
67267         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67268         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67269         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67270         Remove conditional code.
67271         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67272         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67273         return 1.
67274         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67275         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67276         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67277         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67279 2012-05-14  Andreas Jaeger  <aj@suse.de>
67281         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67282         it's not used in glibc.
67283         (__coshm1): Likewise.
67284         (__acosh1p): Likewise.
67285         (__sgn): Likewise.
67287         * manual/string.texi (Copying and Concatenation): Add missing
67288         variable in concat example.
67289         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67291 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67293         [BZ #14103]
67294         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67295         __builtin_clzl with __builtin_clzll.
67297 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67299         [BZ #14104]
67300         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67301         libc_freeres_ptr.
67303 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67305         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67306         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67307         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67308         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67310 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67312         * NEWS: Update ia64 info.
67314 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67316         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67317         used as bcopy.
67319 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67321         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67322         * sysdeps/unix/syscalls.list (dup3): Likewise.
67323         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67324         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67326 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67328         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67329         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67331 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67333         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67334         thread pointer.
67335         (TLS_IE): Use mov/add instead of movq/addq to load thread
67336         pointer.
67337         (TLS_GD_PREFIX): New.
67338         (TLS_GD): Use it.
67340 2012-05-11  David S. Miller  <davem@davemloft.net>
67342         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67343         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67344         (_FPU_SETCW): Likewise.
67346 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67348         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67349         is 32-byte aligned.
67351 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67353         [BZ #11837]
67354         * iconvdata/gb18030.c: Update tables.
67355         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67356         characters specially.
67357         (BODY for TO_LOOP): Add encoding of missing ranges.
67359 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67361         [BZ #13673]
67362         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67363         * sysdeps/mach/hurd/dup3.c: Likewise.
67364         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67365         * sysdeps/powerpc/memmove.c:: Likewise.
67367 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67369         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67370         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67372 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67374         * elf/elf.h (R_X86_64_RELATIVE64): New.
67375         (R_X86_64_NUM): Updated.
67376         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67377         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67378         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67379         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67380         tst-quad1pie tst-quad2pie
67381         (modules-names): Add tst-quadmod1 tst-quadmod2.
67382         ($(objpfx)tst-quad1): New dependency.
67383         ($(objpfx)tst-quad2): Likewise.
67384         ($(objpfx)tst-quad1pie): Likewise.
67385         ($(objpfx)tst-quad2pie): Likewise.
67386         * sysdeps/x86_64/tst-quad1.c: New file.
67387         * sysdeps/x86_64/tst-quad1pie.c: New file.
67388         * sysdeps/x86_64/tst-quad2.c: Likewise.
67389         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67390         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67391         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67392         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67393         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67395 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67397         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67398         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67399         * streams/stropts.h (t_scalar_t): Define type.
67401         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67402         (_PATH_PRESERVE): Set to "/var/lib".
67403         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67405         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67406         instead of int.
67408         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67409         if __dir_mkfile succeeded.
67411         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67412         checking for _hurd_dtablesize.  Unlock it right after having
67413         finished _hurd_dtable allocation.
67415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67417         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67418         * sysdeps/mach/hurd/configure: Regenerated.
67419         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67420         special-casing to...
67421         * sysdeps/gnu/configure.in: ... this new file.
67422         * sysdeps/unix/sysv/linux/configure: Regenerated.
67423         * sysdeps/gnu/configure: New generated file.
67425         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67426         for Linux: use nsec instead of usec, as well as:
67427         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67428         members of type struct timespec.
67429         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67430         New macros.
67431         (struct stat64): Likewise.
67432         (_STATBUF_ST_NSEC): New macro.
67433         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67435         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67436         __strtoul_internal rather than strtoul.
67438 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67440         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67441         and reject them.
67443 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67445         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67446         which preserves existing values.
67447         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67449 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67451         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67452         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67453         greater than FD_SETSIZE.
67455 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67457         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67458         allocated, call __vm_protect to finish enabling the existing space, and
67459         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67460         allocate the remainder.
67462 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67464         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67465         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67467 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67469         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67470         sysdeps/mach/hurd/readlink.c.
67472         * posix/tst-sysconf.c (posix_options): Only use
67473         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67474         _POSIX_SYNCHRONIZED_IO when they are defined
67475         * sysdeps/mach/hurd/bits/posix_opt.h:
67476         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67477         (_XOPEN_REALTIME): Undefine macro.
67478         (_XOPEN_REALTIME_THREADS): Undefine macro.
67479         (_XOPEN_SHM): Undefine macro.
67480         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67481         macro to -1.
67482         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67483         macro to -1.
67484         (_POSIX_ASYNC_IO): Undefine macro.
67485         (_POSIX_PRIORITIZED_IO): Undefine macro.
67486         (_POSIX_SPIN_LOCKS): Define macro to -1.
67488         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67489         SA_NODEFER, SA_RESETHAND.
67490         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67491         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67492         F_DUPFD_CLOEXEC.
67494 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67496         * elf/Makefile (pldd-modules): Define unconditionally.
67498 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67500         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67504         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67505         Return ENOENT when name is empty.
67506         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67508 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67510         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67512         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67516         Fix mlock in all cases except non-readable pages.
67517         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67518         instead of VM_PROT_ALL as parameter to __vm_wire function.
67520         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67521         (__mkdir): When path is `/', just fail with EEXIST.
67522         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67524 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67526         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67527         <sys/uio.h> (for writev).
67528         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67529         and <sys/param.h> (for MIN).
67531 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67533         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
67534         REQUESTED_TIME.  Properly set the remaining time and return EINTR
67535         if interrupted.
67537 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67539         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
67540         Depend on against $(link-rpcuserlibs).
67542 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67544         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
67545         (__libc_stack_end): Do not use attribute_relro.
67546         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
67547         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
67548         to libthread-provided value.
67549         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
67550         attribute_relro.
67552 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67554         [BZ #3748]
67555         * bits/libc-lock.h (__libc_once_get): New macro.
67556         * sysdeps/mach/bits/libc-lock.h: Likewise.
67557         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
67558         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
67559         instead of using implementation details.
67561         * libio/fileops.c: Unconditionally include <kernel-features.h>.
67562         * libio/freopen.c: Likewise.
67563         * libio/freopen64.c: Likewise.
67564         * misc/syslog.c: Likewise.
67565         * nscd/connections.c: Likewise.
67566         * nscd/netgroupcache.c: Likewise.
67567         * sysdeps/posix/getcwd.c: Likewise.
67569 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67571         * math/w_ilogbf.c: Add #include <limits.h>.
67573 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67575         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
67576         path instead of returning without unlocking.
67578         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
67579         immediate-write ioctls.
67580         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
67582 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67584         * sysdeps/mach/hurd/i386/init-first.c (init): Use
67585         __builtin_frame_address instead of making assumptions about the
67586         location of the return address relative to DATA.  Force early load of
67587         the return address.
67588         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
67589         __builtin_frame_address.
67591         dup3 for GNU Hurd.
67592         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
67593         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
67594         implement dup3 and do some further code clean-ups.
67595         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
67596         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
67598 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67600         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
67602         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
67603         HURD_CRITICAL_END around holding _hurd_dtable_lock.
67604         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
67605         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
67606         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
67607         d->port.lock.
67609         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
67610         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
67611         when handler == SIG_ERR, not when handler != SIG_ERR.
67613 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67615         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
67616         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
67617         definitions.
67619         accept4 for GNU Hurd.
67620         * include/sys/socket.h (__libc_accept4): New prototype.
67621         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
67622         to implement __libc_accept4.
67623         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
67624         __libc_accept4.
67625         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
67627         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
67628         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
67629         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
67630         signal-defines.sym.
67632 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67634         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
67636 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67638         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
67639         assertion on O_CLOEXEC flag.
67640         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
67641         * hurd/intern-fd.c: Likewise.
67642         * hurd/port2fd.c: Likewise.
67644 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67646         [BZ #3906]
67647         * bits/in.h (IPV6_PKTINFO): Define new macro.
67648         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
67650 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67652         [BZ #13954]
67653         [BZ #13955]
67654         [BZ #13956]
67655         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
67656         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67657         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
67658         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67659         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67660         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67661         * math/libm-test.inc (logb_test) : Additional logb tests.
67663 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
67664             Andreas Jaeger  <aj@suse.de>
67666         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
67667         * configure: Regenerated.
67668         * config.h.in (LINK_OBSOLETE_RPC): New macro.
67669         * config.make.in (link-obsolete-rpc): New substituted variable.
67670         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
67671         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
67672         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67673         (shared-only-routines): Don't set it under [link-obsolete-rpc],
67674         so that libc.a contains the symbols.
67675         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
67676         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
67677         * sunrpc/auth_none.c: Likewise.
67678         * sunrpc/auth_unix.c: Likewise.
67679         * sunrpc/authdes_prot.c: Likewise.
67680         * sunrpc/authuxprot.c: Likewise.
67681         * sunrpc/clnt_gen.c: Likewise.
67682         * sunrpc/clnt_perr.c: Likewise.
67683         * sunrpc/clnt_raw.c: Likewise.
67684         * sunrpc/clnt_simp.c: Likewise.
67685         * sunrpc/clnt_tcp.c: Likewise.
67686         * sunrpc/clnt_udp.c: Likewise.
67687         * sunrpc/clnt_unix.c: Likewise.
67688         * sunrpc/des_crypt.c: Likewise.
67689         * sunrpc/des_soft.c: Likewise.
67690         * sunrpc/get_myaddr.c: Likewise.
67691         * sunrpc/key_call.c: Likewise.
67692         * sunrpc/key_prot.c: Likewise.
67693         * sunrpc/netname.c: Likewise.
67694         * sunrpc/pm_getmaps.c: Likewise.
67695         * sunrpc/pm_getport.c: Likewise.
67696         * sunrpc/pmap_clnt.c: Likewise.
67697         * sunrpc/pmap_prot.c: Likewise.
67698         * sunrpc/pmap_prot2.c: Likewise.
67699         * sunrpc/pmap_rmt.c: Likewise.
67700         * sunrpc/publickey.c: Likewise.
67701         * sunrpc/rpc_cmsg.c: Likewise.
67702         * sunrpc/rpc_common.c: Likewise.
67703         * sunrpc/rpc_dtable.c: Likewise.
67704         * sunrpc/rpc_prot.c: Likewise.
67705         * sunrpc/rpc_thread.c: Likewise.
67706         * sunrpc/rtime.c: Likewise.
67707         * sunrpc/svc.c: Likewise.
67708         * sunrpc/svc_auth.c: Likewise.
67709         * sunrpc/svc_raw.c: Likewise.
67710         * sunrpc/svc_run.c: Likewise.
67711         * sunrpc/svc_tcp.c: Likewise.
67712         * sunrpc/svc_udp.c: Likewise.
67713         * sunrpc/svc_unix.c: Likewise.
67714         * sunrpc/svcauth_des.c: Likewise.
67715         * sunrpc/xcrypt.c: Likewise.
67716         * sunrpc/xdr.c: Likewise.
67717         * sunrpc/xdr_array.c: Likewise.
67718         * sunrpc/xdr_float.c: Likewise.
67719         * sunrpc/xdr_intXX_t.c: Likewise.
67720         * sunrpc/xdr_mem.c: Likewise.
67721         * sunrpc/xdr_rec.c: Likewise.
67722         * sunrpc/xdr_ref.c: Likewise.
67723         * sunrpc/xdr_sizeof.c: Likewise.
67724         * sunrpc/xdr_stdio.c: Likewise.
67726 2012-05-10  Roland McGrath  <roland@hack.frob.com>
67728         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
67729         change.  Update copyright years.
67731 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67733         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
67735 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
67736             Joseph Myers  <joseph@codesourcery.com>
67737             Paul Pluzhnikov  <ppluzhnikov@google.com>
67739         [BZ #14012]
67740         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
67741         requiring rpcgen.
67742         [cross-compiling] (extra-libs): Likewise.
67743         [cross-compiling] (extra-libs-others): Likewise.
67744         [cross-compiling] (librpcsvc-routines): Likewise.
67745         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
67746         [cross-compiling] (omit-deps): Likewise.
67747         (sunrpc-CPPFLAGS): New variable.
67748         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
67749         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
67750         (cross-rpcgen-objs): New variable.
67751         (extra-objs): Append $(cross-rpcgen-objs).
67752         ($(cross-rpcgen-objs)): New rule.
67753         ($(objpfx)cross-rpcgen): Likewise.
67754         (rpcgen-cmd): Define to use $(built-program-file).  Expand
67755         comment.
67756         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
67757         ($(objpfx)x%.stmp): Likewise.
67758         * sunrpc/proto.h [IS_IN_build] (_): Define.
67759         [IS_IN_build] (_libc_intl_domainname): Likewise.
67761 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67763         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
67764         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
67765         and R_X86_64_TPOFF64.
67767 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
67769         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
67770         sysdeps/unix/sysv/syscalls.list.
67771         (stime): Likewise.
67772         (utime): Likewise.
67773         * sysdeps/unix/sysv/syscalls.list: Remove file.
67775 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
67777         [BZ #3440]
67778         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
67779         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
67780         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
67781         (__LC_IDENTIFICATION): Make these macros useful in #if
67782         expressions, as required by C99.
67784 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
67786         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
67787         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
67788         after this.
67790 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
67792         * stdlib/longlong.h: Updated from GCC.
67794 2012-05-09  Andreas Jaeger  <aj@suse.de>
67796         * nscd/nscd.c (run_modes): Make named enum, reorder so that
67797         default is first entry.
67798         (run_mode): Set type.
67799         (main): Remove informal message about syslog.
67800         (options): Fix typo.
67802         [BZ #14053]
67803         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
67804         to asm.
67805         (lrint): Likewise.
67806         (llrintf): Likewise.
67807         (llrint): Likewise.
67808         (rint): Likewise.
67809         (rintf): Likewise.
67810         (nearbyint): Likewise.
67811         (nearbyintf): Likewise.
67813 2012-05-09  Andreas Jaeger  <aj@suse.de>
67814             Pedro Alves  <palves@redhat.com>
67816         * nscd/nscd.c (run_mode): Use enum.
67817         (main): Cleanup coding style issue.
67819 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
67820             Andreas Jaeger  <aj@suse.de>
67822         * nscd/nscd.c (go_background): Replaced with...
67823         (run_mode): ... this.
67824         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
67825         (options): Add -F --foreground.
67826         (main): Implement it.
67827         (parse_opt): Parse it.
67829 2012-05-09  Andreas Jaeger  <aj@suse.de>
67831         [BZ #14083]
67832         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
67833         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
67834         -Wconversion warning.
67835         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
67836         Likewise.
67838 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
67840         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
67841         == 0.
67842         (LC_ALL): Use macro-int-constant.
67843         (LC_COLLATE): Likewise.
67844         (LC_CTYPE): Likewise.
67845         (LC_MESSAGES): Likewise.
67846         (LC_MONETARY): Likewise.
67847         (LC_NUMERIC): Likewise.
67848         (LC_TIME): Likewise.
67849         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
67850         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67851         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67852         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
67853         Specify type.
67854         [C99-based standards] (float_t): Expect type.
67855         [C99-based standards] (double_t): Expect type.
67856         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
67857         type.
67858         [C99-based standards] (HUGE_VALL): Likewise.
67859         [C99-based standards] (INFINITY): Likewise.
67860         [C99-based standards] (NAN): Likewise.
67861         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
67862         [C99-based standards] (FP_NAN): Likewise.
67863         [C99-based standards] (FP_NORMAL): Likewise.
67864         [C99-based standards] (FP_SUBNORMAL): Likewise.
67865         [C99-based standards] (FP_ZERO): Likewise.
67866         [C99-based standards] (FP_FAST_FMA): Use
67867         optional-macro-int-constant.  Specify type.  Require == 1.
67868         [C99-based standards] (FP_FAST_FMAF): Likewise.
67869         [C99-based standards] (FP_FAST_FMAL): Likewise.
67870         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
67871         [C99-based standards] (FP_ILOGBNAN): Likewise.
67872         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
67873         Specify type.
67874         [C99-based standards] (MATH_ERREXCEPT): Likewise.
67875         [C99-based standards] (math_errhandling): Specify type.
67876         [ISO99 || ISO11] (signgam): Do not allow.
67877         [non-C99-based standards] (copysignf): Do not allow.
67878         [non-C99-based standards] (exp2f): Likewise.
67879         [non-C99-based standards] (log2f): Likewise.
67880         [non-C99-based standards] (modff): Allow.
67881         [non-C99-based standards] (erff): Do not allow.
67882         [non-C99-based standards] (erfcf): Likewise.
67883         [non-C99-based standards] (gammaf): Likewise.
67884         [non-C99-based standards] (hypotf): Likewise.
67885         [non-C99-based standards] (j0f): Likewise.
67886         [non-C99-based standards] (j1f): Likewise.
67887         [non-C99-based standards] (jnf): Likewise.
67888         [non-C99-based standards] (lgammaf): Likewise.
67889         [non-C99-based standards] (tgammaf): Likewise.
67890         [non-C99-based standards] (y0f): Likewise.
67891         [non-C99-based standards] (y1f): Likewise.
67892         [non-C99-based standards] (ynf): Likewise.
67893         [non-C99-based standards] (isnanf): Likewise.
67894         [non-C99-based standards] (acoshf): Likewise.
67895         [non-C99-based standards] (asinhf): Likewise.
67896         [non-C99-based standards] (atanhf): Likewise.
67897         [non-C99-based standards] (cbrtf): Likewise.
67898         [non-C99-based standards] (expm1f): Likewise.
67899         [non-C99-based standards] (ilogbf): Likewise.
67900         [non-C99-based standards] (log1pf): Likewise.
67901         [non-C99-based standards] (logbf): Likewise.
67902         [non-C99-based standards] (nextafterf): Likewise.
67903         [non-C99-based standards] (remainderf): Likewise.
67904         [non-C99-based standards] (rintf): Likewise.
67905         [non-C99-based standards] (scalbf): Likewise.
67906         [non-C99-based standards] (copysignl): Likewise.
67907         [non-C99-based standards] (exp2l): Likewise.
67908         [non-C99-based standards] (log2l): Likewise.
67909         [non-C99-based standards] (modfl): Allow.
67910         [non-C99-based standards] (erfl): Do not allow.
67911         [non-C99-based standards] (erfcl): Likewise.
67912         [non-C99-based standards] (gammal): Likewise.
67913         [non-C99-based standards] (hypotl): Likewise.
67914         [non-C99-based standards] (j0l): Likewise.
67915         [non-C99-based standards] (j1l): Likewise.
67916         [non-C99-based standards] (jnl): Likewise.
67917         [non-C99-based standards] (lgammal): Likewise.
67918         [non-C99-based standards] (tgammal): Likewise.
67919         [non-C99-based standards] (y0l): Likewise.
67920         [non-C99-based standards] (y1l): Likewise.
67921         [non-C99-based standards] (ynl): Likewise.
67922         [non-C99-based standards] (isnanl): Likewise.
67923         [non-C99-based standards] (acoshl): Likewise.
67924         [non-C99-based standards] (asinhl): Likewise.
67925         [non-C99-based standards] (atanhl): Likewise.
67926         [non-C99-based standards] (cbrtl): Likewise.
67927         [non-C99-based standards] (expm1l): Likewise.
67928         [non-C99-based standards] (ilogbl): Likewise.
67929         [non-C99-based standards] (log1pl): Likewise.
67930         [non-C99-based standards] (logbl): Likewise.
67931         [non-C99-based standards] (nextafterl): Likewise.
67932         [non-C99-based standards] (remainderl): Likewise.
67933         [non-C99-based standards] (rintl): Likewise.
67934         [non-C99-based standards] (scalbl): Likewise.
67935         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67936         [non-C99-based standards] (FP_*): Do not allow.
67937         [C99-based standards] (FP_*): Change to
67938         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
67939         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67940         allow.
67941         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
67942         (SIG_ERR): Likewise.
67943         [X/Open-based standards] (SIG_HOLD): Likewise.
67944         (SIG_IGN): Likewise.
67945         (SIGABRT): Use macro-int-constant.  Specify type.  Require
67946         positive value.
67947         (SIGFPE): Likewise.
67948         (SIGILL): Likewise.
67949         (SIGINT): Likewise.
67950         (SIGSEGV): Likewise.
67951         (SIGTER): Likewise.
67952         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
67953         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
67954         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
67955         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
67956         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
67957         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
67958         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
67959         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
67960         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
67961         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
67962         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
67963         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
67964         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
67965         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
67966         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
67967         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
67968         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
67969         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
67970         [X/Open-based standards] (SIGTRAP): Likewise.
67971         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
67972         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
67973         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
67974         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
67975         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
67976         allow.
67978 2012-05-08  Ian Wienand  <ianw@vmware.com>
67980         [BZ #14080]
67981         * time/tzset.c (__tzset_parse_tz): Update default rules for
67982         daylight time changes in the Energy Policy Act of 2005.
67984 2012-05-09  Andreas Jaeger  <aj@suse.de>
67986         [BZ #13983]
67987         * elf/ldconfig.c (parse_conf): Change string to make clear that
67988         ldconfig only issued a warning if ld.so.conf does not exist.
67990 2012-05-08  David S. Miller  <davem@davemloft.net>
67992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
67993         movxtod instead of popping the value on the stack.
67995         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67997 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
67999         * config.h.in: Add HAVE_ARM_PCS_VFP.
68001 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
68003         [BZ #13979]
68004         * include/features.h: Warn if user requests __FORTIFY_SOURCE
68005         checking but the checks are disabled for any reason.
68007 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
68009         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68010         and ELF64_R_TYPE with ELFW(R_TYPE).
68012 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
68014         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68015         (ulimit): Likewise.
68017         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68018         (settimeofday): Likewise.
68020 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68022         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68023         a struct th_u2 inside the union, and move tu_block/tu_code into
68024         a new th_u3 union of tu_block/tu_code inside of that.  Move
68025         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68026         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68027         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68028         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68029         (th_stuff): Change to th_u1.tu_stuff.
68030         (th_data): Define.
68031         (th_msg): Change to th_u1.th_u2.tu_data.
68033 2012-05-07  David S. Miller  <davem@davemloft.net>
68035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68037         [BZ #14074]
68038         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68039         (SETUP_PIC_REG): Use it.
68040         (SETUP_PIC_REG_LEAF): Use it.
68042 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68044         [BZ #13885]
68045         [BZ #13923]
68046         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68047         USE_AS_EXPM1L.
68048         (EXPL_FINITE): Likewise.
68049         (FLDLOG): Likewise.
68050         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68051         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68052         e_expl.S.
68053         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68054         USE_AS_EXPM1L.
68055         (EXPL_FINITE): Likewise.
68056         (FLDLOG): Likewise.
68057         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68058         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68059         e_expl.S.
68060         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68061         test of -max_value argument for long double.
68062         * sysdeps/i386/fpu/libm-test-ulps: Update.
68063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68065 2012-05-06  David S. Miller  <davem@davemloft.net>
68067         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68068         quad soft-float symbols whose references which are compiler
68069         generated.
68070         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68072 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68074         [BZ #13884]
68075         [BZ #13914]
68076         * sysdeps/i386/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         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68086         e_expl.S.
68087         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68088         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68089         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68090         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68091         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68092         USE_AS_EXP10L.
68093         (EXPL_FINITE): Likewise.
68094         (FLDLOG): Likewise.
68095         (c0): Likewise.
68096         (c1): Likewise.
68097         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68098         Adjust comments for base varying.
68099         (__expl_finite): Change alias to EXPL_FINITE.
68100         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68101         tests for bugs.
68102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68104         [BZ #14064]
68105         * math/libm-test.inc (check_float_internal): Correct ulp
68106         calculation for subnormal expected results.
68108 2012-05-06  Andreas Jaeger  <aj@suse.de>
68110         * Makeconfig (+math-flags): New, set to -frounding-math.
68111         (+cflags): Add +math-flags so that all of glibc gets compiled with
68112         it.
68114         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68116 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68118         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68119         Disable one test.
68121         [BZ #13787]
68122         [BZ #13922]
68123         [BZ #14036]
68124         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68125         (__ieee754_expl): Allow for and saturate large arguments.
68126         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68127         (u_threshold): Likewise.
68128         (__exp): Call __ieee754_exp before checking for overflow and
68129         underflow.
68130         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68131         (u_threshold): Likewise.
68132         (__expf): Call __ieee754_expf before checking for overflow and
68133         underflow.
68134         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68135         (u_threshold): Likewise.
68136         (__expl): Call __ieee754_expl before checking for overflow and
68137         underflow.
68138         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68139         (__ieee754_expl): Allow for and saturate large arguments.
68140         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68141         missing overflow exception on overflow.
68142         (expm1_test): Do not allow missing overflow exception on overflow.
68144         * sysdeps/i386/fpu/e_expl.c: Move to ...
68145         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68146         rather than using inline asm.
68147         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68148         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68149         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68151         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68152         (nice): Likewise.
68153         (poll): Likewise.
68154         (signal): Likewise.
68155         (time): Likewise.
68156         (times): Likewise.
68158 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68160         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68161         sysdeps/unix/common/syscalls.list.
68162         (fchmod): Likewise.
68163         (fchown): Likewise.
68164         (ftruncate): Likewise.
68165         (getrusage): Likewise.
68166         (gettimeofday): Likewise.
68167         (setpgid): Likewise.
68168         (setregid): Likewise.
68169         (setreuid): Likewise.
68170         (sigaction): Likewise.
68171         (truncate): Likewise.
68172         (vhangup): Likewise.
68173         * sysdeps/unix/common/syscalls.list: Remove file.
68174         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68175         * sysdeps/unix/sysv/linux/Implies: Likewise.
68177 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68179         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68181         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68182         Moved to ...
68183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68184         Here.
68185         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68186         to ...
68187         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68188         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68189         to ...
68190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68191         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68192         to ...
68193         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68194         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68195         to ...
68196         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68197         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68198         to ...
68199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68200         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68201         to ...
68202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68203         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68204         to ...
68205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68206         Here.
68207         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68208         to ...
68209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68210         Here.
68211         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68212         to ...
68213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68214         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68215         Moved to ...
68216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68217         Here.
68218         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68219         to ...
68220         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68222 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68224         * sysdeps/unix/common/bits/dirent.h: Remove file.
68225         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68227         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68228         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68229         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68230         * sysdeps/unix/bsd/isatty.c: Likewise.
68231         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68232         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68233         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68235 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68237         [BZ #13563]
68238         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68239         long double comparison inaccuracies.
68240         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68243 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68245         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68246         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68248 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68250         [BZ #14049]
68251         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68252         nonzero digits before rounding a hex value.
68253         * stdlib/tst-strtod.c (tests): Add another test.
68255 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68257         * sysdeps/s390/fpu/libm-test-ulps: Update.
68259 2012-05-03  Andreas Jaeger  <aj@suse.de>
68261         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68262         does not get optimized out.
68263         (malloc_opt_barrier): New.
68265 2012-05-03  Andreas Jaeger  <aj@suse.de>
68266             Roland McGrath  <roland@hack.frob.com>
68268         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68269         intermediate file deletion.
68270         (generated): Add .symlist files.
68272 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68274         [BZ #13775]
68275         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68276         Redirect under this condition.
68277         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68278         [__USE_GNU] (__dprintf_chk): Not under this condition.
68279         [__USE_GNU] (__vdprintf_chk): Likewise.
68280         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68281         under this condition.
68282         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68283         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68284         [__USE_XOPEN2K8] (vdprintf): Likewise.
68285         [__USE_GNU] (__dprintf_chk): Not under this condition.
68286         [__USE_GNU] (__vdprintf_chk): Likewise.
68287         [__USE_GNU] (dprintf): Likewise.
68288         [__USE_GNU] (vdprintf): Likewise.
68290 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68292         * elf/Makefile (common-generated): Set this instead of generated for
68293         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68294         $(all-built-dso)-derived lists.
68296 2012-05-03  Andreas Jaeger  <aj@suse.de>
68298         * sysdeps/i386/fpu/libm-test-ulps: Update.
68300         * FAQ: Removed.
68301         * FAQ.in: Likewise.
68302         * scripts/gen-FAQ.pl: Likewise.
68303         * manual/install.texi (Installation): Point to online location of
68304         FAQ.
68305         * Makefile (files-for-dist): Remove FAQ.
68306         (FAQ): Remove.
68308 2012-05-02  Allan McRae  <allan@archlinux.org>
68310         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68311         (LDFLAGS-reldepmod5.so): Likewise.
68312         (LDFLAGS-reldep6mod1.so): Likewise.
68313         (LDFLAGS-reldep6mod4.so): Likewise.
68314         (LDFLAGS-reldep8mod3.so): Likewise.
68315         (LDFLAGS-unload4mod1.so): Likewise.
68316         (LDFLAGS-unload4mod2.so): Likewise.
68317         (LDFLAGS-tst-initorder): Likewise.
68318         (LDFLAGS-tst-initordera2.so): Likewise.
68319         (LDFLAGS-tst-initordera3.so): Likewise.
68320         (LDFLAGS-tst-initordera4.so): Likewise.
68321         (LDFLAGS-tst-initorderb2.so): Likewise.
68322         (LDFLAGS-noload): Likewise.
68323         (LDFLAGS-next): Likewise.
68324         (LDFLAGS-order2mod1.so): Likewise.
68325         (LDFLAGS-order2mod2.so): Likewise.
68326         (LDFLAGS-tst-initorder2): Likewise.
68327         (LDFLAGS-tst-initorder2a.so): Likewise.
68328         (LDFLAGS-tst-initorder2b.so): Likewise.
68329         (LDFLAGS-tst-initorder2c.so): Likewise.
68330         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68332 2012-05-02  David S. Miller  <davem@davemloft.net>
68334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68336 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68338         [BZ #14055]
68339         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68341 2012-05-02  Andreas Jaeger  <aj@suse.de>
68343         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68344         since we manipulate rounding mode.
68345         (CPPFLAGS-test-idouble.c): Likewise.
68346         (CPPFLAGS-test-ifloat.c): Likewise.
68347         (CFLAGS-test-ldouble.c): Likewise.
68348         (CFLAGS-test-double.c): Likewise.
68349         (CFLAGS-test-float.c): Likewise.
68350         (CFLAGS-test-misc.c): Likewise.
68351         (CFLAGS-test-test-fenv.c): Likewise.
68353 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68355         [BZ #2550]
68356         [BZ #2570]
68357         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68358         comparisons to determine direction to adjust input.
68360 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68362         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68363         output to the target.
68365         * scripts/localplt.awk: New file.
68366         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68367         (check-localplt-CFLAGS): Variable removed.
68368         ($(all-built-dso:=.jmprel)): New static pattern rule.
68369         (generated): Add those targets.
68370         (localplt-built-dso): New variable.
68371         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68373         * elf/check-localplt.c: File removed.
68375         * scripts/check-execstack.awk: New file.
68376         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68377         (check-execstack-CFLAGS): Variable removed.
68378         ($(objpfx)check-execstack.h): Target removed.
68379         ($(objpfx)execstack-default): New target.
68380         (generated): Add that instead of check-execstack.h.
68381         ($(all-built-dso:=.phdr)): New static pattern rule.
68382         (generated): Add those targets.
68383         * elf/check-execstack.c: File removed.
68385         * scripts/check-textrel.awk: New file.
68386         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68387         (check-textrel-CFLAGS): Variable removed.
68388         (all-built-dso): Use := to define.o
68389         ($(all-built-dso:=.dyn)): New static pattern rule.
68390         (generated): Add those targets.
68391         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68392         * config.make.in (READELF): New substituted variable.
68393         * elf/check-textrel.c: File removed.
68395 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68397         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68398         allow.
68399         * conform/data/ctype.h-data [C99-based standards] (isblank):
68400         Expect function.
68401         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68402         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68403         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68404         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68405         Specify type.  Require positive value.
68406         (EILSEQ): Likewise.
68407         (ERANGE): Likewise.
68408         [ISO || POSIX] (EILSEQ): Do not expect.
68409         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68410         Specify type.  Require positive value.
68411         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68412         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68413         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68414         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68415         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68416         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68417         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68418         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68419         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68420         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68421         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68422         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68423         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68424         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68425         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68426         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68427         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68428         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68429         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68430         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68431         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68432         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68433         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68434         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68435         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68436         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68437         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68438         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68439         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68440         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68441         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68442         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68443         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68444         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68445         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68446         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68447         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68448         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68449         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68450         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68451         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68452         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68453         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68454         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68455         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68456         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68457         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68458         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68459         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68460         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68461         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68462         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68463         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68464         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68465         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68466         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68467         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68468         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68469         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68470         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68471         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68472         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68473         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68474         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68475         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68476         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68477         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68478         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68479         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68480         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68481         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68482         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68483         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68484         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68485         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68486         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68487         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68488         Require >= 2.
68489         (FLT_ROUNDS): Expect as macro, not constant.
68490         (FLT_MANT_DIG): Use macro-int-constant.
68491         (DBL_MANT_DIG): Likewise.
68492         (LDBL_MANT_DIG): Likewise.
68493         (FLT_DIG): Likewise.
68494         (DBL_DIG): Likewise.
68495         (LDBL_DIG): Likewise.
68496         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68497         (DBL_MIN_EXP): Likewise.
68498         (LDBL_MIN_EXP): Likewise.
68499         (FLT_MAX_EXP): Use macro-int-constant.
68500         (DBL_MAX_EXP): Likewise.
68501         (LDBL_MAX_EXP): Likewise.
68502         (FLT_MAX_10_EXP): Likewise.
68503         (DBL_MAX_10_EXP): Likewise.
68504         (LDBL_MAX_10_EXP): Likewise.
68505         (FLT_MAX): Use macro-constant.
68506         (DBL_MAX): Likewise.
68507         (LDBL_MAX): Likewise.
68508         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68509         (DBL_EPSILON): Likewise.
68510         (LDBL_EPSILON): Likewise.
68511         (FLT_MIN): Likewise.
68512         (DBL_MIN): Likewise.
68513         (LDBL_MIN): Likewise.
68514         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68515         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68516         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68517         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68518         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68519         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68520         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68521         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68522         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68523         [ISO11] (FLT_TRUE_MIN): Likewise.
68524         [ISO11] (LDBL_TRUE_MIN): Likewise.
68525         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68526         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68527         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68528         (SCHAR_MAX): Likewise.
68529         (UCHAR_MAX): Likewise.
68530         (CHAR_MIN): Likewise.
68531         (CHAR_MAX): Likewise.
68532         (MB_LEN_MAX): Use macro-int-constant.
68533         (SHRT_MIN): Use macro-int-constant.  Specify type.
68534         (SHRT_MAX): Likewise.
68535         (USHRT_MAX): Likewise.
68536         (INT_MAX): Likewise.
68537         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
68538         bound negative.
68539         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68540         bound with "U".
68541         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68542         bound with "L".
68543         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
68544         bound negative.  Suffix upper bound with "L".
68545         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
68546         bound with "UL".
68547         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
68548         Specify type.
68549         [C99-based standards] (LLONG_MAX): Likewise.
68550         [C99-based standards] (ULLONG_MAX): Likewise.
68551         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
68552         == 0.
68553         [ISO11] (max_align_t): Require type.
68554         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68556         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
68557         from $CFLAGS, without defining away __attribute__ calls.
68558         (checknamespace): Use $CFLAGS_namespace.
68560         * conform/conformtest.pl (@keywords): Only include C99 keywords
68561         for standards based on C99 or C11.
68563         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
68564         Disable tests.
68565         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
68566         UNIX98]: Likewise.
68568         * conform/conformtest.pl: Handle "macro-int-constant" and test for
68569         usability of symbols in #if.
68571         * conform/conformtest.pl: If macro or constant types start
68572         "promoted:", expect the symbol to be of the following type
68573         promoted by the integer promotions.
68575         * conform/conformtest.pl: Parse all "constant" and "macro" lines
68576         in one place.  Also handle "macro-constant".
68578         * conform/conformtest.pl: Only accept expected macro values with
68579         "==".  Parse all "macro" lines in one place.
68580         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
68582         * conform/conformtest.pl: Handle braced types on "constant" lines
68583         instead of handling "typed-constant".
68584         * conform/data/signal.h-data: Use "constant" instead of
68585         "typed-constant".
68587         * conform/conformtest.pl: Handle "optional-" at start of lines in
68588         one place rather than duplicating several cases.  Handle each
68589         format of "macro" line with initial "optional-".
68591         * conform/conformtest.pl: Only accept expected constant or
68592         optional-constant values with "==".  Parse all "constant" lines in
68593         one place.  Parse all "optional-constant" lines in one place.
68594         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
68595         * conform/data/fmtmsg.h-data: Likewise.
68596         * conform/data/netinet/in.h-data: Likewise.
68597         * conform/data/tar.h-data: Likewise.
68598         * conform/data/limits.h-data: Use "==" form on "constant" and
68599         "optional-constant" lines.
68601         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
68602         Use -std=c99 for XOPEN2K.
68603         (@knownproblems): Remove.
68604         (newtoken): Don't check %isknown.
68606         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
68607         Do not expect macro.
68608         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
68609         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
68610         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
68611         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
68612         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
68613         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
68614         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
68615         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
68616         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
68617         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
68618         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
68619         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
68620         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
68621         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
68622         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
68623         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
68624         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
68625         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
68626         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
68627         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
68628         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
68629         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
68630         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
68631         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
68632         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
68633         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
68634         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
68635         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
68636         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
68637         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
68638         [XPG3] (acosh): Likewise.
68639         [XPG3] (asinh): Likewise.
68640         [XPG3] (atanh): Likewise.
68641         [XPG3] (cbrt): Likewise.
68642         [XPG3] (expm1): Likewise.
68643         [XPG3] (ilogb): Likewise.
68644         [XPG3] (log1p): Likewise.
68645         [XPG3] (logb): Likewise.
68646         [XPG3] (nextafter): Likewise.
68647         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
68648         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
68649         [XPG3] (remainder): Likewise.
68650         [XPG3] (rint): Likewise.
68651         [XPG3 || XPG4 || UNIX98] (round): Likewise.
68652         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
68653         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
68654         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
68655         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
68656         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
68657         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
68658         [UNIX98 || XOPEN2K] (scalb): Expect.
68659         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
68660         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
68661         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
68662         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
68663         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
68664         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
68665         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
68666         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
68667         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
68668         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
68669         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
68670         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
68671         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
68672         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
68673         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
68674         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
68675         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
68676         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
68677         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
68678         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
68679         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
68680         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
68681         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
68682         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
68683         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
68684         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
68685         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
68686         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
68687         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
68688         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
68689         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
68690         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
68691         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
68692         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
68693         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
68694         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
68695         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
68696         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
68697         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
68698         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
68699         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
68700         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
68701         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
68702         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
68703         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
68704         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
68705         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
68706         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
68707         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
68708         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
68709         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
68710         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
68711         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
68712         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
68713         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
68714         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
68715         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
68716         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
68717         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
68718         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
68719         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
68720         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
68721         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
68722         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
68723         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
68724         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
68725         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
68726         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
68727         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
68728         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
68729         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
68730         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
68731         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
68732         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
68733         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
68734         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
68735         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
68736         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
68737         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
68738         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
68739         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
68740         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
68741         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
68742         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
68743         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
68744         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
68745         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
68746         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
68747         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
68748         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
68749         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
68750         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
68751         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
68752         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
68753         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
68754         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
68755         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
68756         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
68757         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
68758         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
68759         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
68760         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
68761         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
68762         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
68763         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
68764         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
68765         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
68766         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
68767         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
68768         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
68769         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
68770         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
68771         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
68772         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
68773         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
68774         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
68775         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
68776         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
68777         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
68778         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
68779         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
68780         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
68781         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
68782         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
68783         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
68784         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
68785         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
68786         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
68787         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
68788         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
68789         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
68790         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
68791         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
68792         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
68793         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
68794         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
68795         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
68797         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
68798         _XOPEN_SOURCE_EXTENDED for XPG4.
68800         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
68802         * Makeconfig (localtime): Remove variable.
68803         (inst_localtime-file): Likewise.
68805 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
68808         Update.
68809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68810         Update.
68811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
68812         Update.
68813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
68814         Update.
68815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
68816         Update.
68817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
68818         Update.
68819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68820         Update.
68821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
68822         Update.
68823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
68824         Update.
68826 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68828         [BZ #2550]
68829         [BZ #2570]
68830         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
68831         comparisons to determine direction to adjust input.
68832         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
68833         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
68834         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
68835         Likewise.
68836         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
68837         Likewise.
68838         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
68839         Likewise.
68840         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
68841         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
68842         Likewise.
68843         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
68844         Likewise.
68845         * math/libm-test.inc (nexttoward_test): Add more tests.
68847 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
68849         [BZ #14040]
68850         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
68851         in version GLIBC_2.1, not GLIBC_2.0.
68852         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
68853         Likewise.
68855 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
68857         [BZ #13942]
68858         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
68859         (1 - x) * (1 + x).
68860         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68861         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
68862         * math/libm-test.inc (acos_test): Add more tests.
68863         (asin_test): Likewise.
68864         * sysdeps/i386/fpu/libm-test-ulps: Update.
68865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68867         [BZ #14034]
68868         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
68869         of square root.
68870         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
68871         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
68872         * math/libm-test.inc (acos_test_tonearest): New function.
68873         (acos_test_towardzero): Likewise.
68874         (acos_test_downward): Likewise.
68875         (acos_test_upward): Likewise.
68876         (asin_test_tonearest): Likewise.
68877         (asin_test_towardzero): Likewise.
68878         (asin_test_downward): Likewise.
68879         (asin_test_upward): Likewise.
68880         (main): Call the new functions.
68881         * sysdeps/i386/fpu/libm-test-ulps: Update.
68882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68884         [BZ #13884]
68885         [BZ #13924]
68886         * math/e_exp10.c: Include <float.h>.
68887         (__ieee754_exp10): Handle underflow here rather than multiplying
68888         large negative argument by M_LN10.
68889         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
68890         of __ieee754_expf.
68891         * math/e_exp10l.c: Include <float.h>.
68892         (__ieee754_exp10l): Handle underflow here rather than multiplying
68893         large negative argument by M_LN10l.
68894         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
68895         spurious overflow exception on underflow.
68897 2012-04-29  Marek Polacek  <polacek@redhat.com>
68899         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
68900         (__fortify_function): New macro.
68901         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
68902         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
68903         __extern_always_inline.
68904         * libio/bits/stdio2.h: Likewise.
68905         * libio/bits/stdio.h: Likewise.
68906         * string/string.h: Likewise.
68907         * string/bits/string3.h: Likewise.
68908         * include/stdio.h: Likewise.
68909         * stdlib/bits/stdlib.h: Likewise.
68910         * stdlib/stdlib.h: Likewise.
68911         * rt/bits/mqueue2.h: Likewise.
68912         * rt/mqueue.h: Likewise.
68913         * posix/bits/unistd.h: Likewise.
68914         * posix/unistd.h: Likewise.
68915         * io/bits/poll2.h: Likewise.
68916         * io/bits/fcntl2.h: Likewise.
68917         * io/fcntl.h: Likewise.
68918         * io/sys/poll.h: Likewise.
68919         * misc/bits/syslog.h: Likewise.
68920         * misc/bits/syslog-ldbl.h: Likewise.
68921         * misc/sys/syslog.h: Likewise.
68922         * socket/bits/socket2.h: Likewise.
68923         * socket/sys/socket.h: Likewise.
68924         * debug/tst-chk1.c: Likewise.
68925         * wcsmbs/bits/wchar2.h: Likewise.
68926         * wcsmbs/bits/wchar-ldbl.h: Likewise.
68927         * wcsmbs/wchar.h: Likewise.
68929 2012-04-29  Andreas Jaeger  <aj@suse.de>
68931         * Makerules (tests): Remove enable-check-abi protection.
68932         (check-abi-warn): Remove.
68933         (check-abi-%): Remove check-abi-warn usage.
68935         * configure.in: Remove check-abi configure option.
68936         * configure: Regenerated.
68937         * config.make.in (enable-check-abi): Remove.
68939 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
68941         [BZ #14033]
68942         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
68943         double functions to double *_finite functions.
68945         [BZ #13941]
68946         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
68947         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
68948         LDBL_MIN_EXP.
68949         * stdio-common/Makefile (tests): Add tst-sprintf3.
68950         * stdio-common/tst-sprintf3.c: New file.
68952         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
68953         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
68955 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
68957         * conform/conformtest.pl: Remove duplicate typed-constant
68958         handling.
68960 2012-04-28  David S. Miller  <davem@davemloft.net>
68962         * Makerules (%.abilist): Add vpath on sysdep_dirs.
68963         (check-abi-%): Remove AWK script prerequisite and explicit
68964         abilist directory.
68965         (check-abi): Rewrite to just diff the symlist with the abilist.
68966         (config-tls, config-abi-config): Delete, no longer used.
68967         (update-abi-%): Remove AWK script and explicit abilist directory.
68968         (update-abi): Rewrite to simply compare and conditionally copy the
68969         symlist and the sysdep abilist file.  Remove update-abi-config
68970         checks.
68971         * abilist/ld.abilist: Remove.
68972         * abilist/libBrokenLocale.abilist: Remove.
68973         * abilist/libanl.abilist: Remove.
68974         * abilist/libcrypt.abilist: Remove.
68975         * abilist/libdl.abilist: Remove.
68976         * abilist/librt.abilist: Remove.
68977         * abilist/libthread_db.abilist: Remove.
68978         * abilist/libutil.abilist: Remove.
68979         * scripts/extract-abilist.awk: Remove.
68980         * scripts/merge-abilist.awk: Remove.
68981         * sysdeps/generic/libcidn.abilist: New file.
68982         * sysdeps/generic/libnss_compat.abilist: New file.
68983         * sysdeps/generic/libnss_db.abilist: New file.
68984         * sysdeps/generic/libnss_dns.abilist: New file.
68985         * sysdeps/generic/libnss_files.abilist: New file.
68986         * sysdeps/generic/libnss_hesiod.abilist: New file.
68987         * sysdeps/generic/libnss_nis.abilist: New file.
68988         * sysdeps/generic/libnss_nisplus.abilist: New file.
68989         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
68990         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
68991         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
68992         file.
68993         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
68994         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
68995         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
68996         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
68997         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
68998         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
68999         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69000         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69001         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
69002         file.
69003         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
69004         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
69005         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
69006         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
69007         file.
69008         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69009         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69010         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69011         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69012         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69013         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69014         file.
69015         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69016         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69017         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69018         file.
69019         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69021         New file.
69022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69023         New file.
69024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69025         New file.
69026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69027         New file.
69028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69029         New file.
69030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69031         New file.
69032         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69033         New file.
69034         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69035         New file.
69036         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69037         New file.
69038         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69039         New file.
69040         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69041         New file.
69042         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69043         New file.
69044         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69045         New file.
69046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69047         file.
69048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69049         New file.
69050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69051         New file.
69052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69053         file.
69054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69055         New file.
69056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69057         New file.
69058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69059         file.
69060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69061         New file.
69062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69063         New file.
69064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69065         New file.
69066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69067         New file.
69068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69069         New file.
69070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69071         New file.
69072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69074         file.
69075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69076         New file.
69077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69078         file.
69079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69080         file.
69081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69082         file.
69083         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69084         file.
69085         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69086         file.
69087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69088         New file.
69089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69090         file.
69091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69092         file.
69093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69094         New file.
69095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69096         file.
69097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69099         file.
69100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69101         New file.
69102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69103         file.
69104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69105         file.
69106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69107         file.
69108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69109         file.
69110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69111         file.
69112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69113         New file.
69114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69115         file.
69116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69117         file.
69118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69119         New file.
69120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69121         file.
69122         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69123         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69124         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69125         file.
69126         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69127         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69128         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69129         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69130         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69131         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69132         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69133         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69134         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69135         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69136         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69138         file.
69139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69140         New file.
69141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69142         file.
69143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69144         file.
69145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69146         file.
69147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69148         file.
69149         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69150         file.
69151         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69152         New file.
69153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69154         New file.
69155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69156         file.
69157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69158         New file.
69159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69160         file.
69161         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69163         file.
69164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69165         New file.
69166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69167         file.
69168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69169         file.
69170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69171         file.
69172         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69173         file.
69174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69175         file.
69176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69177         New file.
69178         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69179         New file.
69180         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69181         file.
69182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69183         New file.
69184         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69185         file.
69187 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69189         * conform/conformtest.pl: Fix typo in handling typed-constant from
69190         allow-header.
69192 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69194         * README: Cut down references to pre-2.6 Linux kernels and
69195         Linuxthreads.  Update lists of configurations in libc and ports
69196         and sort alphabetically.  Say "or newer" with Linux kernel version
69197         requirements.
69199         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69201 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69203         [BZ #887]
69204         * math/libm-test.inc (logb_test_downward): New test to expose
69205         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69206         rounding mode.
69208 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69210         [BZ #14027]
69211         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69212         to be done.
69213         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69214         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69216 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69218         * sysdeps/unix/i386/brk.S: Remove file.
69219         * sysdeps/unix/i386/dl-brk.S: Likewise.
69220         * sysdeps/unix/i386/pipe.S: Likewise.
69221         * sysdeps/unix/i386/sigreturn.S: Likewise.
69222         * sysdeps/unix/i386/syscall.S: Likewise.
69223         * sysdeps/unix/i386/vfork.S: Likewise.
69224         * sysdeps/unix/i386/wait.S: Likewise.
69226         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69227         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69229         * configure.in (arm*-none*): Do not allow without
69230         --enable-hacker-mode.
69231         (netbsd*): Remove case setting base_os.
69232         (386bsd*): Likewise.
69233         (freebsd*): Likewise.
69234         (bsdi*): Likewise.
69235         (osf*): Likewise.
69236         (sunos*): Likewise.
69237         (ultrix*): Likewise.
69238         (newsos*): Likewise.
69239         (dynix*): Likewise.
69240         (*bsd*): Likewise.
69241         (sysv*): Likewise.
69242         (isc*): Likewise.
69243         (esix*): Likewise.
69244         (sco*): Likewise.
69245         (minix*): Likewise.
69246         (irix4*): Likewise.
69247         (irix6*): Likewise.
69248         (solaris[2-9]*): Likewise.
69249         (none): Likewise.
69250         * configure: Regenerated.
69252 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69254         [BZ #11521]
69255         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69256         overflow or cancellation in calculating denominator.
69257         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69258         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69259         down expression to avoid unexpected rounding in newer GCCs.
69260         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69262 2012-04-26  David S. Miller  <davem@davemloft.net>
69264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69265         long-double compat symbols.
69266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69280 2012-04-25  David S. Miller  <davem@davemloft.net>
69282         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69283         HWCAP_* values only after the memory barriers have been defined.
69284         (atomic_full_barrier): Define.
69285         (atomic_read_barrier): Define.
69286         (atomic_write_barrier): Define.
69288 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69290         * shlib-versions: Add libgcc_s version information.
69291         * sysdeps/generic/libgcc_s.h: Remove.
69292         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69293         libgcc_s.h.
69294         * sysdeps/gnu/unwind-resume.c: Likewise.
69295         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69297 2012-04-25  David S. Miller  <davem@davemloft.net>
69299         * sysdeps/unix/sparc/brk.S: Delete.
69300         * sysdeps/unix/sparc/dl-brk.S: Delete.
69301         * sysdeps/unix/sparc/pipe.S: Delete.
69302         * sysdeps/unix/sparc/sysdep.S: Delete.
69303         * sysdeps/unix/sparc/sysdep.h: Delete.
69304         * sysdeps/unix/sparc/vfork.S: Delete.
69305         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69306         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69307         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69308         (ret_ERRVAL, r0, r1, MOVE): Define.
69309         (JUMPTARGET): Remove.
69310         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69311         sysdeps/unix/sparc/sysdep.h
69312         (ENTRY, END): Remove.
69313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69315 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69317         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69318         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69319         -DIS_IN_build.
69321         * timezone/README: Update upstream location and email address for
69322         tzcode and tzdata.
69323         * timezone/zdump.c: Update from tzcode 2012b.
69324         * timezone/zic.c: Likewise.
69326         * configure.in (libc_cv_as_needed): Remove test.
69327         * configure: Regenerated.
69328         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69329         conditional definition.
69330         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69331         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69332         * config.make.in (have-as-needed): Remove variable.
69334 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69335             Paul Pluzhnikov  <ppluzhnikov@google.com>
69337         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69338         strings correctly.
69340 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69342         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69343         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69344         * sysdeps/sh/strlen.S: Likewise.
69346 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69348         * sysdeps/unix/fork.S: Remove file.
69349         * sysdeps/unix/i386/fork.S: Likewise.
69350         * sysdeps/unix/sparc/fork.S: Likewise.
69352         * sysdeps/unix/system.c: Remove file.
69353         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69355         * sysdeps/unix/getegid.S: Remove file.
69356         * sysdeps/unix/geteuid.S: Likewise.
69358 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69360         * scripts/check-localplt.awk: New file.
69361         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69362         of diff.
69363         * scripts/data/localplt-generic.data: Add a comment.
69365         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69366         NODE when __dir_mkfile failed.
69367         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69368         Reported by Ludovic Courtès <ludo@gnu.org>.
69370 2012-04-24  Andreas Jaeger  <aj@suse.de>
69372         * Makerules (common-clean): Also remove gen-as-const-headers
69373         files.
69375 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69377         * Makerules (native-compile): Do not change working directory for
69378         build.  Use $(OUTPUT_OPTION) in command.
69379         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69381 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69383         [BZ #13886]
69384         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69385         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69386         * math/libm-test.inc (floor_test): Add more tests.
69387         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69389 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69391         * sysdeps/unix/getdents.c: Remove file.
69392         * sysdeps/unix/sysv/getdents.c: Likewise.
69393         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69395         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69396         sysdeps/unix/mman/syscalls.list.
69397         (mmap): Likewise.
69398         (mprotect): Likewise.
69399         (msync): Likewise.
69400         (munmap): Likewise.
69401         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69402         * sysdeps/unix/mman/syscalls.list: Remove.
69403         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69405         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69406         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69407         * configure: Regenerated.
69408         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69409         $(libgcc_s_suffix).
69410         * config.make.in (libgcc_s_suffix): Remove variable.
69412 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69414         * sysdeps/unix/sysv/gethostname.c: Move to ...
69415         * sysdeps/posix/gethostname.c: ... here.
69417         * sysdeps/unix/execve.S: Remove file.
69419         * sysdeps/unix/_exit.S: Remove file.
69421 2012-04-23  Andreas Jaeger  <aj@suse.de>
69423         [BZ #13739]
69424         * manual/Makefile: Remove make dist support, there's no
69425         need for a stand-alone documentation tar ball.
69426         (TEXI2DVI): Define always, it's not in Makeconfig.
69427         (dist): Removed.
69428         (tar-it): Removed.
69429         (edition): Removed.
69430         (glibc-doc-$(edition).tar): Removed
69431         (%.Z): Removed.
69432         (%.gz): Removed.
69433         (%.uu): Removed.
69434         (ETAGS): Remove, it's in Makeconfig.
69435         (move-if-change): Remove, it's in Makeconfig.
69437 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69439         [BZ #13970]
69440         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69441         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69442         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69443         (strtod_l, strtof_l, strtold_l): Remove __wur.
69444         It is not necessarily an error to ignore strtol's return value.
69445         One can reliably look at the stored endptr to decide whether
69446         the number had valid syntax.
69448 2012-04-21  Andreas Jaeger  <aj@suse.de>
69450         [BZ #13739]
69451         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69453 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69455         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69456         * sysdeps/unix/sysv/Versions: Remove file.
69458 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69460         [BZ #13927]
69461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69463 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69465         [BZ #7064]
69466         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69467         version from __vm86.
69469 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69471         * sysdeps/unix/common/lxstat.c: Remove file.
69472         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69474         * sysdeps/unix/sysv/Makefile: Remove file.
69476         * sysdeps/unix/sysv/direct.h: Remove file.
69478         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69479         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69480         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69481         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69482         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69483         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69484         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69486         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69488         * sysdeps/unix/xmknod.c: Remove file.
69489         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69491         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69493         * sysdeps/unix/sysv/i386/time.S: Remove file.
69495         * sysdeps/unix/fxstat.c: Remove file.
69496         * sysdeps/unix/xstat.c: Likewise.
69497         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69499         * sysdeps/unix/sysv/sigaction.c: Remove file.
69501         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69502         (sysdep_headers): Remove variable.
69503         [termio.h not in sysdep_headers] (generated): Likewise.
69504         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69505         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69506         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69507         * sysdeps/unix/sysv/tcflow.c: Likewise.
69508         * sysdeps/unix/sysv/tcflush.c: Likewise.
69509         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69510         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69511         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69512         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69513         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69515         * sysdeps/unix/siglist.c: Remove file.
69517         * sysdeps/unix/getppid.S: Remove file.
69519         * sysdeps/unix/mkdir.c: Remove file.
69520         * sysdeps/unix/rmdir.c: Likewise.
69522 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69524         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69525         ERR_MAX value.
69526         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69527         errlist-compat value.
69529 2012-04-18  David S. Miller  <davem@davemloft.net>
69531         * sysdeps/generic/memcopy.h (reg_char): Delete.
69532         * debug/strcat_chk.c: Use char, not reg_char.
69533         * debug/strcpy_chk.c: Likewise.
69534         * debug/strncat_chk.c: Likewise.
69535         * debug/strncpy_chk.c: Likewise.
69536         * string/memchr.c: Likewise.
69537         * string/memrchr.c: Likewise.
69538         * string/rawmemchr.c: Likewise.
69539         * string/strcat.c: Likewise.
69540         * string/strchr.c: Likewise.
69541         * string/strchrnul.c: Likewise.
69542         * string/strcmp.c: Likewise.
69543         * string/strcpy.c: Likewise.
69544         * string/strncat.c: Likewise.
69545         * string/strncmp.c: Likewise.
69546         * string/strncpy.c: Likewise.
69548 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69550         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
69551         __builtin_memcopy is called when src and dest ranges are known to not
69552         overlap.
69554 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69556         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
69557         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
69558         fwd_align_merge macro call.
69559         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
69560         bwd_align_merge macro call.
69561         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69563 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
69565         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
69566         bwd_align_merge macros.
69567         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
69568         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
69569         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
69571 2012-04-18  David S. Miller  <davem@davemloft.net>
69573         * sysdeps/sparc/sparc64/memcopy.h: Delete.
69575 2012-04-18  Andreas Jaeger  <aj@suse.de>
69577         [BZ# 6794]
69578         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
69579         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
69580         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69582         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
69583         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
69584         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69586         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
69587         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
69588         Adjust for changed ldbl-128 files.
69590         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
69591         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
69592         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69594 2012-04-17  David S. Miller  <davem@davemloft.net>
69596         * sysdeps/sparc/sparc32/memcopy.h: Delete.
69598 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
69600         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
69601         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
69602         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
69603         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
69604         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
69605         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
69607 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69609         [BZ #6794]
69610         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
69611         * math/libm-test.inc: Add ilogb errno and exception tests.
69612         * math/w_ilogb.c: New file: ilogb wrapper.
69613         * math/w_ilogbf.c: New file: ilogbf wrapper.
69614         * math/w_ilogbl.c: New file: ilogbl wrapper.
69615         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
69616         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
69617         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
69618         exception being thrown with 0.0 as argument.
69619         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
69620         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
69621         exception being thrown with 0.0 as argument.
69622         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
69623         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69624         exception being thrown with 0.0 as argument.
69625         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
69626         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
69627         exception being thrown with 0.0 as argument.
69628         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
69629         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
69630         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
69631         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
69632         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
69633         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
69634         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
69635         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
69636         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
69638 2012-04-17  Petr Baudis  <pasky@ucw.cz>
69640         * include/sys/uio.h: Change __vector to __iovec to avoid clash
69641         with altivec.
69643 2012-04-16  Marek Polacek  <polacek@redhat.com>
69645         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
69647 2012-04-16  Marek Polacek  <polacek@redhat.com>
69649         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
69650         operands of fdivp instruction.
69652 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69654         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
69655         * elf/tst-auditmod3b.c: Likewise.
69656         * elf/tst-auditmod4b.c: Likewise.
69657         * elf/tst-auditmod5b.c: Likewise.
69658         * elf/tst-auditmod6b.c: Likewise.
69659         * elf/tst-auditmod6c.c: Likewise.
69660         * elf/tst-auditmod7b.c: Likewise.
69661         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
69662         * sysdeps/x86_64/preconfigure.in: Likewise.
69663         * sysdeps/x86_64/preconfigure: Regenerated.
69665 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
69667         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
69668         __ILP32__.
69670 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
69672         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69673         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
69675 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
69677         [BZ #13973]
69678         * locale/iso-639.def: Fix gl language name. Spotted by
69679         Yaron Shahrabani.
69681 2012-04-12  Roland McGrath  <roland@hack.frob.com>
69683         [BZ #2074]
69684         * libio/libio.h (__io_write_fn): Update comment.
69686 2012-04-12  Petr Baudis  <pasky@ucw.cz>
69688         [BZ #2074]
69689         * stdio.texi (Hook Functions): The user provided writer function
69690         is not allowed to return -1.
69692 2012-04-11  David S. Miller  <davem@davemloft.net>
69694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69696 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
69698         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
69699         Add a leading slash to rtkaio.
69701 2012-04-11  Jim Meyering  <meyering@redhat.com>
69703         [BZ #11959]
69704         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
69705         It is not necessarily an error to ignore fwrite's return
69706         value.  One can reliably use ferror to test for errors after
69707         the fact.
69709 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69711         * bits/types.h (__snseconds_t): New type.
69712         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
69714         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
69715         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69716         (__SNSECONDS_T_TYPE): Likewise.
69717         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69718         (__SNSECONDS_T_TYPE): Likewise.
69719         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69720         (__SNSECONDS_T_TYPE): Likewise.
69722 2012-04-10  Andreas Jaeger  <aj@suse.de>
69724         [BZ #2636]
69725         * manual/time.texi (Processor Time): Return type of times is
69726         elapsed real time since an arbitrary point in the past.
69727         (CPU Time): Move CLK_TCK from here...
69728         (Processor Time): ...to here.  Correct description.
69729         * manual/conf.texi (Constants for Sysconf): Correct description of
69730         _SC_CLK_TCK.
69732 2012-04-10  David S. Miller  <davem@davemloft.net>
69734         [BZ #13967]
69735         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
69736         where the is a gap between DT_REL(A) and DT_JMPREL.
69738 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
69740         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
69741         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69742         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69744 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69746         * elf/dl-support.c (_dl_inhibit_cache): New variable.
69747         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
69748         (dl_main): Handle --inhibit-cache.
69749         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
69750         _dl_inhibit_cache.
69751         * elf/dl-load.c (_dl_map_object): Use it.
69752         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
69754 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69756         [BZ #13872]
69757         * sysdeps/i386/fpu/e_powl.S (p78): New object.
69758         (__ieee754_powl): Saturate large exponents rather than testing for
69759         overflow of y*log2(x).
69760         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
69761         * math/libm-test.inc (pow_test): Do not permit spurious overflow
69762         exceptions.
69764         [BZ #11521]
69765         * math/s_ctan.c: Include <float.h>.
69766         (__ctan): Avoid internal overflow or cancellation in calculating
69767         denominator.
69768         * math/s_ctanf.c: Likewise.
69769         * math/s_ctanl.c: Likewise.
69770         * math/s_ctanh.c: Likewise.
69771         * math/s_ctanhf.c: Likewise.
69772         * math/s_ctanhl.c: Likewise.
69773         * math/libm-test.inc (ctan_test): Add more tests.
69774         (ctanh_test): Likewise.
69775         * sysdeps/i386/fpu/libm-test-ulps: Update.
69776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69778 2012-04-09  Andreas Jaeger  <aj@suse.de>
69780         [BZ #6894]
69781         * manual/filesys.texi (Directory Entries): Mention that d_namlen
69782         is an optional BSD extension.
69784         [BZ #10254]
69785         * manual/stdio.texi (Opening Streams): Document additional fopen
69786         parameters.
69788 2012-04-09  Roland McGrath  <roland@hack.frob.com>
69790         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
69791         %eax without telling the compiler.
69793 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
69795         [BZ # 13963]
69796         * manual/install.texi: Use sourceware.org.
69798 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
69800         [BZ #13873]
69801         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
69802         (__ieee754_pow): Generate overflow and underflow using huge*huge
69803         and tiny*tiny rather than just returning constant infinity or zero
69804         for large exponents.
69805         * math/libm-test.inc (pow_test): Require overflow exceptions for
69806         applicable cases of large exponents.
69808         [BZ #706]
69809         * sysdeps/i386/fpu/e_pow.S (p10): New object.
69810         (__ieee754_pow): Use iterative multiplication algorithm only for
69811         integer exponents with absolute value below 1024.  Check for odd
69812         integer exponents when using algorithm for real exponents.
69813         * math/libm-test.inc (pow_test): Add more tests.
69814         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69816 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
69818         [BZ #13705]
69819         * math/libm-test.inc (exp_test): Do not allow overflow exception
69820         on underflow test.
69822 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
69824         [BZ #13705]
69825         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
69826         instead of __kernel_standard_f.
69828 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
69830         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
69831         * sysdeps/x86_64/memset_chk.S: Likewise.
69833 2012-04-08  Andreas Jaeger  <aj@suse.de>
69835         [BZ #10153]
69836         * manual/startup.texi (Environment Access): Describe return value
69837         for putenv and setenv.
69839         [BZ #6895]
69840         * manual/filesys.texi (Directory Entries): Add description for
69841         DT_LNK.
69843         [BZ #6890]
69844         * manual/filesys.texi (Directory Entries): Clarify that it's file
69845         system not operating system in the description of DT_UNKNOWN.
69847         [BZ #6578]
69848         * manual/syslog.texi (closelog): Fix reference, it's openlog.
69850 2012-04-08  Stephen Compall  <s11@member.fsf.org>
69852         [BZ #6649]
69853         * manual/llio.texi (Opening and Closing Files): Add cross
69854         reference to explain mode argument.
69856 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
69858         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
69859         * sysdeps/x86_64/memset_chk.S: Likewise.
69861 2012-04-07  David S. Miller  <davem@davemloft.net>
69863         * elf/elf.h (R_SPARC_WDISP10): Define.
69864         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
69865         R_SPARC_SIZE32.
69866         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
69867         R_SPARC_SIZE64 and R_SPARC_H34.
69869 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
69871         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
69872         conditions and remove no longer applicable assertion.
69874 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69876         * bits/byteswap.h: Include <features.h>.
69877         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
69878         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
69880 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
69882         * bits/byteswap.h (__bswap_16): Removed.
69883         Include <bits/byteswap-16.h> to get __bswap_16.
69884         * sysdeps/i386/bits/byteswap.h: Likewise.
69885         * sysdeps/s390/bits/byteswap.h: Likewise.
69886         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69887         * bits/byteswap-16.h: New file.
69888         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69889         * sysdeps/s390/bits/byteswap-16.h: Likewise.
69890         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
69891         * string/Makefile (headers): Add bits/byteswap-16.h.
69893 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69895         [BZ #13895]
69896         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
69897         extra indirection.
69898         * nss/Makefile (tests-static, tests): Add tst-nss-static.
69899         * nss/tst-nss-static.c: New.
69901 2012-04-06  Robert Millan  <rmh@gnu.org>
69903         [BZ #6486]
69904         * manual/llio.texi (File Position Primitive): lseek
69905         refers to WHENCE when it really means OFFSET.
69907 2012-04-06  Andreas Jaeger  <aj@suse.de>
69909         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
69910         strncmp declarations.
69912         * abilist/libc.abilist: Add __poll and __ppoll.
69914 2012-04-05  David S. Miller  <davem@davemloft.net>
69916         * scripts/check-local-headers.sh: Accept a host triplet in the
69917         path matched by the exclude regexp.
69919         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
69920         definition.
69921         * sysdeps/powerpc/powerpc32/dl-machine.h
69922         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
69923         * sysdeps/s390/s390-32/dl-machine.h
69924         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69925         * sysdeps/sparc/sparc32/dl-machine.h
69926         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69927         * sysdeps/sparc/sparc64/dl-machine.h
69928         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
69930         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
69931         lazy binding.
69932         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
69933         undefined symbol errors.
69935         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
69936         DT_NEEDED entries.
69938 2012-04-05  Michael Matz  <matz@suse.de>
69940         [BZ #13592]
69941         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
69943 2012-04-05  Andreas Jaeger  <aj@suse.de>
69945         [BZ #13908]
69946         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
69947         comment.
69949 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69951         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
69952         which ROUND is no valid rounding mode.
69954 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69956         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
69957         read again.
69958         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
69960 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69962         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
69963         an exception using FPU order intentionally.
69965 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69967         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
69968         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
69969         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
69970         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
69972 2012-04-05  Simon Josefsson  <simon@josefsson.org>
69974         [BZ #12340]
69975         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
69976         EINVAL when BUFLEN is too smal.
69978 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69980         [BZ #13553]
69981         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
69982         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
69984 2012-04-03  Andreas Jaeger  <aj@suse.de>
69986         [BZ #13938]
69987         * manual/setjmp.texi (System V contexts): Fix sentence.
69989         [BZ #13926]
69990         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
69991         New macro for this case.
69992         [!__GNUC__] (__bswap_64): New inline function for this case.
69993         * sysdeps/x86_64/bits/byteswap.h: Likewise.
69994         * bits/byteswap.h: Likewise.
69995         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
69996         ull, guard with __GLIBC_HAVE_LONG_LONG.
69998         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
69999         __GLIBC_HAVE_LONG_LONG.
70001         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
70002         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
70004 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70006         [BZ #13691]
70007         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
70008         inptr and inend, rather than using last_ch.
70010 2012-04-02  David S. Miller  <davem@davemloft.net>
70012         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70013         * stdio-common/printf-parse.h (read_int): Change return type to
70014         'int', return -1 on INT_MAX overflow.
70015         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70016         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70017         overflows INT_MAX.  Check for overflow of in-format-string precision
70018         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70019         SIZE_MAX not INT_MAX for integer overflow test.
70020         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70021         skip the construct in the format string but do not record anything.
70022         * stdio-common/bug22.c: Adjust to test both width/prevision
70023         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70024         explicitly for proper errno values.
70026 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70028         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70029         CHAR_MAX.
70030         * string/test-strcmp.c [! WIDE]: Likewise.
70031         * time/tst-mktime2.c: Likewise for INT_MAX.
70032         * string/test-string.h: #include <sys/param.h> for MIN.
70034         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70035         * sysdeps/i386/init-first.c (init): Likewise.
70036         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70037         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70038         * sysdeps/sh/init-first.c (init): Likewise.
70040 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70042         * po/ru.po: Update from translation team.
70043         * po/vi.po: Likewise.
70045 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70047         * resolv/nss_dns/dns-host.c: Merge copyright years.
70049 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70051         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70052         Optimize memcpy with prefetch if
70053         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70054         src, dst pointers have unequal 16 byte alignments.
70056 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70058         [BZ #13928]
70059         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70060         from a CNAME entry and return the minimum ttl for the query.
70061         (gaih_getanswer_slice): Likewise.
70063 2012-03-30  Jeff Law  <law@redhat.com>
70065         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70066         due to long keys.
70067         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70068         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70070         * resolv/nss_dns/dns-host.c: Update copyright year.
70072 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70074         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70075         requests to save a system call.  Fix check that all bytes are sent.
70077         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70078         comments for sendmmsg.
70080 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70082         [BZ #13691]
70083         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70084         with only 1 character between 0x0041 and 0x01b0.
70085         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70086         * wcsmbs/tst-mbsnrtowcs.c: New file.
70088 2012-03-29  David S. Miller  <davem@davemloft.net>
70090         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70091         small copies by hand.
70093 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70095         [BZ #13761]
70096         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70097         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70098         group memberships.
70100 2012-03-28  David S. Miller  <davem@davemloft.net>
70102         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70103         that branches into memcpy.
70104         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70105         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70106         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70107         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70108         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70109         bits.
70110         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70111         implementation too.
70112         * sysdeps/sparc/mempcpy.S: New file.
70114         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70115         the IFUNC routine in the libc case.
70116         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70118         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70119         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70120         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70121         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70122         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70123         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70124         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70125         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70127         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70128         loop to 256 bytes instead of 64 bytes and fix test signedness.
70130         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70131         * sysdeps/sparc/sparc32/Makefile: rather than here...
70132         * sysdeps/sparc/sparc64/Makefile: and here.
70134 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70136         * malloc/mallocbug.c: Avoid warnings about unused variables.
70138 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70140         [BZ #13760]
70141         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70142         in the right place. Discard and retry query if response is
70143         larger than input buffer size.
70145 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70147         [BZ #369]
70148         [BZ #2678]
70149         [BZ #3866]
70150         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70151         x for large integer exponent.
70152         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70153         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70154         sign of result as needed afterwards.
70155         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70156         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70157         result for underflowing pow the same as for overflow.
70158         (__kernel_standard_l): Handle powl overflow and underflow here
70159         rather than calling __kernel_standard.
70160         * math/libm-test.inc (pow_test): Add more tests.
70162         [BZ #3868]
70163         [BZ #13879]
70164         [BZ #13910]
70165         [BZ #13911]
70166         [BZ #13912]
70167         [BZ #13913]
70168         [BZ #13915]
70169         [BZ #13916]
70170         [BZ #13917]
70171         [BZ #13918]
70172         [BZ #13919]
70173         [BZ #13920]
70174         [BZ #13921]
70175         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70176         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70177         (__kernel_standard_l): New function.
70178         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70179         __kernel_standard.
70180         * math/w_acosl.c (__acosl): Likewise.
70181         * math/w_asinl.c (__asinl): Likewise.
70182         * math/w_atan2l.c (__atan2l): Likewise.
70183         * math/w_atanhl.c (__atanhl): Likewise.
70184         * math/w_coshl.c (__coshl): Likewise.
70185         * math/w_exp10l.c (__exp10l): Likewise.
70186         * math/w_exp2l.c (__exp2l): Likewise.
70187         * math/w_fmodl.c (__fmodl): Likewise.
70188         * math/w_hypotl.c (__hypotl): Likewise.
70189         * math/w_j0l.c (__j0l, __y0l): Likewise.
70190         * math/w_j1l.c (__j1l, __y1l): Likewise.
70191         * math/w_jnl.c (__jnl, __ynl): Likewise.
70192         * math/w_lgammal.c (__lgammal): Likewise.
70193         * math/w_log10l.c (__log10l): Likewise.
70194         * math/w_log2l.c (__log2l): Likewise.
70195         * math/w_logl.c (__logl): Likewise.
70196         * math/w_powl.c (__powl): Likewise.
70197         * math/w_remainderl.c (__remainderl): Likewise.
70198         * math/w_scalbl.c (sysv_scalbl): Likewise.
70199         * math/w_sinhl.c (__sinhl): Likewise.
70200         * math/w_sqrtl.c (__sqrtl): Likewise.
70201         * math/w_tgammal.c (__tgammal): Likewise.
70202         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70203         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70204         * math/libm-test.inc (acos_test): Add more tests.
70205         (acosh_test): Likewise.
70206         (asin_test): Likewise.
70207         (atanh_test): Likewise.
70208         (exp_test): Likewise.
70209         (exp10_test): Likewise.
70210         (exp2_test): Likewise.
70211         (expm1_test): Likewise.
70212         (lgamma_test): Likewise.
70213         (log_test): Likewise.
70214         (log10_test): Likewise.
70215         (log1p_test): Likewise.
70216         (log2_test): Likewise.
70217         (pow_test): Do not allow some spurious overflow exceptions.
70218         (sqrt_test): Add more tests.
70219         (tgamma_test): Likewise.
70220         (y0_test): Likewise.
70221         (y1_test): Likewise.
70222         (yn_test): Likewise.
70224 2012-03-27  Anton Blanchard  <anton@samba.org>
70226         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70227         MAP_HUGETLB.
70228         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70229         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70230         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70232 2012-03-27  David S. Miller  <davem@davemloft.net>
70234         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70236         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70237         have-as-vis3 check.
70239 2012-03-27  Andreas Jaeger  <aj@suse.de>
70241         * sysdeps/x86_64/elf/configure.in: Moved to ...
70242         * sysdeps/x86_64/configure.in: ... here.
70243         * sysdeps/x86_64/elf/start.S: Moved to ...
70244         * sysdeps/x86_64/start.S: ... here.
70245         * sysdeps/x86_64/elf/configure: Delete.
70247         * sysdeps/x86_64/configure.in: Merge contents from
70248         sysdeps/i386/configure.in (without i686 check).
70250         * sysdeps/i386/elf/Versions: Merge into ...
70251         * sysdeps/i386/Versions: ... this.
70252         * sysdeps/i386/elf/Versions: Delete file.
70253         * sysdeps/i386/elf/start.S: Moved to ...
70254         * sysdeps/i386/start.S: ...here.
70255         * sysdeps/i386/elf/configure.in: Merge into...
70256         * sysdeps/i386/configure.in: ...here.
70257         * sysdeps/i386/elf/configure.in: Delete file.
70258         * sysdeps/i386/elf/configure: Delete file.
70260         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70261         * debug/backtracesyms.c: ... here.
70262         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70263         * debug/backtracesymsfd.c: ... here.
70264         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70265         * sysdeps/generic/ifunc-sel.h: ... here.
70267         * sysdeps/unix/i386/start.c: Delete file.
70268         * sysdeps/unix/sparc/start.c: Delete file.
70269         * sysdeps/unix/start.c: Delete file.
70271         * sysdeps/sh/elf/configure.in: Moved to ...
70272         * sysdeps/sh/configure.in: ... here.
70273         * sysdeps/sh/elf/start.S: Moved to ...
70274         * sysdeps/sh/start.S: ... here.
70275         * sysdeps/sh/elf/configure: Delete file.
70277         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70278         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70279         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70280         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70281         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70282         * sysdeps/powerpc/powerpc64/start.S: here.
70283         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70284         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70285         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70286         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70287         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70289         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70290         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70291         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70292         * sysdeps/powerpc/powerpc32/start.S: ... here.
70293         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70294         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70295         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70297         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70298         * sysdeps/powerpc/ifunc-sel.h: ... here.
70299         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70300         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70302         * sysdeps/sparc/elf/configure.in: Moved to ...
70303         * sysdeps/sparc/configure.in: ... here.
70304         * sysdeps/sparc/elf/configure: Delete file.
70305         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70306         * sysdeps/sparc/sparc32/start.S: ... here.
70307         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70308         * sysdeps/sparc/sparc64/start.S: ... here.
70309         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70310         * sysdeps/sparc/sparc32/Makefile: ... this.
70311         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70312         * sysdeps/sparc/sparc64/Makefile: ... this.
70314         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70315         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70316         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70317         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70318         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70319         * sysdeps/s390/s390-32/setjmp.S: ... here.
70320         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70321         * sysdeps/s390/s390-32/configure.in: ... here.
70322         * sysdeps/s390/s390-32/elf/configure: Delete file.
70323         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70324         * sysdeps/s390/s390-32/start.S: ... here.
70326         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70327         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70328         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70329         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70330         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70331         * sysdeps/s390/s390-64/setjmp.S: ... here.
70332         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70333         * sysdeps/s390/s390-64/configure.in: ... here
70334         * sysdeps/s390/s390-64/elf/configure: Delete file.
70335         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70336         * sysdeps/s390/s390-64/start.S: ... here.
70337         * sysdeps/s390/s390-64/elf/configure: Delete.
70339         * configure.in: Remove support for elf directories in sysdeps.
70341         * configure: Regenerated.
70342         * sysdeps/i386/configure: Regenerated.
70343         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70344         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70345         * sysdeps/s390/s390-32/configure: Regenerated.
70346         * sysdeps/s390/s390-64/configure: Regenerated.
70347         * sysdeps/sh/configure: Regenerated.
70348         * sysdeps/sparc/configure: Regenerated.
70349         * sysdeps/x86_64/configure: Regenerated.
70351 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70355         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70356         denormal result into account.
70358 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70360         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70361         Reported by Allan McRae <allan@archlinux.org>.
70363 2012-03-23  Jeff Law  <law@redhat.com>
70365         * nss/getnssent.c (__nss_getent): Fix typo.
70367 2012-03-23  David S. Miller  <davem@davemloft.net>
70369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70371 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70373         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70374         to pad to uint64_t for each field.
70375         (dl_tls_index): Replace unsigned long with uint64_t.
70377 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70378         Paul Pluzhnikov  <ppluzhnikov@google.com>
70380         [BZ #6528]
70381         * grp/Makefile (otherlibs): Don't set it.
70382         * inet/Makefile (otherlibs): Likewise.
70383         * login/Makefile (otherlibs): Likewise.
70384         * nscd/Makefile (otherlibs): Likewise.
70385         * posix/Makefile (otherlibs): Likewise.
70386         * pwd/Makefile (otherlibs): Likewise.
70387         * rt/Makefile (otherlibs): Likewise.
70388         * sunrpc/Makefile (otherlibs): Likewise.
70389         * nss/Makefile (otherlibs): Likewise.
70390         Add libnss_files to routines and static-only-routines.
70391         ($(objpfx)getent): Remove rule.
70392         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70393         static-only-routines.
70395 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70397         [BZ #13892]
70398         * math/s_cexp.c: Include <float.h>.
70399         (__cexp): Handle exp result overflowing not necessarily
70400         overflowing both real and imaginary parts of result.
70401         * math/s_cexpf.c: Likewise.
70402         * math/s_cexpl.c: Likewise.
70403         * math/libm-test.inc (cexp_test): Add more tests.
70404         * sysdeps/i386/fpu/libm-test-ulps: Update.
70405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70407 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70409         * include/link.h (ELFW): New macro.
70410         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70411         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70413 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70415         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70416         with uint64_t.
70418 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70420         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70421         declaration.
70422         (struct La_x32_retval): Likewise.
70424 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70426         * sysdeps/x86_64/preconfigure.in: New file.
70427         * sysdeps/x86_64/preconfigure: New generated file.
70429 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70431         [BZ #13824]
70432         * math/e_exp2l.c: Include <float.h>.
70433         (__ieee754_exp2l): Handle overflow and underflow cases
70434         separately.  Only pass fractional part of argument to
70435         __ieee754_expl.
70436         * math/libm-test.inc (exp2_test): Add more tests.
70438         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70439         negating x to take absolute value.
70440         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70441         Likewise.
70442         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70443         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70444         Likewise.
70445         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70446         computing low part if x was negated.
70447         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70449 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70451         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70452         la_x32_gnu_pltexit.
70453         (pltexit): Cast int_retval to ptrdiff_t.
70454         * elf/tst-auditmod3b.c: Likewise.
70455         * elf/tst-auditmod4b.c: Likewise.
70456         * elf/tst-auditmod5b.c: Likewise.
70457         * elf/tst-auditmod6b.c: Likewise.
70458         * elf/tst-auditmod6c.c: Likewise.
70459         * elf/tst-auditmod7b.c: Likewise.
70461         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70462         and x32_gnu_pltexit.
70464         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70465         __ELF_NATIVE_CLASS.
70466         (La_x32_regs): New macro.
70467         (La_x32_retval): Likewise.
70468         (la_x32_gnu_pltenter): New function prototype.
70469         (la_x32_gnu_pltexit): Likewise.
70471 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70473         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70474         exponent.
70476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70478         * configure.in (libc_cv_cc_nofma): Check for option to disable
70479         generation of FMA instructions.
70480         * configure: Regenerate.
70481         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70482         * sysdeps/ieee754/dbl-64/Makefile: New file.
70483         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70484         Remove brandred-fma4.
70485         (CFLAGS-brandred-fma4.c): Remove.
70486         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70487         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70488         define.
70489         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70490         define.
70492 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70494         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70495         LLONG_MAX != LONG_MAX.
70496         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70497         (_fitoa_word): Likewise.
70498         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70499         LLONG_MAX != LONG_MAX.
70500         * stdio-common/_itowa.h: Include <_itoa.h>.
70501         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70502         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70503         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70504         only if not defined.
70505         (_ITOA_WORD_TYPE): Likewise.
70506         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70507         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70509 2012-03-21  David S. Miller  <davem@davemloft.net>
70511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70513 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70515         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70516         of x86_64 when setting libc_cv_slibdir, libdir and
70517         libc_cv_localedir.
70518         * sysdeps/unix/sysv/linux/configure: Regenerated.
70520 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70522         * manual/lang.texi (Old Varargs): Remove section.
70523         (How Variadic): Update menu.
70524         (va_start): Do not mention varargs.h.
70526 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70527             Joseph Myers  <joseph@codesourcery.com>
70529         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70530         link test.
70531         * configure: Regenerated.
70533 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70535         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
70536         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
70537         conformtest.pl
70539 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70541         * NOTES: Remove.
70542         * Makefile (files-for-dist): Remove NOTES.
70543         (NOTES): Remove rule.
70544         * README: Don't refer to NOTES.
70545         * manual/creature.texi: Don't include macros.texi.
70546         * manual/intro.texi (creature.texi): Remove comment referring to
70547         NOTES.
70549         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
70550         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
70551         * configure: Regenerated.
70552         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
70553         LIBC_TRY_CC_OPTION.
70554         (libc_cv_as_i686): Likewise.
70555         (libc_cv_cc_avx): Likewise.
70556         (libc_cv_cc_sse2avx): Likewise.
70557         (libc_cv_cc_fma4): Likewise.
70558         (libc_cv_cc_novzeroupper): Likewise.
70559         * sysdeps/i386/configure: Regenerated.
70561         [BZ #13883]
70562         * sysdeps/i386/fpu/s_cexp.S: Remove.
70563         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70564         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70565         * math/libm-test.inc (cexp_test): Add more tests.
70566         * sysdeps/i386/fpu/libm-test-ulps: Update.
70567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70569 2012-03-21  Allan McRae  <allan@archlinux.org>
70571         * timezone/Makefile: Do not install iso3166.tab and zone.tab
70573 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70575         [BZ #13871]
70576         * math/w_exp2.c: Do not include <float.h>.
70577         (o_threshold, u_threshold): Remove.
70578         (__exp2): Calculate result before checking finiteness and calling
70579         __kernel_standard.
70580         * math/w_exp2f.c: Likewise.
70581         * math/w_exp2l.c: Likewise.
70582         * math/libm-test.inc (exp2_test): Require overflow exception for
70583         1e6 input.
70585         [BZ #3866]
70586         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
70587         range of signed 64-bit integers before using fistpll.  Remove
70588         checks for whether integers fit in mantissa bits.
70589         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
70590         the range of signed 32-bit integers before using fistpl.  Remove
70591         checks for whether integers fit in mantissa bits.
70592         * sysdeps/i386/fpu/e_powl.S (p64): New object.
70593         (__ieee754_powl): Test for y outside the range of signed 64-bit
70594         integers before using fistpll.  Reduce 64-bit values to 63-bit
70595         ones as needed.
70596         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
70597         divide-by-zero is raised for zero to large negative powers.
70598         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
70599         (__ieee754_powl): Test for y outside the range of signed 64-bit
70600         integers before using fistpll.  Reduce 64-bit values to 63-bit
70601         ones as needed.
70602         * math/libm-test.inc (pow_test): Add more tests.
70604 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70606         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
70607         <stdio-common/_itoa.h>.
70608         * debug/segfault.c: Likewise.
70609         * elf/dl-cache.c: Likewise.
70610         * elf/dl-minimal.c: Likewise.
70611         * elf/dl-misc.c: Likewise.
70612         * elf/dl-sysdep.c: Likewise.
70613         * elf/dl-version.c: Likewise.
70614         * elf/rtld.c: Likewise.
70615         * hurd/hurdsock.c: Likewise.
70616         * hurd/lookup-retry.c: Likewise.
70617         * malloc/malloc.c: Likewise.
70618         * malloc/mtrace.c: Likewise.
70619         * nscd/nscd_getgr_r.c: Likewise.
70620         * nscd/nscd_getpw_r.c: Likewise.
70621         * nscd/nscd_getserv_r.c: Likewise.
70622         * posix/getopt_init.c: Likewise.
70623         * posix/wordexp.c: Likewise.
70624         * stdio-common/_itoa.c: Likewise.
70625         * stdio-common/printf_fphex.c: Likewise.
70626         * stdio-common/vfprintf.c: Likewise.
70627         * string/_strerror.c: Likewise.
70628         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
70629         * sysdeps/i386/i686/hp-timing.h: Likewise.
70630         * sysdeps/mach/_strerror.c: Likewise.
70631         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
70632         * sysdeps/mach/hurd/sethostid.c: Likewise.
70633         * sysdeps/mach/hurd/xmknodat.c: Likewise.
70634         * sysdeps/mach/xpg-strerror.c: Likewise.
70635         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
70636         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
70637         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
70638         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
70639         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
70640         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
70641         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
70642         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
70643         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
70644         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
70645         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
70646         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
70647         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
70648         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
70649         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
70650         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
70651         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
70652         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
70653         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
70654         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
70655         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
70657         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
70659         * stdio-common/_itoa.h: Moved to ...
70660         * sysdeps/generic/_itoa.h: Here.
70662         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
70664         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
70665         instead of "_itoa.h" and "_itowa.h".
70666         * stdio-common/vfprintf.: Likewise.
70668 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70670         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
70671         <bits/wordsize.h>.
70672         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
70673         (__signbit): Likwise.
70674         (llrintf): Likwise.
70675         (llrint): Likwise.
70677 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
70679         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
70680         __WORDSIZE != 64.
70682 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
70684         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
70685         OVERFLOW_EXCEPTION_OK.
70686         * math/libm-test.inc ("Philosophy"): Update comment about
70687         exception testing.
70688         (OVERFLOW_EXCEPTION): Define.
70689         (OVERFLOW_EXCEPTION_OK): Likewise.
70690         (INVALID_EXCEPTION_OK): Renumber.
70691         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70692         (IGNORE_ZERO_INF_SIGN): Likewise.
70693         (test_exceptions): Handle FE_OVERFLOW.
70694         (exp10_test): Expect overflow exceptions.
70695         (exp2_test): Likewise.
70696         (expm1_test): Likewise.
70697         (nextafter_test): Likewise.
70698         (pow_test): Likewise.
70699         (scalbn_test): Likewise.
70700         (scalbln_test): Likewise.
70702 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70704         * sysdeps/x86_64/bits/atomic.h
70705         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
70706         64bit integer.
70707         (atomic_exchange_acq): Likewise.
70708         (__arch_exchange_and_add_body): Likewise.
70709         (__arch_add_body): Likewise.
70710         (atomic_add_negative): Likewise.
70711         (atomic_add_zero): Likewise.
70713 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70715         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
70716         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
70718 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70720         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
70721         Check __x86_64__ instead of __WORDSIZE.
70723 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70725         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
70727 2012-03-19  David S. Miller  <davem@davemloft.net>
70729         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70731         * sysdeps/sparc/fpu/fenv_private.h: New file.
70732         * sysdeps/sparc/fpu/math_private.h: Use it.
70733         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
70734         Remove.
70735         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
70736         (libc_feholdexcept_setroundl): Remove.
70737         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
70738         Remove.
70739         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
70740         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
70742 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70744         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
70745         int64_t instead of long int.
70746         (INSERT_WORDS64): Likwise.
70748 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
70750         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
70751         _Unwind_GetCFA return to _Unwind_Ptr first.
70753 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
70755         [BZ #13629]
70756         * math/s_clog.c: Include <float.h>.
70757         (__clog): Scale large or subnormal inputs.
70758         * math/s_clogf.c: Likewise.
70759         * math/s_clogl.c: Likewise.
70760         * math/s_clog10.c: Include <float.h>.
70761         (M_LOG10_2): Define.
70762         (__clog10): Scale large or subnormal inputs.
70763         * math/s_clog10f.c: Likewise.
70764         * math/s_clog10l.c: Likewise.
70765         * math/libm-test.inc (clog_test): Add more tests.
70766         (clog10_test): Likewise.
70767         * sysdeps/i386/fpu/libm-test-ulps: Update.
70768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70770         [BZ #11451]
70771         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
70772         x and y.
70773         * math/libm-test.inc (atan2_test): Add another test.
70775         * Makerules (common-objdir-compile): Remove.
70776         * sysdeps/unix/Makefile (config-generated): Do not add
70777         $(unix-generated) to variable.
70778         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
70779         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
70780         Remove rule.
70781         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
70782         Likewise.
70783         [generic bits/local_lim.h] (before-compile): Do not append to
70784         variable.
70785         [generic bits/local_lim.h] (common-generated): Likewise.
70786         [generic sys/param.h] (before-compile): Do not append to variable.
70787         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
70788         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
70789         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
70790         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
70791         include.
70792         [generic sys/param.h] (sys/param.h-includes): Remove variable.
70793         [generic sys/param.h] (sys/param.h-includes): Remove rule.
70794         [generic sys/param.h] ($(addprefix
70795         $(common-objpfx),$(sys/param.h-includes))): Likewise.
70796         [generic sys/param.h] (common-generated): Do not append to
70797         variable.
70798         [generic sys/param.h] (sysdep_headers): Likewise.
70799         [generic bits/errno.h] (before-compile): Do not append to
70800         variable.
70801         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
70802         rule.
70803         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
70804         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
70805         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
70806         [generic bits/errno.h] (common-generated): Do not append to
70807         variable.
70808         [generic bits/ioctls.h] (before-compile): Do not append to
70809         variable.
70810         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
70811         rule.
70812         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
70813         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
70814         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
70815         rule.
70816         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
70817         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
70818         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
70819         [generic bits/ioctls.h] (common-generated): Do not append to
70820         variable.
70821         [generic sys/syscall.h] (syscall.h): Remove variable.
70822         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
70823         rule.
70824         [generic sys/syscall.h] (before-compile): Do not append to
70825         variable.
70826         [generic sys/syscall.h] (common-generated): Likewise.
70827         * sysdeps/unix/errnos-tmpl.c: Remove file.
70828         * sysdeps/unix/errnos.awk: Likewise.
70829         * sysdeps/unix/ioctls-tmpl.c: Likewise.
70830         * sysdeps/unix/ioctls.awk: Likewise.
70831         * sysdeps/unix/mk-local_lim.c: Likewise.
70832         * sysdeps/unix/snarf-ioctls: Likewise.
70834 2012-03-19  Richard Henderson  <rth@twiddle.net>
70836         * sysdeps/i386/fpu/fenv_private.h: New file.
70837         * sysdeps/i386/fpu/math_private.h: Use it.
70838         (math_opt_barrier, math_force_eval): Remove.
70839         (libc_feholdexcept_setround_53bit): Remove.
70840         (libc_feupdateenv_53bit): Remove.
70841         * sysdeps/x86_64/fpu/math_private.h: Likewise.
70842         (math_opt_barrier, math_force_eval): Remove.
70843         (libc_feholdexcept): Remove.
70844         (libc_feholdexcept_setround): Remove.
70845         (libc_fetestexcept, libc_fesetenv): Remove.
70846         (libc_feupdateenv_test): Remove.
70847         (libc_feupdateenv, libc_feholdsetround): Remove.
70848         (libc_feresetround): Remove.
70850         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
70851         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
70853         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
70854         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
70855         (libc_feupdateenv_testl): New.
70856         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
70857         (libc_feupdateenv_testf): New.
70858         (libc_feupdateenv): Use libc_feupdateenv_test.
70859         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
70860         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
70862         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
70863         (libc_feholdsetroundf, libc_feholdsetroundl): New.
70864         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
70865         (libc_feresetround_noex): New.
70866         (libc_feresetround_noexf): New.
70867         (libc_feresetround_noexl): New.
70868         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
70869         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
70870         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
70871         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
70872         SET_RESTORE_ROUND.
70873         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
70874         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
70875         (__cos): Likewise.
70876         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
70877         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
70878         SET_RESTORE_ROUND_NOEX.
70879         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
70880         SET_RESTORE_ROUND_NOEXF.
70881         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
70882         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
70883         (libc_feholdsetroundf): New.
70884         (libc_feresetround, libc_feresetroundf): New.
70886         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
70887         (libc_feholdexcept_setround_53bit): Convert from macro to function.
70888         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
70890         * sysdeps/generic/math_private.h: Include <fenv.h>.
70891         (default_libc_feholdexcept): New.
70892         (default_libc_feholdexcept_setround): New.
70893         (default_libc_fesetenv, default_libc_feupdateenv): New.
70894         (libc_feholdexcept): Only define if undefined.
70895         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
70896         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
70897         (libc_feholdexcept_setroundl): Likewise.
70898         (libc_feholdexcept_setround_53bit): Likewise.
70899         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
70900         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
70901         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
70902         (libc_feupdateenv_53bit): Likewise.
70903         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
70904         (libc_feholdexcept): Convert from macro to inline function.
70905         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
70906         (libc_fesetenv, libc_feupdateenv): Likewise.
70908         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
70909         not previously defined.
70910         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
70911         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
70912         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
70913         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
70914         * sysdeps/ieee754/flt-32/math_private.h: New file.
70915         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
70916         math_private.h below SET_FLOAT_WORD.
70917         (__isnan, __isinf_ns, __finite): Remove.
70918         (__isnanf, __isinf_nsf, __finitef): Remove.
70920 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
70922         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70924 2012-03-17  David S. Miller  <davem@davemloft.net>
70926         [BZ #6471]
70927         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
70928         for 2.16.
70930 2012-03-16  David S. Miller  <davem@davemloft.net>
70932         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
70933         warnings.
70935         [BZ #6471]
70936         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
70937         properly.
70938         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
70939         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
70940         sysdep_routines when subdir is sysvipc.
70941         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
70942         __getshmlba helper.
70944         * sysdeps/sparc/fpu/libm-test/ulps: Update.
70946 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70948         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
70949         [__LP64__].
70951 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70953         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
70954         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
70955         (__lround): Renamed to ...
70956         (__llround): This.  Replace long int with long long int.
70957         Define lround functions as aliases of llround functions.
70958         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
70960 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70962         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
70963         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
70964         adresses to uintptr_t.  Replace "long int" and "unsigned long
70965         int" with "greg_t" on va_arg.
70967 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
70969         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
70970         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
70972         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
70973         Move e_machine check before EI_CLASS check.  Handle x32
70974         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
70975         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
70976         SKIP_EM_IA_64 and include
70977         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
70979         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
70980         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
70981         (add_system_dir): New macro.
70983         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
70984         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
70986 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
70988         [BZ #2551]
70989         [BZ #2552]
70990         [BZ #2553]
70991         [BZ #2554]
70992         [BZ #2562]
70993         [BZ #2563]
70994         [BZ #2565]
70995         [BZ #2566]
70996         [BZ #2576]
70997         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
70998         (y0): Likewise.
70999         * math/w_j0f.c (j0f): Likewise.
71000         (y0f): Likewise.
71001         * math/w_j0l.c (__j0l): Likewise.
71002         (__y0l): Likewise.
71003         * math/w_j1.c (j1): Likewise.
71004         (y1): Likewise.
71005         * math/w_j1f.c (j1f): Likewise.
71006         (y1f): Likewise.
71007         * math/w_j1l.c (__j1l): Likewise.
71008         (__y1l): Likewise.
71009         * math/w_jn.c (jn): Likewise.
71010         (yn): Likewise.
71011         * math/w_jnf.c (jnf): Likewise.
71012         (ynf): Likewise.
71013         * math/w_jnl.c (__jnl): Likewise.
71014         (__ynl): Likewise.
71015         * math/libm-test.inc (j0_test): Add more tests.
71016         (j1_test): Likewise.
71017         (jn_test): Likewise.  Add trailing semicolon to existing test.
71018         (y0_test): Likewise.
71019         (y1_test): Likewise.
71020         * sysdeps/i386/fpu/libm-test-ulps: Update.
71021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71023         [BZ #13851]
71024         [BZ #13854]
71025         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71026         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71027         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71028         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71029         (__tanl): Set errno for infinite argument.
71030         * sysdeps/i386/fpu/mptan.c: Remove.
71031         * sysdeps/i386/fpu/s_tan.S: Likewise.
71032         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71033         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71034         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71035         * math/libm-test.inc (tan_test): Add more tests and enable more
71036         tests for double and long double.
71037         * sysdeps/i386/fpu/libm-test-ulps: Update.
71038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71040 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71042         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71043         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71045 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71047         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71048         * configure.in: Use it for both main tree and add-ons.
71049         * configure: Regenerated.
71051 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71053         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71055 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71057         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71058         in comment.
71060         [BZ #13851]
71061         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71062         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71063         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71064         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71065         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71066         infinite argument.
71067         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71068         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71069         != 0 for prec == 2.
71070         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71071         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71072         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71073         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71074         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71075         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71076         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71077         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71078         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71079         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71080         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71081         * math/libm-test.inc (cos_test): Add more tests and enable more
71082         tests for long double.
71083         (sin_test): Likewise.
71084         (sincos_test): Likewise.
71085         * sysdeps/i386/fpu/libm-test-ulps: Update.
71086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71088 2012-03-16  David S. Miller  <davem@davemloft.net>
71090         * sysdeps/sparc/fpu/math_private.h: New file.
71092 2012-03-15  David S. Miller  <davem@davemloft.net>
71094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71095         file.
71096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71098         file.
71099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71103         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71104         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71105         sysdep routines.
71106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71108         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71109         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71111         * sysdeps/sparc/sparc-ifunc.h: New file.
71112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71113         sparc-ifunc.h
71114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71116         Likewise.
71117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71118         Likewise.
71119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71123         Likewise.
71124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71129         Likewise.
71130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71131         Likewise.
71132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71136         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71138         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71139         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71150         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71151         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71152         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71153         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71154         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71155         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71157 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71159         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71160         scaling.
71161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71163 2012-03-15  Andreas Jaeger  <aj@suse.de>
71165         [BZ #13852]
71166         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71167         ieee754/flt-32 implementation for sin, cos and sincos.
71168         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71169         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71170         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71171         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71172         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71173         ieee754/flt-32 implementation for tan.
71175         * math/libm-test.inc (cos_test): Enable some large input tests for
71176         float as well
71177         (sin_test): Likewise.
71178         (sincos_test): Likewise.
71179         (tan_test): Add tests for large input.
71181         * sysdeps/i386/fpu/libm-test-ulps: Update.
71183 2012-03-15  Andreas Jaeger  <aj@suse.de>
71185         [BZ #13658]
71186         * math/libm-test.inc (cos_test): Add more test cases.
71187         (sin_test): Likewise.
71188         (sincos_test): Likewise.
71190 2012-03-15  Andreas Jaeger  <aj@suse.de>
71192         [BZ #13837]
71193         * math/libm-test.inc (cos_test): Add a test case for large input
71194         value.
71195         (sin_test): Likewise.
71196         (sincos_test): Likewise.
71198 2012-03-15  Andreas Jaeger  <aj@suse.de>
71199             Joseph Myers  <joseph@codesourcery.com>
71201         [BZ #13658]
71202         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71203         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71204         * sysdeps/i386/fpu/branred.c: Likewise.
71205         * sysdeps/i386/fpu/dosincos.c: Likewise.
71206         * sysdeps/i386/fpu/mpa.c: Likewise.
71207         * sysdeps/i386/fpu/s_cos.S: Likewise.
71208         * sysdeps/i386/fpu/s_sin.S: Likewise.
71209         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71210         * sysdeps/i386/fpu/sincos32.c: Likewise.
71212         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71213         Define.
71214         (libc_feupdateenv_53bit): Define.
71215         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71216         Define.
71217         (libc_feupdateenv_53bit): Define.
71219         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71220         53 bit (without extend i386 double precision).
71222         * math/libm-test.inc (sincos_test): Add tests for large input.
71223         (sin): Likewise.
71224         (cos): Likewise.
71226         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71228 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71232 2012-03-15  David S. Miller  <davem@davemloft.net>
71234         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71235         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71236         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71237         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71245         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71246         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71250         file.
71251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71253         file.
71254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71256         file.
71257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71259         file.
71260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71261         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71262         fmin/fmax sysdep routines.
71263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71265 2012-03-14  David S. Miller  <davem@davemloft.net>
71267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71269         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71270         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71271         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71272         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71273         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71274         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71275         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71277         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71278         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71279         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71280         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71281         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71282         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71283         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71287         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71288         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71289         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71290         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71293         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71294         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71295         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71296         routines.
71297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71298         file.
71299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71301         file.
71302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71304         file.
71305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71307         file.
71308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71310         file.
71311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71313         file.
71314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71315         file.
71316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71317         file.
71318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71319         file.
71320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71321         New file.
71322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71323         file.
71324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71325         file.
71326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71328         file.
71329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71331         file.
71332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71334         file.
71335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71337         VIS3 routines.
71339         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71340         New file.
71342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71344         * sysdeps/sparc/configure.in: New file.
71345         * sysdeps/sparc/configure: Generate.
71346         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71347         * configure: Regenerate.
71348         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71349         * config.make.in (have-as-vis3): New.
71350         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71351         available use -Av9d instead of -Av9a.
71352         * sysdeps/sparc/sparc64/Makefile: Likewise.
71353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71355         New file.
71356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71357         file.
71358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71359         New file.
71360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71361         file.
71362         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71363         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71364         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71365         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71366         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71368         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71369         fzeros/fnegs to load 0x80000000 into a float register instead of
71370         using the stack.
71371         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71373 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71376         bits/syscall.h.
71377         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71378         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71379         ($(inst_includedir)/bits/syscall.h): Remove rule.
71380         ($(objpfx)bits/syscall.d): Include instead of
71381         $(objpfx)syscall-list.d.
71382         (generated): Change syscall-list.h and syscall-list.d to
71383         bits/syscall.h and bits/syscall.d.
71385 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71387         [BZ #13846]
71388         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71390 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71392         [BZ #13841]
71393         * math/s_csqrt.c: Include <float.h>.
71394         (__csqrt): Scale large or subnormal inputs.
71395         * math/s_csqrtf.c: Likewise.
71396         * math/s_csqrtl.c: Likewise.
71397         * math/libm-test.inc (csqrt_test): Add more tests.
71398         * sysdeps/i386/fpu/libm-test-ulps: Update.
71399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71401         [BZ #13840]
71402         * math/libm-test.inc (hypot_test): Add more tests.
71404 2012-03-13  David S. Miller  <davem@davemloft.net>
71406         [BZ #13840]
71407         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71408         double-precision for the calculation instead of scaling.
71410 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71412         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71413         manipulate bits before adding and subtracting TWO52[sx].
71414         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71415         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71416         Likewise.
71417         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71419 2012-03-13  David S. Miller  <davem@davemloft.net>
71421         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71422         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71423         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71424         rtld-global-offsets.h
71425         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71427         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71428         large parameters.
71430         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71432         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71433         'err' in the ifdef scope in which it is actually used.
71435         * nss/nss_db/db-init.c: Include string.h
71437 2012-03-12  David S. Miller  <davem@davemloft.net>
71439         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71440         masking out of the most significant byte of random value used.
71441         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71442         Fix coding style in previous change.
71444         * sysdeps/unix/sysv/linux/kernel-features.h
71445         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71446         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71447         expression.
71448         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71449         later.
71451 2012-03-11  David S. Miller  <davem@davemloft.net>
71453         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71454         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71455         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71456         for 'resultvar' otherwise things get truncated on 64-bit.
71458         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71459         Fix masking out of the most significant byte of random value used.
71461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71463 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71467 2012-03-09  David S. Miller  <davem@davemloft.net>
71469         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71470         variables with appropriate CPP guards.
71471         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71472         from the frame pointer, not the stack pointer.  Correct layout
71473         comments.  Fix test on resulting framesize and the management of
71474         the outregs buffer for pltexit.  Preserve floating point return
71475         values across _dl_call_pltexit call.
71476         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71477         framesize and the management of the outregs buffer for pltexit.
71478         Preserve floating point return values across _dl_call_pltexit
71479         call.
71480         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71481         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71482         (la_sparc64_gnu_pltexit): New functions.
71483         (print_exit): Fix format string for return register value.
71485 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71487         * sunrpc/Makefile (others): Add rpcgen.
71488         ($(objpfx)rpcgen): Remove special build rule and dependency on
71489         libc.
71490         * sunrpc/rpcgen.c: New file.
71492 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71494         [BZ #13673]
71495         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71496         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71497         * sysdeps/i386/crti.S: Likewise.
71498         * sysdeps/i386/crtn.S: Likewise.
71499         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71500         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71501         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71502         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71503         * sysdeps/sh/crti.S: Likewise.
71504         * sysdeps/sh/crtn.S: Likewise.
71505         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71507         [BZ #13673]
71508         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71509         with URL.
71510         * locale/programs/locfile-kw.gperf: Likewise.
71511         * locale/programs/charmap-kw.h: Regenerated.
71512         * locale/programs/locfile-kw.h: Likewise.
71514         [BZ #13673]
71515         * intl/plural.y: Replace FSF snail mail address with URL.
71516         * intl/plural.c: Regenerated.
71518 2012-03-09  Richard Henderson  <rth@twiddle.net>
71520         * include/math_private.h: Remove file.
71521         * math/math_private.h: Move file ...
71522         * sysdeps/generic/math_private.h: ... here.
71524         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71525         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71526         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71528         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71529         and <math_private.h>.
71530         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71531         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71532         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71533         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71534         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71535         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
71536         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
71537         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
71538         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
71539         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
71540         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
71541         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71542         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
71543         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
71544         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
71545         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
71546         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
71547         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
71548         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
71549         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
71550         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
71551         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
71552         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
71553         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
71554         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
71555         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
71556         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
71557         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
71558         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
71559         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71560         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
71561         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
71562         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
71563         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
71564         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71565         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71566         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
71567         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71568         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71569         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71570         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
71571         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71572         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71573         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
71574         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
71575         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71576         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
71577         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
71578         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
71579         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71580         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
71581         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
71582         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
71583         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71584         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
71585         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
71586         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
71587         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
71588         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
71589         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
71590         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
71591         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
71592         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
71593         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71594         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
71595         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
71596         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
71597         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
71598         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
71599         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
71600         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
71601         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
71602         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
71603         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
71604         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
71605         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
71606         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
71607         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71608         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
71609         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
71610         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
71611         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
71612         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
71613         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
71614         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
71615         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
71616         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
71617         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
71618         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
71619         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71620         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71621         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
71622         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71623         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
71624         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
71625         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
71626         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
71627         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
71628         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71629         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
71630         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
71631         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
71632         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
71633         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
71634         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71635         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
71636         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
71637         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
71638         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71639         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71640         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71641         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71642         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
71643         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71644         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
71645         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
71646         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71647         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71648         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71649         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
71650         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71651         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71652         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
71653         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
71654         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71655         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71656         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
71657         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
71658         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71659         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
71660         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
71661         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
71662         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71663         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
71664         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
71665         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71666         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
71667         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71668         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
71669         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
71670         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
71671         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71672         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71673         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
71674         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
71675         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71676         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71677         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71678         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
71679         * sysdeps/ieee754/k_standard.c: Likewise.
71680         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
71681         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
71682         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71683         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
71684         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
71685         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
71686         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
71687         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
71688         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
71689         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
71690         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71691         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
71692         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
71693         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
71694         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
71695         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
71696         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
71697         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
71698         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
71699         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
71700         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
71701         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
71702         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71703         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71704         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
71705         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
71706         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71707         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71708         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71709         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71710         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
71711         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71712         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71713         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71714         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
71715         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71716         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71717         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
71718         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
71719         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71720         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
71721         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
71722         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
71723         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71724         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
71725         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
71726         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71727         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71728         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71729         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71730         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71731         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
71732         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71733         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
71734         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71735         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71736         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
71737         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
71738         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71739         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71740         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71741         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
71742         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71743         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
71744         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71745         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71746         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
71747         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
71748         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
71749         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
71750         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
71751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71752         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
71753         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
71754         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
71755         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
71756         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
71757         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
71758         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
71759         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
71760         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
71761         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
71762         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71763         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71764         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
71765         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71766         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71767         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
71768         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
71769         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71770         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
71771         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71772         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
71773         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
71774         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71775         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71776         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
71777         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
71778         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
71779         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
71780         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71781         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71782         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71783         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71784         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
71785         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71786         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71787         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
71788         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
71789         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71790         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71791         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71792         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
71793         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71794         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
71795         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
71796         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
71797         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71798         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
71799         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
71800         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71801         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
71802         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
71803         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
71804         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71805         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
71806         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71807         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71808         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71809         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71810         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71811         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71812         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71813         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
71814         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71815         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71816         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
71817         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
71818         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71819         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
71820         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
71821         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71822         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
71823         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
71824         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71825         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71826         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71827         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71828         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71829         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
71830         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71831         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
71832         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71833         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71834         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
71835         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
71836         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71837         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71838         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71839         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
71840         * sysdeps/ieee754/s_lib_version.c: Likewise.
71841         * sysdeps/ieee754/s_matherr.c: Likewise.
71842         * sysdeps/ieee754/s_signgam.c: Likewise.
71843         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
71844         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
71845         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
71846         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
71847         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
71848         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
71849         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
71850         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
71851         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
71852         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
71853         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
71854         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
71855         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71856         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71857         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
71858         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
71859         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
71860         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
71861         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
71862         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71863         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71865 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71867         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
71868         * sunrpc/rpc_main.c: Likewise.
71869         * sunrpc/rpc_svcout.c: Likewise.
71871 2012-03-09  David S. Miller  <davem@davemloft.net>
71873         * include/math_private.h: New file.
71875 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
71877         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
71878         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
71879         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
71880         from <bits/socket_type.h>.
71881         (enum __socket_type): Don't define here.
71882         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
71883         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71884         bits/socket_type.h.
71886         [BZ #13566]
71887         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
71888         checking __USE_GNU.
71890         * Makerules ($(inst_includedir)/%.h): New rule.
71891         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
71892         (install-others): Remove variable setting.
71893         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
71895 2012-03-08  Richard Henderson  <rth@twiddle.net>
71897         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
71898         from macro to inline function; merge with the
71899         !__LIBC_INTERNAL_MATH_INLINES version.
71900         (__ieee754_sqrtf): Likewise.
71902         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
71903         to inline function.
71904         (__rintf, __floor, __floorf): Likewise.
71906         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
71907         macro to inline function.
71908         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
71910         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
71911         not <math/math_private.h>.
71913 2012-03-08  David S. Miller  <davem@davemloft.net>
71915         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
71916         copyright year.
71917         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
71919 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
71921         * resolv/gai_misc.c (handle_requests): Fix struct timespec
71922         normalization.
71923         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
71924         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
71926 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
71928         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
71929         be defined individually, they must be defined as a block.  Define
71930         S for printing a string instead of hidint the different by using a
71931         macro for adding the 'l'.
71932         * stdio-common/tst-fphex-wide.c: Adjust.
71934 2012-03-07  Marek Polacek  <polacek@redhat.com>
71936         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
71938 2012-03-08  Marek Polacek  <polacek@redhat.com>
71940         [BZ #13806]
71941         * stdio-common/Makefile (tests): Add tst-fphex-wide.
71942         * stdio-common/tst-fphex.c: Define a few macros to make the
71943         test reusable.  Use them.
71944         * stdio-common/tst-fphex-wide.c: New file.
71946 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
71948         [BZ #6911]
71949         * manual/macros.texi (gnusystems): New macro.
71950         (nongnusystems): Likewise.
71951         (gnulinuxhurdsystems): Likewise.
71952         (gnuhurdsystems): Likewise..
71953         (gnulinuxsystems): Likewise.
71954         * manual/charset.texi: Use new macros or @theglibc{} to refer to
71955         variants of the GNU system, not "GNU system".
71956         * manual/conf.texi: Likewise.
71957         * manual/errno.texi: Likewise.  Update example of errno macro
71958         expansion.
71959         * manual/filesys.texi: Likewise.
71960         (getumask): Document as specific to GNU/Hurd.
71961         * manual/install.texi: Likewise.  Reword some references to
71962         GNU/Linux.
71963         * manual/intro.texi: Likewise.
71964         * manual/io.texi: Likewise.
71965         (File Name Portability): Detail which constraints are inapplicable
71966         to all GNU systems and which are only inapplicable to GNU/Hurd.
71967         * manual/job.texi: Likewise.
71968         * manual/llio.texi: Likewise.
71969         (O_NOCTTY): Document as present on GNU/Linux.
71970         * manual/maint.texi: Likewise.
71971         * manual/memory.texi: Likewise.
71972         * manual/pattern.texi: Likewise.
71973         * manual/pipe.texi: Likewise.
71974         * manual/process.texi: Likewise.
71975         * manual/resource.texi: Likewise.
71976         (RUSAGE_CHILDREN): Remove statement about specifying a particular
71977         child on GNU/Hurd.
71978         * manual/setjmp.texi: Likewise.
71979         * manual/signal.texi: Likewise.
71980         * manual/startup.texi: Likewise.
71981         * manual/stdio.texi: Likewise.
71982         * manual/terminal.texi: Likewise.
71983         (ONLCR): Document as POSIX.
71984         (OXTABS): Document availability on GNU/Linux as XTABS.
71985         (ONOEOT): Document availability separately from other bits.
71986         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
71987         * manual/time.texi: Likewise.
71988         * manual/users.texi: Likewise.
71989         * INSTALL: Regenerated.
71990         * sysdeps/gnu/errlist.c: Regenerated.
71992         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
71993         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
71994         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
71995         puts.
71996         * configure: Regenerated.
71998 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
72000         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72001         default includes instead of AC_HEADER_CHECK.
72002         * sysdeps/i386/configure: Regenerated.
72004         [BZ #10716]
72005         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
72006         * math/s_cacoshf.c (__cacoshf): Likewise.
72007         * math/s_cacoshl.c (__cacoshl): Likewise.
72008         * math/s_casinh.c (__casinh): Set signs of result from argument.
72009         * math/s_casinhf.c (__casinhf): Likewise.
72010         * math/s_casinhl.c (__casinhl): Likewise.
72011         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72012         (casinh_test): Add more tests.
72013         * sysdeps/i386/fpu/libm-test-ulps: Update.
72014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72016 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72018         * po/zh_TW.po: Update from translation team.
72020         * login/Makefile (distribute): Remove variable.
72021         * catgets/Makefile: Likewise.
72022         * mach/Makefile: Likewise.
72023         * malloc/Makefile: Likewise.
72024         * misc/Makefile: Likewise.
72025         * iconv/Makefile: Likewise.
72026         * nscd/Makefile: Likewise.
72027         * hurd/Makefile: Likewise.
72028         * manual/Makefile: Likewise.
72029         * locale/Makefile: Likewise.
72030         * intl/Makefile: Likewise.
72031         * conform/Makefile: Likewise.
72032         * nss/Makefile: Likewise.
72033         * time/Makefile: Likewise.
72034         * soft-fp/Makefile: Likewise.
72035         * dirent/Makefile: Likewise.
72036         * gmon/Makefile: Likewise.
72037         * po/Makefile: Likewise.
72038         * rt/Makefile: Likewise.
72039         * socket/Makefile: Likewise.
72040         * math/Makefile: Likewise.
72041         * signal/Makefile: Likewise.
72042         * debug/Makefile: Likewise.
72043         * elf/Makefile: Likewise.
72044         * timezone/Makefile: Likewise.
72045         * stdlib/Makefile: Likewise.
72046         * iconvdata/Makefile: Likewise.
72047         * sunrpc/Makefile: Likewise.
72048         * io/Makefile: Likewise.
72049         * argp/Makefile: Likewise.
72050         * inet/Makefile: Likewise.
72051         * hesiod/Makefile: Likewise.
72052         * grp/Makefile: Likewise.
72053         * csu/Makefile: Likewise.
72054         * wctype/Makefile: Likewise.
72055         * crypt/Makefile: Likewise.
72056         * libio/Makefile: Likewise.
72057         * string/Makefile: Likewise.
72058         * nis/Makefile: Likewise.
72059         * resolv/Makefile: Likewise.
72060         * stdio-common/Makefile: Likewise.
72061         * wcsmbs/Makefile: Likewise.
72062         * dlfcn/Makefile: Likewise.
72063         * posix/Makefile: Likewise.
72065         [BZ #6959]
72066         * timezone/Makefile: Don't install timezone files, just the programs
72067         and scripts.
72069 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72071         * nss/databases.def: Add missing gshadow entry.
72073         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72075 2012-03-06  Marek Polacek  <polacek@redhat.com>
72077         [BZ #13726]
72078         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72079         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72080         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72081         * stdio-common/tst-long-dbl-fphex.c: New file.
72083 2012-03-06  David S. Miller  <davem@davemloft.net>
72085         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72086         (set_obp_int): New function.
72087         (get_obp_int): New function.
72088         (__get_clockfreq_via_dev_openprom): Likewise.
72089         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72090         Avoid unused variable warnings on 'val' and use builtin_expect.
72091         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72092         __builtin_expect.
72093         (INLINE_CLONE_SYSCALL): Likewise.
72095 2012-03-05  David S. Miller  <davem@davemloft.net>
72097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72099 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72101         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72103         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72104         only for |x| >= 40.
72105         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72107 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72109         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72110         Replace gettimeofday with __vdso_gettimeofday.
72112         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72113         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72114         __vdso_clock_gettime and __vdso_getcpu.
72116         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72117         time with __vdso_time.
72119 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72121         * manual/lang.texi (size_t): Note types to which size_t may be
72122         equivalent with the GNU C Library, but do not describe when
72123         differences between them are significant.
72125 2012-03-05  Andreas Jaeger  <aj@suse.de>
72127         * sysdeps/i386/fpu/libm-test-ulps: Update.
72129 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72131         [BZ #3976]
72132         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72133         (__ieee754_pow): Save and restore rounding mode and use
72134         round-to-nearest for main computations.
72135         * math/libm-test.inc (pow_test_tonearest): New function.
72136         (pow_test_towardzero): Likewise.
72137         (pow_test_downward): Likewise.
72138         (pow_test_upward): Likewise.
72139         (main): Call the new functions.
72140         * sysdeps/i386/fpu/libm-test-ulps: Update.
72141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72143         [BZ #3976]
72144         * math/libm-test.inc (cosh_test_tonearest): New function.
72145         (cosh_test_towardzero): Likewise.
72146         (cosh_test_downward): Likewise.
72147         (cosh_test_upward): Likewise.
72148         (sinh_test_tonearest): Likewise.
72149         (sinh_test_towardzero): Likewise.
72150         (sinh_test_downward): Likewise.
72151         (sinh_test_upward): Likewise.
72152         (main): Call the new functions.
72153         * sysdeps/i386/fpu/libm-test-ulps: Update.
72154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72156 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72158         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72159         default stack guard is set in last bytes.
72160         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72162 2012-03-05  Kees Cook  <keescook@chromium.org>
72164         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72166         [BZ #13656]
72167         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72168         possibly allocate from heap instead of stack.
72169         * stdio-common/bug-vfprintf-nargs.c: New file.
72170         * stdio-common/Makefile (tests): Add nargs overflow test.
72172 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72176 2012-03-03  Marek Polacek  <polacek@redhat.com>
72178         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72179         * math/math_private.h: Likewise.
72180         * stdlib/tst-strtod.c: Likewise.
72181         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72182         * sysdeps/x86_64/bits/atomic.h: Likewise.
72184 2012-03-02  David S. Miller  <davem@davemloft.net>
72186         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72187         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72190         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72191         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72192         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72193         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72195 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72197         [BZ #13792]
72198         * manual/examples/README: New file, says the example source files
72199         can be used under GPL>=2.
72200         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72201         line containing just "*/".
72202         * manual/examples/add.c: Add copyright header (GPL>=2).
72203         * manual/examples/argp-ex1.c: Likewise.
72204         * manual/examples/argp-ex2.c: Likewise.
72205         * manual/examples/argp-ex3.c: Likewise.
72206         * manual/examples/argp-ex4.c: Likewise.
72207         * manual/examples/atexit.c: Likewise.
72208         * manual/examples/db.c: Likewise.
72209         * manual/examples/dir.c: Likewise.
72210         * manual/examples/dir2.c: Likewise.
72211         * manual/examples/execinfo.c: Likewise.
72212         * manual/examples/filecli.c: Likewise.
72213         * manual/examples/filesrv.c: Likewise.
72214         * manual/examples/fmtmsgexpl.c: Likewise.
72215         * manual/examples/genpass.c: Likewise.
72216         * manual/examples/inetcli.c: Likewise.
72217         * manual/examples/inetsrv.c: Likewise.
72218         * manual/examples/isockad.c: Likewise.
72219         * manual/examples/longopt.c: Likewise.
72220         * manual/examples/memopen.c: Likewise.
72221         * manual/examples/memstrm.c: Likewise.
72222         * manual/examples/mkfsock.c: Likewise.
72223         * manual/examples/mkisock.c: Likewise.
72224         * manual/examples/mygetpass.c: Likewise.
72225         * manual/examples/pipe.c: Likewise.
72226         * manual/examples/popen.c: Likewise.
72227         * manual/examples/rprintf.c: Likewise.
72228         * manual/examples/search.c: Likewise.
72229         * manual/examples/select.c: Likewise.
72230         * manual/examples/setjmp.c: Likewise.
72231         * manual/examples/sigh1.c: Likewise.
72232         * manual/examples/sigusr.c: Likewise.
72233         * manual/examples/stpcpy.c: Likewise.
72234         * manual/examples/strdupa.c: Likewise.
72235         * manual/examples/strftim.c: Likewise.
72236         * manual/examples/strncat.c: Likewise.
72237         * manual/examples/subopt.c: Likewise.
72238         * manual/examples/swapcontext.c: Likewise.
72239         * manual/examples/termios.c: Likewise.
72240         * manual/examples/testopt.c: Likewise.
72241         * manual/examples/testpass.c: Likewise.
72242         * manual/examples/timeval_subtract.c: Likewise.
72244         [BZ #13792]
72245         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72246         function to ...
72247         * manual/timeval_subtract.c.texi: ... here, new file.
72249 2012-03-02  David S. Miller  <davem@davemloft.net>
72251         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72253 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72255         [BZ #3976]
72256         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72257         (__sin): Save and restore rounding mode and use round-to-nearest
72258         for all computations.
72259         (__cos): Save and restore rounding mode and use round-to-nearest
72260         for all computations.
72261         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72262         <fenv.h>.
72263         (tan): Save and restore rounding mode and use round-to-nearest for
72264         all computations.
72265         * math/libm-test.inc (cos_test_tonearest): New function.
72266         (cos_test_towardzero): Likewise.
72267         (cos_test_downward): Likewise.
72268         (cos_test_upward): Likewise.
72269         (sin_test_tonearest): Likewise.
72270         (sin_test_towardzero): Likewise.
72271         (sin_test_downward): Likewise.
72272         (sin_test_upward): Likewise.
72273         (tan_test_tonearest): Likewise.
72274         (tan_test_towardzero): Likewise.
72275         (tan_test_downward): Likewise.
72276         (tan_test_upward): Likewise.
72277         (main): Call the new functions.
72278         * sysdeps/i386/fpu/libm-test-ulps: Update.
72279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72281         [BZ #10135]
72282         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72283         small n, then large n, before computing and testing k+n.
72284         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72285         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72286         Likewise.
72287         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72288         Likewise.
72289         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72290         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72291         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72292         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72293         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72294         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72295         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72296         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72297         * math/libm-test.inc (scalbn_test): Add more tests.
72298         (scalbln_test): Likewise.
72300         * manual/filesys.texi (mode_t): Describe constraints on size and
72301         signedness, not exact equivalence to a particular type.
72302         (ino_t): Likewise.
72303         (ino64_t): Likewise.
72304         (dev_t): Likewise.
72305         (nlink_t): Likewise.
72306         (blkcnt_t): Likewise.
72307         (blkcnt64_t): Likewise.
72308         * manual/llio.texi (off_t): Likewise.
72310         [BZ #3976]
72311         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72312         (__ieee754_exp): Save and restore rounding mode and use
72313         round-to-nearest for all computations.
72314         * math/libm-test.inc (exp_test_tonearest): New function.
72315         (exp_test_towardzero): Likewise.
72316         (exp_test_downward): Likewise.
72317         (exp_test_upward): Likewise.
72318         (main): Call the new functions.
72319         * sysdeps/i386/fpu/libm-test-ulps: Update.
72320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72322 2012-03-01  Chris Demetriou  <cgd@google.com>
72324         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72325         have predictable order.
72327 2012-03-01  David S. Miller  <davem@davemloft.net>
72329         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72331         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72332         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72333         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72334         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72336         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72337         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72338         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72340         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72341         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72342         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72343         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72344         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72348         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72349         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72350         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72352         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72353         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72354         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72355         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72356         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72357         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72358         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72359         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72360         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72361         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72362         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72363         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72364         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72365         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72366         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72367         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72368         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72369         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72370         * sysdeps/sparc/elf/configure: Regenerated.
72372 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72374         * configure.in (AS, LD): Require binutils 2.20 or later.
72375         * configure: Regenerated.
72376         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72377         as required minimum version.
72378         * INSTALL: Regenerated.
72380         [BZ #2541]
72381         [BZ #4108]
72382         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72383         before squaring exponent.
72384         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72385         bottom long double and 27 bits of top long double before squaring
72386         exponent.
72387         * math/libm-test.inc (erfc_test): Add more tests.
72388         * sysdeps/i386/fpu/libm-test-ulps: Update.
72389         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72392 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72394         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72395         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72396         containing bit-fields.
72397         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72398         * soft-fp/single.h (_FP_UNION_S): Likewise.
72399         * soft-fp/double.h (_FP_UNION_D): Likewise.
72401 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72403         [BZ #13786]
72404         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72405         not include ../strcmp.S.
72406         [USE_AS_STRNCASECMP_L]: Likewise.
72407         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72408         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72409         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72410         (__strncasecmp_l_ia32): Define as alias to
72411         __strncasecmp_l_nonascii.
72413         [BZ #5794]
72414         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72415         * sysdeps/i386/fpu/libm-test-ulps: Update.
72416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72418         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72421 2012-02-29  Jeff Law  <law@redhat.com>
72423         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72424         out of bounds read.
72426 2012-02-29  Marek Polacek  <polacek@redhat.com>
72428         [BZ #13706]
72429         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72430         * elf/Makefile: Add rules to run tst-unused-dep.out.
72432 2012-02-28  David S. Miller  <davem@davemloft.net>
72434         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72435         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72436         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72437         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72438         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72439         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72441 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72443         * math/libm-test.inc (llround_test): Move one test from
72444         lround_test.  Use TEST_f_L in moved test.
72445         (lround_test): Move misplaced test to llround_test.  Add testcase
72446         from bug 2561.
72448 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72450         * sysdeps/x86_64/fpu/e_expf.S: New file.
72451         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72453 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72455         [BZ #13637]
72456         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72457         of remain_len that may cause incomplete multi-byte character and
72458         false match.
72459         * posix/bug-regex33.c: New file.
72460         * posix/Makefile (tests): Add bug-regex33.
72462 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72464         * manual/macros.texi: New file.
72465         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72466         * manual/libc.texinfo: Include macros.texi.
72467         * manual/creatute.texi: Likewise.
72468         * manual/install.texi: Likewise.
72469         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72470         @glibcadj{} in references to the GNU C Library.
72471         * manual/charset.texi: Likewise.
72472         * manual/conf.texi: Likewise.
72473         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72474         when not using those macros.
72475         * manual/creature.texi: Likewise.
72476         * manual/crypt.texi: Likewise.
72477         * manual/errno.texi: Likewise.
72478         * manual/filesys.texi: Likewise.
72479         * manual/header.texi: Likewise.
72480         * manual/install.texi: Likewise.
72481         * manual/intro.texi: Likewise.
72482         * manual/io.texi: Likewise.
72483         * manual/job.texi: Likewise.
72484         * manual/lang.texi: Likewise.
72485         * manual/libc.texiinfo: Likewise.
72486         * manual/llio.texi: Likewise.
72487         * manual/locale.texi: Likewise.
72488         * manual/maint.texi: Likewise.
72489         * manual/math.texi: Likewise.
72490         * manual/memory.texi: Likewise.
72491         * manual/message.texi: Likewise.
72492         * manual/nss.texi: Likewise.
72493         * manual/pattern.texi: Likewise.
72494         * manual/process.texi: Likewise.
72495         * manual/resource.texi: Likewise.
72496         * manual/search.texi: Likewise.
72497         * manual/setjmp.texi: Likewise.
72498         * manual/signal.texi: Likewise.
72499         * manual/socket.texi: Likewise.
72500         * manual/startup.texi: Likewise.
72501         * manual/stdio.texi: Likewise.
72502         * manual/string.texi: Likewise.
72503         * manual/sysinfo.texi: Likewise.
72504         * manual/syslog.texi: Likewise.
72505         * manual/terminal.texi: Likewise.
72506         * manual/time.texi: Likewise.
72507         * manual/users.texi: Likewise.
72508         * INSTALL: Regenerated.
72509         * NOTES: Regenerated.
72510         * sysdeps/gnu/errlist.c: Regenerated.
72512 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72514         * include/dirent.h: Include <dirstream.h> before
72515         <dirent/dirent.h>.
72517 2012-02-28  David S. Miller  <davem@davemloft.net>
72519         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72520         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72521         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72522         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72524 2012-02-27  David S. Miller  <davem@davemloft.net>
72526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72528         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72529         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72532         frame pointer instead of stack pointer relative arg slot.
72533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72534         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72535         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72537 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
72539         [BZ #3992]
72540         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
72542 2012-02-27  David S. Miller  <davem@davemloft.net>
72544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
72545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
72546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
72547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
72548         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
72549         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
72550         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
72551         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
72553 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72555         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
72556         later.  Allow versions 5-9.
72557         * configure: Regenerated.
72558         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
72559         required minimum version and 4.6 as recommended version.  Do not
72560         mention bugs in GCC 2.7 and 2.8.
72561         * INSTALL: Regenerated.
72563 2012-02-27  David S. Miller  <davem@davemloft.net>
72565         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
72566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
72567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
72568         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
72569         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
72570         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
72571         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
72572         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
72574         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
72575         manipulate bits before adding and subtracting TWO112[sx].
72576         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
72578 2012-02-27  Roland McGrath  <roland@hack.frob.com>
72580         [BZ #13775]
72581         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
72582         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
72583         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
72584         being in POSIX, because they are in 1003.1-2008.
72586         * rt/tst-aio.c: Include <fcntl.h>.
72587         * rt/tst-aio7.c: Likewise.
72588         * rt/tst-aio64.c: Likewise.
72590         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
72592 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
72594         * manual/install.texi (--with-headers): Describe headers as
72595         interface headers, not private headers.
72596         (Specific advice for GNU/Linux systems): Describe use of headers
72597         from "make headers_install", not private headers from older
72598         kernels.
72599         * INSTALL: Regenerated.
72600         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
72601         Change to 2.6.19.
72602         * sysdeps/unix/sysv/linux/configure: Regenerated.
72604         * manual/llio.texi (fclean): Remove documentation.
72606         * manual/Makefile (libc-texi-generated): New variable.  Include
72607         version.texi.
72608         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
72609         $(libc-texi-generated), not duplicated list of files.
72610         (version.texi, stamp-version): New rules.
72611         (realclean): Remove $(libc-texi-generated), not individual files
72612         from that list.  Do not remove dir-add.texinfo.
72613         * manual/libc.texinfo: Comment out uses of edition numbers and
72614         references to printed manual.  Remove last-updated dates.
72615         (EDITION): Comment out.
72616         (ISBN): Likewise.
72617         (VERSION, UPDATED): Remove.
72618         (version.texi): Include.
72620 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
72622         * sysdeps/posix/spawni.c: Include <signal.h>.
72623         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
72624         * sysdeps/pthread/aio_fsync.c: Likewise.
72626 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
72628         * conform/Makefile (tests): Run only when not cross-compiling and
72629         when fast-check is not defined.
72631         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
72632         * conform/data/limits.h-data: Fixes for POSIX2008.
72633         * conform/run-conformtest.sh: Run all tests.
72634         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
72635         headers.
72636         * include/bits/dlfcn.h: Likewise.
72637         * include/langinfo.h: Likewise.
72638         * include/monetary.h: Likewise.
72639         * include/sys/poll.h: Likewise.
72641         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
72642         for __USE_GNU.
72643         * posix/spawn.h: Define __need_sigset_t.
72644         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
72645         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
72646         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
72647         to get sigevent_t only.
72648         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
72649         only for __USE_GNU.
72650         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72651         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72652         process_vm_writev only for __USE_GNU.
72653         * termios/termios.h: Declare tcgetsid also for POSIX2008.
72655         * conform/Makefile: For now ignore errors from run-conformtest.
72656         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
72657         POSIX to avoid namespace pollution.  Don't prepend headers.
72658         * conform/data/aio.h-data: Fixes for POSIX testing.
72659         * conform/data/fcntl.h-data: Likewise.
72660         * conform/data/glob.h-data: Likewise.
72661         * conform/data/grp.h-data: Likewise.
72662         * conform/data/pthread.h-data: Likewise.
72663         * conform/data/pwd.h-data: Likewise.
72664         * conform/data/signal.h-data: Likewise.
72665         * conform/data/spawn.h-data: Likewise.
72666         * conform/data/stdio.h-data: Likewise.
72667         * conform/data/stdlib.h-data: Likewise.
72668         * conform/data/stropts.h-data: Likewise.
72669         * conform/data/sys/mman.h-data: Likewise.
72670         * conform/data/sys/stat.h-data: Likewise.
72671         * conform/data/sys/types.h-data: Likewise.
72672         * conform/data/sys/wait.h-data: Likewise.
72673         * conform/data/time.h-data: Likewise.
72674         * conform/data/unistd.h-data: Likewise.
72675         * conform/data/utime.h-data: Likewise.
72677         * io/sys/stat.h: fchmod was always in POSIX.
72678         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
72679         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
72680         * rt/aio.h: Define __need_timespec before including <time.h>.
72681         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
72682         struct.  Add forward declaration of pthread_attr_t and use it in
72683         sigevent.
72684         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72685         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72686         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
72687         always remove CLK_TCK definition.
72689 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
72691         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
72693 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
72695         * conform/run-conformtest.sh: New file.
72696         * conform/Makefile: Run run-conformtest for tests.
72697         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
72698         support.
72700         * conform/data/uchar.h-data: New file.
72701         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
72702         * conform/data/arpa/inet.h-data: Likewise.
72703         * conform/data/assert.h-data: Likewise.
72704         * conform/data/complex.h-data: Likewise.
72705         * conform/data/cpio.h-data: Likewise.
72706         * conform/data/ctype.h-data: Likewise.
72707         * conform/data/dirent.h-data: Likewise.
72708         * conform/data/dlfcn.h-data: Likewise.
72709         * conform/data/errno.h-data: Likewise.
72710         * conform/data/fcntl.h-data: Likewise.
72711         * conform/data/float.h-data: Likewise.
72712         * conform/data/fmtmsg.h-data: Likewise.
72713         * conform/data/fnmatch.h-data: Likewise.
72714         * conform/data/ftw.h-data: Likewise.
72715         * conform/data/glob.h-data: Likewise.
72716         * conform/data/grp.h-data: Likewise.
72717         * conform/data/iconv.h-data: Likewise.
72718         * conform/data/inttypes.h-data: Likewise.
72719         * conform/data/langinfo.h-data: Likewise.
72720         * conform/data/libgen.h-data: Likewise.
72721         * conform/data/limits.h-data: Likewise.
72722         * conform/data/locale.h-data: Likewise.
72723         * conform/data/math.h-data: Likewise.
72724         * conform/data/monetary.h-data: Likewise.
72725         * conform/data/mqueue.h-data: Likewise.
72726         * conform/data/ndbm.h-data: Likewise.
72727         * conform/data/net/if.h-data: Likewise.
72728         * conform/data/netdb.h-data: Likewise.
72729         * conform/data/netinet/in.h-data: Likewise.
72730         * conform/data/nl_types.h-data: Likewise.
72731         * conform/data/poll.h-data: Likewise.
72732         * conform/data/pthread.h-data: Likewise.
72733         * conform/data/pwd.h-data: Likewise.
72734         * conform/data/regex.h-data: Likewise.
72735         * conform/data/sched.h-data: Likewise.
72736         * conform/data/search.h-data: Likewise.
72737         * conform/data/semaphore.h-data: Likewise.
72738         * conform/data/setjmp.h-data: Likewise.
72739         * conform/data/signal.h-data: Likewise.
72740         * conform/data/spawn.h-data: Likewise.
72741         * conform/data/stdarg.h-data: Likewise.
72742         * conform/data/stdio.h-data: Likewise.
72743         * conform/data/stdlib.h-data: Likewise.
72744         * conform/data/string.h-data: Likewise.
72745         * conform/data/strings.h-data: Likewise.
72746         * conform/data/stropts.h-data: Likewise.
72747         * conform/data/sys/ipc.h-data: Likewise.
72748         * conform/data/sys/mman.h-data: Likewise.
72749         * conform/data/sys/msg.h-data: Likewise.
72750         * conform/data/sys/resource.h-data: Likewise.
72751         * conform/data/sys/select.h-data: Likewise.
72752         * conform/data/sys/sem.h-data: Likewise.
72753         * conform/data/sys/shm.h-data: Likewise.
72754         * conform/data/sys/socket.h-data: Likewise.
72755         * conform/data/sys/stat.h-data: Likewise.
72756         * conform/data/sys/statvfs.h-data: Likewise.
72757         * conform/data/sys/time.h-data: Likewise.
72758         * conform/data/sys/timeb.h-data: Likewise.
72759         * conform/data/sys/times.h-data: Likewise.
72760         * conform/data/sys/types.h-data: Likewise.
72761         * conform/data/sys/uio.h-data: Likewise.
72762         * conform/data/sys/un.h-data: Likewise.
72763         * conform/data/sys/utsname.h-data: Likewise.
72764         * conform/data/sys/wait.h-data: Likewise.
72765         * conform/data/syslog.h-data: Likewise.
72766         * conform/data/tar.h-data: Likewise.
72767         * conform/data/termios.h-data: Likewise.
72768         * conform/data/utime.h-data: Likewise.
72769         * conform/data/utmpx.h-data: Likewise.
72770         * conform/data/varargs.h-data: Likewise.
72771         * conform/data/wchar.h-data: Likewise.
72772         * conform/data/wctype.h-data: Likewise.
72773         * conform/data/wordexp.h-data: Likewise.
72775         * include/stropts.h: New file.
72776         * include/uchar.h: New file.
72777         * include/aio.h: Changes to allow conformtest.pl to use the headers.
72778         * include/assert.h: Likewise.
72779         * include/ctype.h: Likewise.
72780         * include/dirent.h: Likewise.
72781         * include/dlfcn.h: Likewise.
72782         * include/fcntl.h: Likewise.
72783         * include/fnmatch.h: Likewise.
72784         * include/glob.h: Likewise.
72785         * include/grp.h: Likewise.
72786         * include/libio.h: Likewise.
72787         * include/locale.h: Likewise.
72788         * include/math.h: Likewise.
72789         * include/net/if.h: Likewise.
72790         * include/netdb.h: Likewise.
72791         * include/netinet/in.h: Likewise.
72792         * include/pthread.h: Likewise.
72793         * include/pwd.h: Likewise.
72794         * include/regex.h: Likewise.
72795         * include/sched.h: Likewise.
72796         * include/search.h: Likewise.
72797         * include/setjmp.h: Likewise.
72798         * include/signal.h: Likewise.
72799         * include/stdio.h: Likewise.
72800         * include/stdlib.h: Likewise.
72801         * include/string.h: Likewise.
72802         * include/sys/cdefs.h: Likewise.
72803         * include/sys/mman.h: Likewise.
72804         * include/sys/msg.h: Likewise.
72805         * include/sys/resource.h: Likewise.
72806         * include/sys/select.h: Likewise.
72807         * include/sys/socket.h: Likewise.
72808         * include/sys/stat.h: Likewise.
72809         * include/sys/statvfs.h: Likewise.
72810         * include/sys/time.h: Likewise.
72811         * include/sys/times.h: Likewise.
72812         * include/sys/uio.h: Likewise.
72813         * include/sys/utsname.h: Likewise.
72814         * include/sys/wait.h: Likewise.
72815         * include/termios.h: Likewise.
72816         * include/time.h: Likewise.
72817         * include/ulimit.h: Likewise.
72818         * include/unistd.h: Likewise.
72819         * include/utime.h: Likewise.
72820         * include/wchar.h: Likewise.
72821         * include/wctype.h: Likewise.
72822         * include/wordexp.h: Likewise.
72824         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
72826         * time/time.h: TIME_UTC must be a macro.
72827         Make timespec_get available for ISO C11 only as well.
72829 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
72831         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
72832         Reported by Peng Haitao <penght@cn.fujitsu.com>.
72834 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72836         * configure.in: Use -o not -a in test for unsupported multi-arch.
72838 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72840         * manual/texinfo.tex: Update to version 2012-01-19.16.
72842 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
72844         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
72846 2012-02-24  Roland McGrath  <roland@hack.frob.com>
72848         [BZ #13738]
72849         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
72850         * manual/fdl-1.3.texi: New file.
72851         * manual/fdl-1.1.texi: File removed.
72853         [BZ #13738]
72854         * manual/libc.texinfo (FDL_VERSION): New @set.
72855         Use it for mention of FDL in cover text.
72856         (Documentation License): Use it in @include file name.
72858 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72859             Roland McGrath  <roland@hack.frob.com>
72861         [BZ #5461]
72862         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
72863         (not LONG_LONG_MAX and LONG_LONG_MIN.
72864         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
72865         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
72866         name.
72867         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
72869 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72871         [BZ #2547]
72872         [BZ #11365]
72873         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
72874         manipulate bits before adding and subtracting TWO23[sx].
72875         * math/libm-test.inc (nearbyint_test): Add more tests.
72877 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72879         [BZ #2548]
72880         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
72881         bits before adding and subtracting TWO23[sx].
72882         * math/libm-test.inc (rint_test): Add more tests.
72883         (rint_test_tonearest): Likewise.
72884         (rint_test_towardzero): Likewise.
72885         (rint_test_downward): Likewise.
72886         (rint_test_upward: Likewise.
72888 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72890         [BZ #10110]
72891         * include/stdc-predef.h: New file.  Extracted from features.h.
72892         * include/features.h: Include stdc-predef.h.
72893         * Makefile (headers): Add stdc-predef.h.
72894         * CONFORMANCE (Compiler limitations): Update.
72896 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
72898         * manual/libc.texinfo (VERSION, UPDATED): Revert.
72900 2012-02-21  David S. Miller  <davem@davemloft.net>
72902         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
72903         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
72905 2012-02-20  David S. Miller  <davem@davemloft.net>
72907         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
72908         using a normal save/restore sequence, rather than allocating a
72909         dummy stack frame just to store a frame pointer and restore.
72910         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72912 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72914         * manual/install.texi: Fix stray word in line-wrapped comment.
72916 2012-02-20  David S. Miller  <davem@davemloft.net>
72918         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
72919         both binutils and gcc support GOTDATA.
72921         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
72922         "rd %pc" in the PIC register setup sequences.
72924         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
72925         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
72926         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72927         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
72928         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72929         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72930         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72931         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72932         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
72933         (SYSCALL_ERROR_HANDLER): Likewise.
72934         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72935         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72936         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
72937         (SYSCALL_ERROR_HANDLER): Likewise.
72939         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
72940         (HAVE_GCC_GOTDATA): New.
72941         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
72942         relocation support in both binutils and gcc.
72943         * sysdeps/sparc/elf/configure: Regenerate.
72945         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
72946         * sysdeps/sparc/sparc32/elf/configure: Delete.
72947         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
72948         * sysdeps/sparc/sparc64/elf/configure: Delete.
72949         * sysdeps/sparc/elf/configure.in: New file.
72950         * sysdeps/sparc/elf/configure: Generate.
72952         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
72953         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
72954         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
72955         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
72956         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
72958 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72960         * manual/install.texi: Do not mention specific glibc version
72961         numbers.
72962         * manual/libc.texinfo (VERSION, UPDATED): Update.
72963         (@copying): Use @copyright{} and range of years.
72965 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
72967         [BZ #13695]
72968         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
72969         [crti.S not in sysdirs] (generated): Do not append.
72970         [crti.S not in sysdirs] (omit-deps): Likewise.
72971         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
72972         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
72973         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
72974         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
72975         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
72976         Likewise.
72977         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
72978         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
72979         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
72980         * csu/defs.awk: Remove file.
72981         * sysdeps/generic/initfini.c: Likewise.
72982         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
72983         variable.
72984         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
72985         Likewise.
72987 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
72989         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
72990         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
72991         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
72992         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
72993         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72994         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
72995         <bits/epoll.h>.
72996         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
72997         (__EPOLL_PACKED): Define to empty if not defined by
72998         <bits/epoll.h>.
72999         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73000         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73001         bits/epoll.h.
73003 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73005         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
73006         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
73007         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
73008         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73009         <bits/timerfd.h>.
73010         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73011         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73012         bits/timerfd.h.
73014 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73016         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73017         in C locale.
73018         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73019         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73020         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73023 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73025         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73026         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73028 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73030         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73031         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73032         defined.
73033         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73034         Likewise.
73035         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73036         entry for 2.16.
73038 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73040         * math/w_acos.c: Use non-signaling floating-point comparisons.
73041         * math/w_acosf.c: Likewise.
73042         * math/w_acosh.c: Likewise.
73043         * math/w_acoshf.c: Likewise.
73044         * math/w_acoshl.c: Likewise.
73045         * math/w_acosl.c: Likewise.
73046         * math/w_asin.c: Likewise.
73047         * math/w_asinf.c: Likewise.
73048         * math/w_asinl.c: Likewise.
73049         * math/w_atanh.c: Likewise.
73050         * math/w_atanhf.c: Likewise.
73051         * math/w_atanhl.c: Likewise.
73052         * math/w_exp2.c: Likewise.
73053         * math/w_exp2f.c: Likewise.
73054         * math/w_exp2l.c: Likewise.
73055         * math/w_j0.c: Likewise.
73056         * math/w_j0f.c: Likewise.
73057         * math/w_j0l.c: Likewise.
73058         * math/w_j1.c: Likewise.
73059         * math/w_j1f.c: Likewise.
73060         * math/w_j1l.c: Likewise.
73061         * math/w_jn.c: Likewise.
73062         * math/w_jnf.c: Likewise.
73063         * math/w_log.c: Likewise.
73064         * math/w_log10.c: Likewise.
73065         * math/w_log10f.c: Likewise.
73066         * math/w_log10l.c: Likewise.
73067         * math/w_log2.c: Likewise.
73068         * math/w_log2f.c: Likewise.
73069         * math/w_log2l.c: Likewise.
73070         * math/w_logf.c: Likewise.
73071         * math/w_logl.c: Likewise.
73072         * math/w_sqrt.c: Likewise.
73073         * math/w_sqrtf.c: Likewise.
73074         * math/w_sqrtl.c: Likewise.
73075         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73076         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73077         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73078         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73079         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73081 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73083         [BZ #9739]
73084         * manual/string.texi (strnlen): Use correct parameter name in
73085         equivalent expression.
73087 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73089         [BZ #11174]
73090         * manual/users.texi (seteuid): Consistently use neweuid for
73091         argument name.
73093 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73095         [BZ #13704]
73096         * manual/nss.texi (Services in the NSS configuration): Correct
73097         list of services in example configuration file.
73099 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73101         [BZ #11322]
73102         * manual/arith.texi: Remove statements about negative zero
73103         behaving identically to zero.
73105 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73107         [BZ #5993]
73108         * manual/install.texi: Do not document upgrading from libc5.
73110 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73112         [BZ #4596]
73113         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73115 2012-02-18  David S. Miller  <davem@davemloft.net>
73117         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73118         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73119         %o7 across the call.
73120         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73121         instead.
73122         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73123         SETUP_PIC_REG_LEAF.
73124         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73125         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73126         * sysdeps/sparc/crtn.S: Likewise.
73128 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73130         * aout/Makefile: Remove.
73132 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73134         [BZ #13058]
73135         * manual/examples/argp-ex1.c (main): Format definition in GNU
73136         style.
73137         * manual/examples/argp-ex2.c (main): Likewise.
73138         * manual/examples/argp-ex3.c (main): Likewise.
73139         * manual/examples/argp-ex4.c (main): Likewise.
73140         * manual/examples/longopt.c (main): Use new-style prototype
73141         definition.
73142         * manual/examples/strncat.c (main): Specify return type and use
73143         (void) for arguments.
73144         * manual/examples/subopt.c (main): Use char **argv argument.
73146 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73148         [BZ #5077]
73149         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73150         rounding modes.
73152 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73154         [BZ #6907]
73155         * manual/string.texi (strchr): Change when strchrnul is
73156         recommended.
73158 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73160         [BZ #174]
73161         * manual/locale.texi (setlocale): Document LOCPATH.
73163 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73165         [BZ #10210]
73166         * manual/process.texi (execle): Move @dots{} before last argument.
73168 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73170         [BZ #12047]
73171         * manual/charset.texi (Generic Charset Conversion): Fix typo
73172         (LC_TYPE -> LC_CTYPE).
73174 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73176         [BZ #5805]
73177         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73178         (scalbnf): Likewise.
73179         (scalbnl): Likewise.
73180         (scalbln): Likewise.
73181         (scalblnf): Likewise.
73182         (scalblnl): Likewise.
73183         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73184         (vwarnx): Likewise.
73185         (verr): Likewise.
73186         (verrx): Likewise.
73187         * manual/filesys.texi (telldir): Use braces around return type.
73188         * manual/llio.texi (mmap): Add space after comma.
73189         (mmap64): Likewise.
73190         * manual/math.texi (jn): Use @var{} on parameter names.
73191         (jnf): Likewise.
73192         (jnl): Likewise.
73193         (yn): Likewise.
73194         (ynf): Likewise.
73195         (ynl): Likewise.
73196         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73197         line.
73198         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73199         "...".
73200         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73201         (sched_get_priority_max): Likewise.
73202         * manual/signal.texi (sigvec): Add space after comma.
73203         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73204         names.
73205         (if_indextoname): Likewise.
73206         (if_freenameindex): Likewise.
73207         (sendto): Use ',' instead of '.' in prototype.
73208         * manual/startup.texi (syscall): Use @dots{} instead of literal
73209         "...".
73210         * manual/stdio.texi (__fpending): Separate initial words of
73211         paragraph from @deftypefun line.
73212         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73213         "...".
73214         (vsyslog): Use @var{} on parameter names.
73215         * manual/terminal.texi (stty): Use @var{} on parameter names.
73216         * manual/users.texi (getutmp): Use @var{} on parameter names.
73217         (getutmpx): Likewise.
73219 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73221         [BZ #6884]
73222         * manual/stdio.texi (fopen): Fix typos in description of
73223         ",ccs=STRING".
73225 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73227         [BZ #4026]
73228         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73229         get clock_id definition.
73231 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73233         [BZ #4822]
73234         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73235         (madvise): Cast every argument to void on its own.
73237 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73239         [BZ #9902]
73240         * manual/startup.texi (Exit Status): Fix typo.
73242 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73244         [BZ #10140]
73245         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73246         * manual/examples/argp-ex2.c: Likewise.
73247         * manual/examples/argp-ex3.c: Likewise.
73249 2012-02-16  Richard Henderson  <rth@redhat.com>
73251         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73252         * sysdeps/s390/s390-32/initfini.c: Remove.
73253         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73254         * sysdeps/s390/s390-64/initfini.c: Remove.
73256 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73258         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73259         compiler output for sysdeps/generic/initfini.c.
73260         * sysdeps/sh/elf/initfini.c: Remove file.
73262 2012-02-16  David S. Miller  <davem@davemloft.net>
73264         [BZ #11494]
73265         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73267         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73268         * sysdeps/sparc/crti.S: New file.
73269         * sysdeps/sparc/crtn.S: New file.
73270         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73271         * sysdeps/sparc/sparc64/Makefile: Likewise.
73273 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73275         [BZ #3335]
73276         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73278 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73280         [BZ #4822]
73281         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73283         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73284         (write, read, close): Likewise.
73285         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73287 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73289         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73290         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73291         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73292         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73293         <bits/signalfd.h>.
73294         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73295         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73296         bits/signalfd.h.
73298 2012-02-14  Marek Polacek  <polacek@redhat.com>
73300         * sysdeps/x86_64/crti.S: New file.
73301         * sysdeps/x86_64/crtn.S: New file.
73302         * sysdeps/x86_64/elf/initfini.c: Remove file.
73304 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73306         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73307         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73308         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73309         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73310         <bits/inotify.h>.
73311         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73312         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73313         bits/inotify.h.
73315 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73317         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73318         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73319         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73320         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73321         <bits/eventfd.h>.
73322         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73323         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73324         bits/eventfd.h.
73326 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73328         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73329         __feraiseexcept instead of feraiseexcept.
73331         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73332         nanosleep invocations.
73333         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73334         strings, and add error checking for a nanosleep invocations.
73336 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73338         Replace FSF snail mail address with URLs, as per GNU coding standards.
73339         Most of the snail mail addresses were wrong anyway, and omitting
73340         them makes the source code easier to maintain.  Almost all of the
73341         changes are to license notices and to locale LC_IDENTIFICATION
73342         addresses, except for this one:
73343         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73344         not its snail mail address.
73346 2012-02-09  Richard Henderson  <rth@twiddle.net>
73348         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73349         of kernel-features.h.
73351         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73353 2012-02-08  Marek Polacek  <polacek@redhat.com>
73355         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73356         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73357         * sysdeps/gnu/_G_config.h: Likewise.
73358         * sysdeps/generic/_G_config.h: Likewise.
73360 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73362         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73363         tests.
73364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73366         * sysdeps/powerpc/powerpc32/crti.S: New file.
73367         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73368         * sysdeps/powerpc/powerpc64/crti.S: New file.
73369         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73371         * Makeconfig (have-initfini): Don't set.
73372         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73373         * configure.in (nopic_initfini): Don't substitute.
73374         * config.h.in (HAVE_INITFINI): Don't #undef.
73375         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73376         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73378 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73380         Support crti.S and crtn.S provided directly by architectures.
73381         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73382         [crti.S in sysdirs] (omit-deps): Likewise.
73383         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73384         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73385         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73386         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73387         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73388         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73389         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73390         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73391         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73392         compiler output for sysdeps/generic/initfini.c.
73393         * sysdeps/i386/elf/Makefile: Remove file.
73394         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73396 2012-02-07  Marek Polacek  <polacek@redhat.com>
73398         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73399         * sysdeps/gnu/_G_config.h: Likewise.
73400         * sysdeps/mach/hurd/_G_config.h: Likewise.
73402 2012-02-07  Marek Polacek  <polacek@redhat.com>
73404         * math/Makefile (tests): Add tst-CMPLX2.
73405         * math/tst-CMPLX2.c: New file.
73407 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73409         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73411         * math/libm-test.inc (jn_test): Add missing L suffix.
73413 2012-02-06  Marek Polacek  <polacek@redhat.com>
73415         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73416         * sysdeps/i386/fpu/e_powf.S: Likewise.
73417         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73418         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73419         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73420         * sysdeps/i386/fpu/e_pow.S: Likewise.
73421         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73422         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73423         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73424         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73425         * sysdeps/i386/fpu/e_log2.S: Likewise.
73426         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73427         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73428         * sysdeps/i386/fpu/e_powl.S: Likewise.
73429         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73430         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73431         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73432         * sysdeps/i386/fpu/e_logl.S: Likewise.
73433         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73434         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73435         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73436         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73437         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73438         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73439         * sysdeps/i386/fpu/e_log.S: Likewise.
73440         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73441         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73442         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73443         * sysdeps/i386/fpu/e_logf.S: Likewise.
73444         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73445         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73446         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73447         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73448         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73449         * sysdeps/i386/fpu/e_log10.S: Likewise.
73450         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73451         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73452         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73453         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73454         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73455         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73456         * sysdeps/i386/asm-syntax.h: Likewise.
73457         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73458         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73459         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73460         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73461         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73462         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73463         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73464         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73465         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73466         * sysdeps/powerpc/sysdep.h: Likewise.
73467         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73468         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73470 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73472         [BZ #411]
73473         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73475 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73477         * sysdeps/i386/sysdep.h: Include <features.h>.
73478         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73479         version.
73481 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73483         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73484         Define.
73485         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73486         LOAD_PIC_REG_STR.
73488 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73490         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73491         (SETUP_PIC_REG): Use GET_PC_THUNK.
73492         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73493         macro.
73495 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73497         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73498         for non-PIC compilation.
73499         (SETUP_PIC_REG): Add .p2align directive.
73500         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73501         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73502         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73503         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73504         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73505         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73506         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73507         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73508         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73509         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73510         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73511         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73512         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73513         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73514         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73515         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73516         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73517         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73518         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73519         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73520         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73521         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73522         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73523         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73524         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73525         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73526         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73527         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73528         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73529         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73530         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73531         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73532         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73533         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73534         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73535         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73536         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73537         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73538         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73539         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73540         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73542 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73544         * math/tst-CMPLX.c: Include <stdio.h>.
73546 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
73548         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
73549         float.
73550         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73551         * sysdeps/sparc/bits/mathdef.h: Likewise.
73553 2012-01-31  Marek Polacek  <polacek@redhat.com>
73555         * libio/libio.h: Don't define _PARAMS.
73556         * locale/programs/config.h: Don't define PARAMS.
73557         * stdlib/strtol_l.c: Likewise.
73558         (__strtol_l): Remove PARAMS from the prototype.
73560 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
73562         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
73563         names.  Just use the correct names.  Remove unnecessary wrapper
73564         functions.
73565         * malloc/arena.c: Likewise.
73566         * malloc/hooks.c: Likewise.
73568         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
73569         ARENA_TEST says not to.  Simplify test for creation of a new arena.
73570         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
73572 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
73574         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
73575         into tail calls.
73576         (update_get_addr): New function.
73577         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
73578         GET_ADDR_MODULE parameter.
73580 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73582         * crypt/cert.c: Remove __STDC__ conditionals.
73583         * crypt/crypt-entry.c: Likewise.
73584         * crypt/crypt_util.c: Likewise.
73585         * libio/filedoalloc.c: Likewise.
73586         * libio/fileops.c: Likewise.
73587         * libio/genops.c: Likewise.
73588         * libio/iofclose.c: Likewise.
73589         * libio/iofdopen.c: Likewise.
73590         * libio/iofopen.c: Likewise.
73591         * libio/iofopen64.c: Likewise.
73592         * libio/iogetdelim.c: Likewise.
73593         * libio/iopopen.c: Likewise.
73594         * libio/obprintf.c: Likewise.
73595         * libio/oldfileops.c: Likewise.
73596         * libio/oldiofclose.c: Likewise.
73597         * libio/oldiofdopen.c: Likewise.
73598         * libio/oldiofopen.c: Likewise.
73599         * libio/oldiopopen.c: Likewise.
73600         * libio/wfiledoalloc.c: Likewise.
73601         * libio/wgenops.c: Likewise.
73602         * locale/programs/xmalloc.c: Likewise.
73603         * misc/syslog.c: Likewise.
73604         * stdio-common/xbug.c: Likewise.
73605         * string/memchr.c: Likewise.
73606         * string/memcmp.c: Likewise.
73607         * string/memrchr.c: Likewise.
73608         * string/rawmemchr.c: Likewise.
73609         * sysdeps/posix/getcwd.c: Likewise.
73610         * time/strftime_l.c: Likewise.
73612 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
73614         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
73615         * config.make.in (config-cflags-sse2avx): Define.
73616         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
73617         Fix typo.
73619 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
73621         * scripts/config.guess: Update from upstream config git repository.
73622         * scripts/config.sub: Likewise.
73624 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
73626         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
73627         (EM_NUM): Update.
73628         (R_TILEPRO_*, R_TILEGX_*): New macros.
73630         * scripts/firstversions.awk: Fix bug in version range handling.
73632         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
73634         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
73636         * include/sys/epoll.h: New file.
73637         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
73638         libc_hidden_def.
73640 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
73642         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
73643         Avoid unnecessary __WORDSIZE == 64 test.
73644         (fmaxf): Use VEX format if possible.
73645         (fmax): Likewise.
73646         (fminf): Likewise.
73647         (fmin): Likewise.
73649         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
73650         * math/math_private.h: Remove libc_fegetround* and
73651         libc_fesetround*.
73652         * sysdeps/i386/configure.in: Check for -msse2avx.
73653         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
73654         also if SSE2AVX is defined.
73655         Remove libc_fegetround* and libc_fesetround*.
73656         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
73657         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
73658         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
73659         of HAS_YMM_USABLE.
73660         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73661         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73662         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73663         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73664         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73666         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
73668 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73670         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
73671         size is not set.
73672         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
73674 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
73676         [BZ #13618]
73677         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
73678         relocation.
73679         * Makeconfig (libm): Define.
73680         * elf/Makefile: Add rules to build and run tst-relsort1.
73681         * elf/tst-relsort1.c: New file.
73682         * elf/tst-relsort1mod1.c: New file.
73683         * elf/tst-relsort1mod2.c: New file.
73685 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
73687         * math/s_ldexp.c: Remove __STDC__ conditionals.
73688         * math/s_ldexpf.c: Likewise.
73689         * math/s_ldexpl.c: Likewise.
73690         * math/s_nextafter.c: Likewise.
73691         * math/s_nexttowardf.c: Likewise.
73692         * math/s_significand.c: Likewise.
73693         * math/s_significandf.c: Likewise.
73694         * math/s_significandl.c: Likewise.
73695         * math/w_jnl.c: Likewise.
73696         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73697         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73698         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73699         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73700         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73701         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73702         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
73703         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73704         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73705         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73706         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73707         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73708         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73709         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73710         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73711         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73712         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73713         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73714         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73715         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73716         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73717         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73718         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73719         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73720         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73721         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73722         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73723         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73724         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73725         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73726         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73727         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73728         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73729         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73730         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73731         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73732         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73733         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73734         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73735         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73736         * sysdeps/ieee754/k_standard.c: Likewise.
73737         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73738         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73739         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73740         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73741         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73742         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73743         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73744         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73745         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73746         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73747         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73748         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73749         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73750         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73751         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73752         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73753         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73754         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73755         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73756         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73757         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73758         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73759         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73760         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73761         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73762         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73763         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73764         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73765         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73766         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73767         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73768         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
73769         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73770         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73771         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73772         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73773         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
73774         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73775         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73776         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
73777         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
73778         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73779         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
73780         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
73781         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73782         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
73783         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
73784         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73785         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73786         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
73787         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
73788         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73789         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73790         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73791         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73792         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73793         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
73794         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73795         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73796         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73797         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73798         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73799         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73800         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73801         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73802         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73803         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73804         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73805         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73806         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73807         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73808         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73809         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73810         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73811         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73812         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73813         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73814         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73815         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73816         * sysdeps/ieee754/s_matherr.c: Likewise.
73817         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73818         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73819         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73820         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73822 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73824         * crypt/md5.h: Remove __STDC__ conditionals.
73825         * libio/libioP.h: Likewise.
73826         * locale/programs/config.h: Likewise.
73827         * sysdeps/generic/sysdep.h: Likewise.
73828         * sysdeps/i386/asm-syntax.h: Likewise.
73829         * sysdeps/s390/asm-syntax.h: Likewise.
73830         * sysdeps/unix/sysdep.h: Likewise.
73831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
73832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73834 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
73836         * libio/libio.h: Remove __STDC__ conditionals.
73837         * malloc/obstack.h: Likewise.
73838         * math/complex.h: Likewise.
73839         * math/math.h: Likewise.
73840         * sysdeps/generic/_G_config.h: Likewise.
73841         * sysdeps/gnu/_G_config.h: Likewise.
73842         * sysdeps/mach/hurd/_G_config.h: Likewise.
73843         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73844         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
73845         * sysdeps/sparc/bits/mathdef.h: Likewise.
73847 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
73849         [BZ #13583]
73850         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
73851         Clean up HAS_* macros.
73852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
73853         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
73854         possible.
73855         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
73856         HAS_AVX.
73857         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73858         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73859         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73860         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73861         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73863 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
73865         * elf/tst-unique3.cc (gets): Remove declaration.
73866         * elf/tst-unique3lib.cc (gets): Likewise.
73867         * elf/tst-unique3lib2.cc (gets): Likewise.
73868         * elf/tst-unique4.cc (gets): Likewise.
73870 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
73872         * include/stdio.h: Add C++ protection.  Add gets declarations and
73873         definitions.
73874         * debug/tst-chk1.c: Don't declare gets here.
73875         * stdio-common/tst-gets.c: Likewise.
73877 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73879         * posix/glob: Remove directory.
73881 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
73883         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
73885 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
73887         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
73888         of the non-standard EPFNOSUPPORT.
73890 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73892         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
73893         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
73894         ANYWHERE set to 1 only on KERN_NO_SPACE error.
73896 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
73898         * wcsmbs/uchar.h: Test __STDC_VERSION__.
73900 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
73902         * nscd/aicache.c (addhstaiX): Do not cache negative results of
73903         transient errors.
73904         * nscd/grpcache.c (cache_addgr): Likewise.
73905         * nscd/hstcache.c (cache_addhst): Likewise.
73906         * nscd/initgrcache.c (addinitgroupsX): Likewise.
73907         * nscd/pwdcache.c (cache_addpw): Likewise.
73908         * nscd/servicescache.c (cache_addserv): Likewise.
73910 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
73912         * malloc/malloc.c: Various cleanups.
73913         * malloc/hooks.c: Likewise.
73915         * stdlib/Makefile (tests): Add bug-fmtmsg1.
73916         * stdlib/bug-fmtmsg1.c: New file.
73918         * stdlib/fmtmsg.c (init): Add missing unlock.
73919         Patch by Peng Haitao <penght@cn.fujitsu.com>.
73921 2012-01-12  Marek Polacek  <polacek@redhat.com>
73923         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
73924         and _GNU_SOURCE.
73926 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
73928         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
73929         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
73930         macro to ensure uniqueness of label name.
73931         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73932         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73934 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
73936         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
73938         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
73939         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73940         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73941         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
73943 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
73945         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
73947         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
73948         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73949         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73951         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
73953         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
73954         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73955         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73956         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
73958         * math/bits/math-finite.h: Add ldexp support.
73960 2012-01-10  Marek Polacek  <polacek@redhat.com>
73962         * locale/programs/localedef.h (show_archive_content): Add noreturn
73963         attribute.
73965 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
73967         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
73969 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73971         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
73973         * io/Makefile (headers): Add bits/poll2.h.
73975 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
73977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
73978         typo #include statement.
73980 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
73982         * include/sys/cdefs.h: Define __attribute_alloc_size.
73983         * catgets/gencat.c: Add alloc_size attribute and apply consistently
73984         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
73985         * elf/pldd.c: Likewise.
73986         * iconv/iconv_charmap.c: Likewise.
73987         * iconv/iconvconfig.c: Likewise.
73988         * iconv/strtab.c: Likewise.
73989         * locale/programs/locale.c: Likewise.
73990         * locale/programs/localedef.h: Likewise.
73991         * locale/programs/simple-hash.c: Likewise.
73992         * nscd/nscd.h: Likewise.
73993         * nss/makedb.c: Likewise.
73994         * sysdeps/generic/ldconfig.h: Likewise.
73995         * locale/programs/localedef.c: Remove xmalloc prototype.
73996         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
73998 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74000         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74001         appropriate.
74003 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74005         * math/Makefile (tests): Add tst-CMPLX.
74006         * math/tst-CMPLX.c: New file.
74008         * math/complex.h (CMPLXL): Fix typo.
74010         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74011         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74012         GLIBC_2.16.
74013         * debug/tst-chk1.c: Add poll and ppoll tests.
74014         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74015         * include/sys/poll.h: Add hidden proto for ppoll.
74016         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74017         * sysdeps/mach/hurd/ppoll.c: Likewise.
74018         * io/ppoll.c: Likewise.
74019         * debug/poll_chk.c: New file.
74020         * debug/ppoll_chk.c: New file.
74021         * include/bits/poll2.h: New file.
74022         * io/bits/poll2.h: New file.
74024         [BZ #1350]
74025         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74027         * configure.in: static is always set to yes.  Remove.
74028         * config.make.in: Don't set build-static.
74029         * Makeconfig: Remove use of build-static.
74030         * dlfcn/Makefile: Likewise.
74031         * elf/Makefile: Likewise.
74032         * math/Makefile: Likewise.
74033         * misc/Makefile: Likewise.
74034         * nptl/Makefile: Likewise.
74035         * sysdeps/mach/hurd/Makefile: Likewise.
74037         * configure.in: PWD_P is not used anymore.
74038         * config.make.in: Remove PWD_P entry.
74040         * configure.in: Remove last remnants of RANLIB.
74041         No need to check for signed size_t anymore.
74042         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74043         and IA-64.
74044         Remove __builtin_expect test because we require at least gcc 3.4.
74045         * aclocal.m4: Likewise.
74047         * wcsmbs/mbrtoc16.c: Implement using towc function.
74048         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74049         * wcsmbs/wcsmbsload.c: Likewise.
74050         * iconv/gconv_simple.c: Likewise.
74051         * iconv/gconv_int.h: Likewise.
74052         * iconv/gconv_builtin.h: Likewise.
74053         * iconv/iconv_prog.c: Remove CHAR16 handling.
74055         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74057         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74059         * configure.in: Remove --with-elf and --enable-bounded options.
74060         Dont set base_machine for ia64.  More non-ELF conditions removed.
74061         Remove testing and setting of leading underscore information.
74062         * config.make.in (build-bounded): Set to no.
74063         * config.h.in: Remove NO_UNDERSCORES entry.
74064         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74065         them.
74066         * csu/start.c: Remove !NO_UNDERSCORE code.
74067         * locale/localeinfo.h: Likewise.
74068         * sysdeps/generic/machine-gmon.h: Likewise.
74069         * sysdeps/generic/sysdep.h: Likewise.
74070         * sysdeps/i386/sysdep.h: Likewise.
74071         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74072         * sysdeps/mach/sysdep.h: Likewise.
74073         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74074         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74075         * sysdeps/sh/sysdep.h: Likewise.
74076         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74077         * sysdeps/unix/i386/sysdep.S: Likewise.
74078         * sysdeps/unix/sparc/start.c: Likewise.
74079         * sysdeps/unix/sparc/sysdep.S: Likewise.
74080         * sysdeps/unix/sparc/sysdep.h: Likewise.
74081         * sysdeps/unix/start.c: Likewise.
74082         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74083         * sysdeps/x86_64/sysdep.h: Likewise.
74085 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74087         [BZ #13553]
74088         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74089         for non-gcc.
74090         * argp/argp-fmtstream.h: Use const instead __const.
74091         * argp/argp.h: Likewise.
74092         * assert/assert.h: Likewise.
74093         * bits/fenv.h: Likewise.
74094         * bits/sched.h: Likewise.
74095         * bits/sigset.h: Likewise.
74096         * bits/sigthread.h: Likewise.
74097         * catgets/nl_types.h: Likewise.
74098         * conform/data/pthread.h-data: Likewise.
74099         * crypt/crypt-private.h: Likewise.
74100         * crypt/crypt.h: Likewise.
74101         * crypt/crypt_util.c: Likewise.
74102         * ctype/ctype.h: Likewise.
74103         * debug/execinfo.h: Likewise.
74104         * debug/mbsnrtowcs_chk.c: Likewise.
74105         * debug/mbsrtowcs_chk.c: Likewise.
74106         * debug/wcsnrtombs_chk.c: Likewise.
74107         * debug/wcsrtombs_chk.c: Likewise.
74108         * debug/wcstombs_chk.c: Likewise.
74109         * dirent/dirent.h: Likewise.
74110         * dlfcn/dlfcn.h: Likewise.
74111         * elf/neededtest4.c: Likewise.
74112         * grp/grp.h: Likewise.
74113         * gshadow/gshadow.h: Likewise.
74114         * iconv/gconv.h: Likewise.
74115         * iconv/gconv_int.h: Likewise.
74116         * iconv/gconv_simple.c: Likewise.
74117         * iconv/iconv.h: Likewise.
74118         * iconv/loop.c: Likewise.
74119         * iconv/skeleton.c: Likewise.
74120         * include/aio.h: Likewise.
74121         * include/aliases.h: Likewise.
74122         * include/argz.h: Likewise.
74123         * include/arpa/inet.h: Likewise.
74124         * include/assert.h: Likewise.
74125         * include/dirent.h: Likewise.
74126         * include/dlfcn.h: Likewise.
74127         * include/execinfo.h: Likewise.
74128         * include/fcntl.h: Likewise.
74129         * include/fenv.h: Likewise.
74130         * include/glob.h: Likewise.
74131         * include/grp.h: Likewise.
74132         * include/libintl.h: Likewise.
74133         * include/mntent.h: Likewise.
74134         * include/netdb.h: Likewise.
74135         * include/pwd.h: Likewise.
74136         * include/rpc/netdb.h: Likewise.
74137         * include/sched.h: Likewise.
74138         * include/search.h: Likewise.
74139         * include/shadow.h: Likewise.
74140         * include/signal.h: Likewise.
74141         * include/stdio.h: Likewise.
74142         * include/stdlib.h: Likewise.
74143         * include/string.h: Likewise.
74144         * include/sys/socket.h: Likewise.
74145         * include/sys/stat.h: Likewise.
74146         * include/sys/statfs.h: Likewise.
74147         * include/sys/statvfs.h: Likewise.
74148         * include/sys/syslog.h: Likewise.
74149         * include/sys/time.h: Likewise.
74150         * include/sys/uio.h: Likewise.
74151         * include/time.h: Likewise.
74152         * include/unistd.h: Likewise.
74153         * include/utmp.h: Likewise.
74154         * include/wchar.h: Likewise.
74155         * include/wctype.h: Likewise.
74156         * inet/aliases.h: Likewise.
74157         * inet/arpa/inet.h: Likewise.
74158         * inet/netinet/ether.h: Likewise.
74159         * inet/netinet/in.h: Likewise.
74160         * intl/libintl.h: Likewise.
74161         * io/bits/fcntl2.h: Likewise.
74162         * io/fcntl.h: Likewise.
74163         * io/ftw.h: Likewise.
74164         * io/sys/poll.h: Likewise.
74165         * io/sys/stat.h: Likewise.
74166         * io/sys/statfs.h: Likewise.
74167         * io/sys/statvfs.h: Likewise.
74168         * io/utime.h: Likewise.
74169         * libio/bits/stdio.h: Likewise.
74170         * libio/bits/stdio2.h: Likewise.
74171         * libio/libio.h: Likewise.
74172         * libio/libioP.h: Likewise.
74173         * libio/stdio.h: Likewise.
74174         * locale/lc-ctype.c: Likewise.
74175         * locale/locale.h: Likewise.
74176         * login/utmp.h: Likewise.
74177         * malloc/arena.c: Likewise.
74178         * malloc/malloc.c: Likewise.
74179         * malloc/malloc.h: Likewise.
74180         * malloc/mcheck.c: Likewise.
74181         * malloc/mtrace.c: Likewise.
74182         * math/bits/mathcalls.h: Likewise.
74183         * math/fenv.h: Likewise.
74184         * math/math_private.h: Likewise.
74185         * misc/bits/error.h: Likewise.
74186         * misc/bits/syslog.h: Likewise.
74187         * misc/err.h: Likewise.
74188         * misc/error.h: Likewise.
74189         * misc/fstab.h: Likewise.
74190         * misc/mntent.h: Likewise.
74191         * misc/regexp.h: Likewise.
74192         * misc/search.h: Likewise.
74193         * misc/sgtty.h: Likewise.
74194         * misc/sys/mman.h: Likewise.
74195         * misc/sys/syslog.h: Likewise.
74196         * misc/sys/uio.h: Likewise.
74197         * misc/sys/xattr.h: Likewise.
74198         * misc/ttyent.h: Likewise.
74199         * nis/rpcsvc/ypclnt.h: Likewise.
74200         * nss/nss.h: Likewise.
74201         * posix/bits/unistd.h: Likewise.
74202         * posix/fnmatch.h: Likewise.
74203         * posix/glob.h: Likewise.
74204         * posix/sched.h: Likewise.
74205         * posix/spawn.h: Likewise.
74206         * posix/sys/wait.h: Likewise.
74207         * posix/unistd.h: Likewise.
74208         * posix/wordexp.h: Likewise.
74209         * pwd/pwd.h: Likewise.
74210         * resolv/netdb.h: Likewise.
74211         * resource/sys/resource.h: Likewise.
74212         * rt/aio.h: Likewise.
74213         * rt/bits/mqueue2.h: Likewise.
74214         * rt/mqueue.h: Likewise.
74215         * shadow/shadow.h: Likewise.
74216         * signal/signal.h: Likewise.
74217         * socket/send.c: Likewise.
74218         * socket/sendto.c: Likewise.
74219         * socket/sys/socket.h: Likewise.
74220         * stdio-common/printf.h: Likewise.
74221         * stdlib/bits/stdlib.h: Likewise.
74222         * stdlib/fmtmsg.h: Likewise.
74223         * stdlib/monetary.h: Likewise.
74224         * stdlib/stdlib.h: Likewise.
74225         * stdlib/ucontext.h: Likewise.
74226         * streams/stropts.h: Likewise.
74227         * string/argz.h: Likewise.
74228         * string/bits/string2.h: Likewise.
74229         * string/string.h: Likewise.
74230         * string/strings.h: Likewise.
74231         * sunrpc/rpc/auth.h: Likewise.
74232         * sunrpc/rpc/auth_des.h: Likewise.
74233         * sunrpc/rpc/clnt.h: Likewise.
74234         * sunrpc/rpc/netdb.h: Likewise.
74235         * sunrpc/rpc/pmap_clnt.h: Likewise.
74236         * sunrpc/rpc/xdr.h: Likewise.
74237         * sysdeps/generic/inttypes.h: Likewise.
74238         * sysdeps/generic/net/if.h: Likewise.
74239         * sysdeps/generic/sys/swap.h: Likewise.
74240         * sysdeps/gnu/net/if.h: Likewise.
74241         * sysdeps/gnu/utmpx.h: Likewise.
74242         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74243         * sysdeps/i386/i486/bits/string.h: Likewise.
74244         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74245         * sysdeps/s390/bits/string.h: Likewise.
74246         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74247         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74248         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74249         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74250         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74251         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74252         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74253         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74254         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74255         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74256         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74257         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74258         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74259         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74260         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74261         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74262         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74263         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74264         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74265         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74266         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74267         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74268         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74269         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74270         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74271         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74272         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74273         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74274         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74275         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74276         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74277         * sysvipc/sys/ipc.h: Likewise.
74278         * sysvipc/sys/msg.h: Likewise.
74279         * sysvipc/sys/sem.h: Likewise.
74280         * sysvipc/sys/shm.h: Likewise.
74281         * termios/termios.h: Likewise.
74282         * time/sys/time.h: Likewise.
74283         * time/time.h: Likewise.
74284         * wcsmbs/bits/wchar2.h: Likewise.
74285         * wcsmbs/uchar.h: Likewise.
74286         * wcsmbs/wchar.h: Likewise.
74287         * wctype/wctype.h: Likewise.
74289         [BZ #13551]
74290         * Makeconfig: Remove all but ELF support including AIX support.
74291         * Makerules: Likewise.
74292         * config.h.in: Likewise.
74293         * config.make.in: Likewise.
74294         * configure: Likewise.
74295         * configure.in: Likewise.
74296         * csu/Makefile: Likewise.
74297         * csu/version.c: Likewise.
74298         * debug/Makefile: Likewise.
74299         * dlfcn/Makefile: Likewise.
74300         * elf/Makefile: Likewise.
74301         * extra-lib.mk: Likewise.
74302         * iconv/Makefile: Likewise.
74303         * include/libc-symbols.h: Likewise.
74304         * include/shlib-compat.h: Likewise.
74305         * resolv/Makefile: Likewise.
74306         * resolv/res_libc.c: Likewise.
74307         * rt/Makefile: Likewise.
74308         * sysdeps/i386/asm-syntax.h: Likewise.
74309         * sysdeps/i386/sysdep.h: Likewise.
74310         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74311         * sysdeps/mach/sysdep.h: Likewise.
74312         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74313         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74314         * sysdeps/s390/asm-syntax.h: Likewise.
74315         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74316         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74317         * sysdeps/sh/sysdep.h: Likewise.
74318         * sysdeps/unix/sparc/sysdep.h: Likewise.
74319         * sysdeps/wordsize-32/divdi3.c: Likewise.
74320         * sysdeps/x86_64/sysdep.h: Likewise.
74322         * argp/Versions: Remove _argp_unlock_xxx.
74324         [BZ #13559]
74325         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74326         * abilist/libBrokenLocale.abilist: Likewise.
74327         * abilist/libanl.abilist: Likewise.
74328         * abilist/libc.abilist: Likewise.
74329         * abilist/libcrypt.abilist: Likewise.
74330         * abilist/libdl.abilist: Likewise.
74331         * abilist/libm.abilist: Likewise.
74332         * abilist/libnsl.abilist: Likewise.
74333         * abilist/libpthread.abilist: Likewise.
74334         * abilist/libresolv.abilist: Likewise.
74335         * abilist/librt.abilist: Likewise.
74336         * abilist/libthread_db.abilist: Likewise.
74337         * abilist/libutil.abilist: Likewise.
74338         * abilist/libnss_db.abilist: New file.
74340         * scripts/abilist.awk: Add support for indirect functions.
74342         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74344         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74346         * shlib-versions: Remove entries for ports architectures.
74348         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74349         files in ports.
74350         * elf/stackguard-macros.h: Remove support for IA-64.
74351         * elf/tst-auditmod1.c: Likewise.
74352         * sysdeps/generic/ldsodefs.h: Likewise.
74354         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74355         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74356         configure files.
74358         [BZ #13552]
74359         * configure.in: Remove --enable-omitfp support.
74360         * FAQ.in: Adjust.
74361         * config.make.in: Likewise.
74362         * Makeconfig: Likewise.
74363         * manual/install.texi: Likewise.
74365         In case anyone cares, the IA-64 architecture could move to ports.
74366         * sysdeps/ia64/*: Removed.
74367         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74368         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74370         [BZ #13555]
74371         * configure.in: Remove entries for unsupported architectures.
74373         [BZ #13533]
74374         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74375         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74376         routines.
74377         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74378         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74379         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74380         fall back to using wcrtomb.
74381         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74382         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74383         renaming.
74384         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74385         * wcsmbs/tst-c16c32-1.c: New file.
74387         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74388         local variable.
74390         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74392         * elf/tst-unique3.cc: Add explicit declaration of gets.
74393         * elf/tst-unique3lib.cc: Likewise.
74394         * elf/tst-unique3lib2.cc: Likewise.
74395         * elf/tst-unique4.cc: Likewise.
74397         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74399 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74401         [BZ #13566]
74402         * assert/assert.h (static_assert): Don't define for C++.
74403         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74404         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74406 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74408         * iconv/loop.c (single loop): Fix assertion in storing of
74409         remaining bytes.
74411         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74413 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74415         * posix/getconf.c: Update copyright year.
74416         * nss/getent.c: Likewise.
74417         * nss/makedb.c: Likewise.
74418         * iconv/iconvconfig.c: Likewise.
74419         * iconv/iconv_prog.c: Likewise.
74420         * elf/ldconfig.c: Likewise.
74421         * elf/pldd.c: Likewise.
74422         * elf/sotruss.ksh: Likewise.
74423         * catgets/gencat.c: Likewise.
74424         * csu/version.c: Likewise.
74425         * elf/ldd.bash.in: Likewise.
74426         * elf/sprof.c (print_version): Likewise.
74427         * locale/programs/locale.c: Likewise.
74428         * locale/programs/localedef.c: Likewise.
74429         * login/programs/pt_chown.c: Likewise.
74430         * nscd/nscd.c (print_version): Likewise.
74431         * debug/xtrace.sh: Likewise.
74432         * malloc/memusage.sh: Likewise.
74433         * malloc/mtrace.pl: Likewise.
74434         * debug/catchsegv.sh: Likewise.
74436 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74438         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74439         pure attribute.
74441 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74443         [BZ #13533]
74444         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74445         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74446         transformations.
74447         * iconv/gconv_int.h: Likewise.
74448         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74449         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74450         from libc for GLIBC_2.16.
74451         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74452         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74453         * wcsmbs/uchar.h: Really define mbstate_t.
74454         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74455         * wcsmbs/c16rtomb.c: New file.
74456         * wcsmbs/mbrtoc16.c: New file.
74457         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74458         for C/POSIX locale.
74459         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74460         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74462         * wcsmbs/wchar.h: Add missing __restrict.
74464 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74466         [BZ #13532]
74467         * time/Makefile (routines): Add timespec_get.
74468         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74469         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74470         timespec for ISO C11.
74471         * time/timespec_get.c: New file.
74472         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74473         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74475         [BZ #13531]
74476         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74477         * stdlib/stdlib.h: Declare aligned_alloc.
74478         * Versions.def: Add GLIBC_2.16 for libc.
74479         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74481         [BZ 13527]
74482         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74483         ISO C11.
74485         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74486         code.
74488         [BZ #13528]
74489         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74491         [BZ #13529]
74492         * assert/assert.h (static_assert): Define.
74494         * version.h: Update for 2.16 development version.
74496         [BZ #13526]
74497         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74498         _ISOC11_SOURCE.
74500         * version.h (RELEASE): Bump for 2.15 release.
74501         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74503         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74504         Patch by Marek Polacek <mpolacek@redhat.com>.
74506         * bits/byteswap.h: Protect long long constants with __extension__.
74507         * sysdeps/i386/bits/byteswap.h: Likewise.
74508         * sysdeps/ia64/bits/byteswap.h: Likewise.
74509         * sysdeps/s390/bits/byteswap.h: Likewise.
74510         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74512 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74514         [BZ #13540]
74515         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74516         destination buffer.
74517         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74519 2011-12-23  Marek Polacek  <polacek@redhat.com>
74521         * elf/dl-addr.c (determine_info): Add inline keyword.
74522         * elf/tst-auditmod4b.c (check_avx): Likewise.
74523         * elf/tst-auditmod6b.c (check_avx): Likewise.
74524         * elf/tst-auditmod6c.c (check_avx): Likewise.
74525         * elf/tst-auditmod7b.c (check_avx): Likewise.
74527 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74529         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74530         !__SSE_MATH__.
74532 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74534         [BZ #13540]
74535         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
74536         processing for last bytes.
74538 2011-08-06  Bruno Haible  <bruno@clisp.org>
74540         [BZ #13061]
74541         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
74542         U+0385, not to U+1FEE.
74544         [BZ #13062]
74545         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
74546         entry for U+00A5 U+0301.
74548 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74550         [BZ #13166]
74551         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
74552         buffer for the output is too small.
74554         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
74555         optimization.
74557         [BZ #13185]
74558         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
74559         SSE flags if possible.
74561 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74563         [BZ #13540]
74564         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
74565         processing for last bytes.
74567 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
74569         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
74570         (syscall-list-default-options, syscall-list-default-condition)
74571         (syscall-list-includes): Define.
74572         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
74573         list of ABIs and options and #if conditions for each ABI.  Do not
74574         handle common syscalls between ABIs specially.
74575         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
74576         Remove.
74577         (syscall-list-variants, syscall-list-32bit-options)
74578         (syscall-list-32bit-condition, syscall-list-64bit-options)
74579         (syscall-list-64bit-condition): Define.
74580         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
74581         (syscall-list-variants, syscall-list-32bit-options)
74582         (syscall-list-32bit-condition, syscall-list-64bit-options)
74583         (syscall-list-64bit-condition): Define.
74584         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
74585         Remove.
74586         (syscall-list-variants, syscall-list-32bit-options)
74587         (syscall-list-32bit-condition, syscall-list-64bit-options)
74588         (syscall-list-64bit-condition): Define.
74589         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
74590         Remove.
74591         (syscall-list-variants, syscall-list-32bit-options)
74592         (syscall-list-32bit-condition, syscall-list-64bit-options)
74593         (syscall-list-64bit-condition): Define.
74595 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
74597         * locale/iso-639.def: Add brx entry.
74599         [BZ #13328]
74600         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
74601         Proposed by Mariusz_Cukr <marcukr@op.pl>.
74603         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
74604         __feraiseexcept_renamed.
74606 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74608         [BZ #13538]
74609         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
74610         EPOLLET with unsigned values.
74611         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74612         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74614         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
74615         to large cancellation.
74616         * math/s_cacoshf.c: Likewise.
74617         * math/s_cacoshl.c: Likewise.
74619 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
74621         [BZ #13305]
74622         [BZ #12786]
74623         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
74624         * math/s_cacoshf.c: Likewise.
74625         * math/s_cacoshl.c: Likewise.
74627 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
74629         [BZ #13439]
74630         * iconv/gconv.h: Define __GCONV_SWAP.
74631         * iconvdata/unicode.c: The swap bit must be stored in __flags.
74632         * iconvdata/utf-16.c: Likewise.
74633         * iconvdata/utf-32.c: Likewise.
74635 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
74637         [BZ #13524]
74638         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
74639         numerator after shifting it by one limb.
74641 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
74643         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
74644         under [__USE_EXTERN_INLINES].
74646 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74648         [BZ #13446]
74649         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
74651 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74653         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
74654         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
74655         optimized code.
74656         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
74657         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
74658         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
74659         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
74660         for strncasecmp/strncasecmp_l compilation.
74661         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
74662         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
74664 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
74666         [BZ #13484]
74667         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
74668         of __asm__.
74670 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
74672         [BZ #13506]
74673         * time/tzfile.c (__tzfile_read): Check values from file header.
74675 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74677         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
74678         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
74679         * powerpc/powerpc32/dl-start.S: Likewise.
74680         * powerpc/powerpc32/elf/start.S: Likewise.
74681         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
74682         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
74683         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
74684         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
74685         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
74686         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
74687         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
74688         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
74689         * powerpc/powerpc32/fpu/s_round.S: Likewise.
74690         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
74691         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
74692         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
74693         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
74694         * powerpc/powerpc32/memset.S: Likewise.
74695         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
74696         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
74697         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
74698         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
74699         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
74700         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
74701         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
74702         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
74703         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
74704         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
74705         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
74706         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74707         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74709 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74711         * math/libm-test.inc: Added more nearbyint tests.
74712         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
74713         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
74714         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
74715         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
74717 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
74719         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
74720         FD_CLOEXEC.
74722 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74724         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
74725         Add wcscpy-ssse3 wcscpy-c.
74726         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
74727         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
74728         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
74729         * sysdeps/x86_64/wcschr.S: New file.
74730         * sysdeps/x86_64/wcsrchr.S: New file.
74731         * string/test-strcmp.c: Remove checking of wcscmp function for
74732         wrong alignments.
74733         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
74734         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
74735         wcsrchr-sse2 wcsrchr-c.
74736         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
74737         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
74738         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
74739         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
74740         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
74741         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
74742         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
74743         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
74744         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
74745         * wcsmbc/wcschr.c (WCSCHR): New macro.
74747 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74749         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
74750         * wcsmbs/test-wcsrchr.c: New file.
74751         * string/test-strrchr.c: Add wcsrchr support.
74752         (WIDE): New macro.
74753         * wcsmbs/test-wcscpy.c: New file.
74754         * string/test-strcpy.c: Add wcscpy support.
74755         (WIDE): New macro.
74757 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
74759         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
74760         the inner loop.
74762 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
74764         [BZ #13472]
74765         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
74767 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
74769         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
74770         Minor optimizations.
74772         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
74773         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
74774         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
74776 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
74778         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
74779         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
74780         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
74781         for gcc to avoid warnings.
74782         * inet/Makefile (tests): Add tst-checks.
74783         * inet/tst-checks.c: New file.
74785         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
74786         warning.
74788         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
74789         __wmemcmp_sse2.
74791         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
74792         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
74794         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
74796 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
74798         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
74799         problem.
74801         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
74803 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
74805         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
74806         conditional on GCC version.
74807         (__arch_compare_and_exchange_val_8_acq)
74808         (__arch_compare_and_exchange_val_16_acq)
74809         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
74810         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
74811         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
74813 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
74815         * sysdeps/sh/backtrace.c: New file.
74817 2011-12-02  Andreas Schwab  <schwab@redhat.com>
74819         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
74820         parenthesis.
74822 2011-12-01  Andreas Schwab  <schwab@redhat.com>
74824         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
74825         falling back to utime.
74827 2011-11-30  Andreas Schwab  <schwab@redhat.com>
74829         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
74830         expectations for float.
74832 2011-11-29  Andreas Schwab  <schwab@redhat.com>
74834         * locale/weight.h (findidx): Add parameter len.
74835         * locale/weightwc.h (findidx): Likewise.
74836         * posix/fnmatch_loop.c (FCT): Adjust caller.
74837         * posix/regcomp.c (build_equiv_class): Likewise.
74838         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
74839         * posix/regexec.c (check_node_accept_bytes): Likewise.
74840         * string/strcoll_l.c (STRCOLL): Likewise.
74841         * string/strxfrm_l.c (STRXFRM): Likewise.
74843 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
74845         * Makefile.in: Remove CVSOPT handling.
74846         * configure.in: Remove use of AC_REVISION.
74847         * iconvdata/Makefile (distribute): No need to filter out CVS.
74848         * scripts/list-sources.sh: Remove CVS, subversion and monotone
74849         handling.
74851 2011-11-16  Andreas Schwab  <schwab@redhat.com>
74853         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
74854         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
74855         [USE_AS_STRNCASECMP_L]: Likewise.
74856         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
74857         NO_TLS_DIRECT_SEG_REFS.
74858         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
74859         Fix argument offsets for non-PIC.
74860         [USE_AS_STRNCASECMP_L]: Likewise.
74861         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
74862         NO_TLS_DIRECT_SEG_REFS.
74864 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74866         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
74867         O_CLOEXEC.
74868         * locale/loadlocale.c (_nl_load_locale): Likewise.
74870 2011-11-15  Andreas Schwab  <schwab@redhat.com>
74872         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
74873         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
74874         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
74875         (SYSCALL_GETTIME): Set errno on error.
74877         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
74878         count references to noai6ai_cached.
74880 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
74882         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
74884         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
74885         FD_CLOEXEC for /proc/self/maps.
74887         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
74888         FD_CLOEXEC for /proc/meminfo.
74890         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
74891         gai.conf.
74893         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
74894         FD_CLOEXEC for given file.
74896         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
74898         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
74899         FD_CLOEXEC for /etc/hosts.
74900         (_gethtent): Likewise.
74902         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
74904         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
74905         cancellation and set FD_CLOEXEC for /etc/netgroup.
74907         * nss/nss_files/files-key.c (search): Don't allow cancellation when
74908         reading /etc/publickey.
74910         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
74911         allow cancellation when reading /etc/group.
74913         * nss/nss_files/files-alias.c (internal_setent): Don't allow
74914         cancellation.
74915         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
74917         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
74918         when using data file.
74920         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
74922         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
74923         (write_nis_obj): Use "c" and "e" in fopen.
74925         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
74927         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
74929         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
74931         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
74933         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
74934         locale.alias.
74936         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
74938         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
74940         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
74942         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
74943         file parsing and set FD_CLOEXEC.
74945 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74947         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
74949 2011-11-14  Andreas Schwab  <schwab@redhat.com>
74951         * malloc/arena.c (arena_get2): Don't call reused_arena when
74952         _int_new_arena failed.
74954 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
74956         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
74957         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
74958         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
74959         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
74960         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
74961         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
74962         to compile strcasecmp and strncasecmp.
74963         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
74964         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
74966         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
74968 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
74970         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
74971         locale-defines.sym to gen-as-const-headers.
74972         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
74973         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
74974         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
74975         to compile strcasecmp and strncasecmp.
74976         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
74977         strcasecmp_l and strncasecmp_l.
74978         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
74979         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
74980         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
74981         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
74982         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
74983         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
74984         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
74985         * sysdeps/i386/i686/multiarch/strncase.S: New file.
74986         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
74987         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
74988         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
74990 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
74992         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
74993         result of SYSDEP_GETTIME_CPU to retval.
74994         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
74995         parameter list to macro.  Remove trailing semicolon.  Adjust users.
74997         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
74998         variable.
75000         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75001         mantissa words.
75002         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
75004         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
75005         from unused variable.
75007         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
75008         DWARF definitions.
75009         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75010         for assembling.
75012         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75013         over namespaces.
75015         * sunrpc/rpc_prot.c (rejected): Fix case value.
75017         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75018         unsigned long long int to avoid warnings in shift.
75020         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75021         of use of trans.
75022         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75023         variable tmp.
75025         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75026         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75027         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75029         * nis/nis_table.c (nis_list): Use variable of correct type for
75030         result of __follow_path call.
75032 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75034         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75035         of math functions ceil, trunc, floor, round, and sqrt, when
75036         avaliable on the platform.
75037         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75038         name clash.
75039         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75040         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75041         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75043 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75045         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75046         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75048 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75050         * include/unistd.h: Fix __readlink return type.
75051         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75053 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75055         * stdlib/ucontext.h: Undo last change for makecontext.
75057 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75059         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75061         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75062         * setjmp/setjmp.h: Mark functions as non-leaf.
75063         * setjmp/bits/setjmp2.h: Likewise.
75064         * stdlib/ucontext.h: Likewise.
75066 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75068         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75069         (reused_arena): Don't check arena limit.
75070         (arena_get2): Atomically check arena limit.
75072 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75074         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75075         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75077         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75078         instructions.
75080 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75082         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75083         handler when locking.
75085         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75086         Fix size of allocated buffer.
75088 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75090         [BZ #10103]
75091         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75092         declarations for long double functions.
75093         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75095         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75097 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75099         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75100         installed.
75102         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75103         is disabled.
75105 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75107         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75109 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75111         * include/alloca.h (stackinfo_alloca_round): Define.
75112         (extend_alloca): Use it.
75113         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75114         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75115         here.
75117         * scripts/check-local-headers.sh: Ignore libaudit.h.
75119         * nscd/Makefile (extra-objs): Make recursively expanded.
75121 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75123         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75124         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75126         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75127         * posix/tst-rfc3484-2.c: Likewise.
75128         * posix/tst-rfc3484-3.c: Likewise.
75130         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75131         process_vm_writev.
75132         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75133         process_vm_writev.
75134         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75135         process_vm_writev from libc using GLIBC_2.15 version.
75137         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75139 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75141         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75142         stack usage.
75144 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75146         [BZ #13367]
75147         * nss/getent.c (initgroups_keys): Show error message in case no group
75148         names are given.
75150         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75151         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75152         __bump_nl_timestamp.
75153         * nscd/connections (nscd_init): When host database is served open
75154         netlink socket and request notification about configuration changes.
75155         (main_loop_poll): Track netlink file descriptor and bump timestamp
75156         in case data becomes available.
75157         (main_loop_epoll): Likewise.
75158         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75159         (database_pers_head): Add extra_data fileds.
75160         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75161         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75162         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75163         Adjust caller.
75164         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75165         in6ai data, call __free_in6ai.
75166         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75167         Add -DHAVE_NETLINK.
75168         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75169         interface information.  Reuse previous data if netlink timestamp
75170         is not changed.
75171         (__bump_nl_timestamp): New function.
75172         (__free_in6ai): New function.
75174 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75176         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75177         close_not_cancel_no_status here.
75178         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75180 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75182         [BZ #13276]
75183         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75184         return value.
75186         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75187         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75188         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75190 2011-07-03  Andreas Jaeger  <aj@suse.de>
75192         [BZ #10709]
75193         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75194         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75195         * math/libm-test.inc (sin_test): Add test case.
75197 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75199         [BZ #13337]
75200         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75201         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75203         * elf/chroot_canon.c (chroot_canon): Cleanups.
75205         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75207         [BZ #13335]
75208         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75209         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75211         * string/test-strchr.c: Make usable for strchrnul testing.
75212         * string/test-strchrnul.c: New file.
75213         * string/Makefile (strop-tests): Add strchrnul.
75215         * po/it.po: Update from translation team.
75216         * po/es.po: Likewise.
75218 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75220         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75221         the three constants needed as parameters.  Drop the others.
75222         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75223         __m128i_strloadu_tolower.
75224         Create and initialize variable zero and use it in all the places
75225         where _mm_setzero_si128 was used.
75227         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75228         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75229         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75230         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75231         anymore.
75232         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75233         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75234         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75235         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75236         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75237         __mpranred, __mptan.
75238         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75239         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75240         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75241         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75242         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75243         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75244         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75245         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75246         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75248 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75250         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75251         redefine if SHARED.
75252         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75254         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75255         wide char related routines to wcsmbs subdir.
75257 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75259         [BZ #13344]
75260         * misc/sys/cdefs.h (__THROWNL): Define.
75261         * posix/unistd.h: Use __THREADNL instead of __THREAD
75262         for memory synchronization functions.
75264 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75266         [BZ #13349]
75267         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75268         doesn't exist.
75269         * manual/stdio.texi (Obstack Streams): Node removed.
75271 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75273         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75274         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75275         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75277         * math/math_private.h (math_force_eval): Allow non-addressable
75278         arguments.
75279         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75281 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75283         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75284         file is not needed.
75286         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75287         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75288         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75289         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75290         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75291         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75292         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75293         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75294         Add AVX variants.
75295         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75296         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75297         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75298         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75299         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75300         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75301         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75302         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75303         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75304         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75305         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75306         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75307         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75308         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75309         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75310         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75311         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75312         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75313         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75315         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75316         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75318         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75319         place.  Use VEX encoding when compiling for AVX.
75321 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75323         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75324         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75326         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75328 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75330         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75331         useless if() expression.
75332         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75333         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75334         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75335         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75336         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75337         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75338         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75339         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75340         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75341         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75342         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75343         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75344         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75345         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75346         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75347         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75348         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75349         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75350         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75352         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75354 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75356         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75357         condition.
75358         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75360 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75362         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75363         .text section.  Avoid duplicate constants.
75364         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75365         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75366         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75367         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75368         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75369         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75370         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75371         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75372         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75373         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75374         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75375         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75376         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75377         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75378         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75379         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75380         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75381         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75382         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75383         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75384         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75385         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75386         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75387         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75388         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75389         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75390         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75391         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75392         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75393         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75394         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75395         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75396         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75397         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75398         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75399         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75400         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75401         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75402         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75403         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75404         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75405         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75406         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75407         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75408         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75410 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75412         * sysdeps/x86_64/dla.h: Move to ...
75413         * sysdeps/x86_64/fpu/dla.h: ...here.
75414         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75415         situations.  Use __builtin_fma only for gcc 4.6 and up.
75417         * config.make.in: Add have-mfma4 entry.
75418         * configure.in: Substitute libc_cv_cc_fma4.
75419         * math/Makefile (dbl-only-routines): Add sincostab.
75420         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75421         Use __sincostab not sincos.
75422         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75423         name is a macro.
75424         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75425         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75426         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75427         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75428         using __copysign.
75429         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75430         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75431         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75432         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75433         and __inv.
75434         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75435         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75436         __copysign.
75437         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75438         define aliases when function name is a macro.
75439         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75440         sysdeps/ieee754/dbl-64/sincos.tbl.
75441         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75442         fma4-enabled routines.
75443         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75444         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75445         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75446         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75447         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75448         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75449         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75450         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75451         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75452         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75453         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75454         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75455         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75456         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75457         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75458         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75459         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75460         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75461         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75462         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75463         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75464         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75465         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75466         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75467         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75468         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75469         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75470         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75471         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75472         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75474         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75475         rename.
75476         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75477         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75478         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75479         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75480         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75481         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75482         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75483         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75485 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75487         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75489 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75491         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75493         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75494         prediction.
75495         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75497         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75498         Remove unused variable magic_bits.
75499         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75501         * string/strnlen.c: Define and use STRNLEN macro.
75502         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75503         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75504         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75505         * wcsmbs/wcslen.c: Define and use WCSLEN.
75506         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75507         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75508         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75509         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75510         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75511         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75512         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75514 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75517         strnlen-sse2-no-bsf.
75518         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75519         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75520         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75521         Add strnlen support.
75522         (USE_AS_STRNLEN): New macro.
75523         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75524         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75525         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75526         * sysdeps/x86_64/wcslen.S: New file.
75528 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75530         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75531         XMM-moves are used for copying on small sizes.
75533 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75535         * wcsmbs/Makefile (strop-tests): Add wcschr.
75536         * wcsmbs/test-wcschr.c: New file.
75537         * string/test-strchr.c: Update.
75538         Add wcschr support.
75539         (WIDE): New macro.
75541 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75543         * wcsmbs/Makefile (strop-tests): Add wcslen.
75544         * wcsmbs/test-wcslen.c: New file.
75545         * string/test-strlen.c: Update.
75546         Add wcslen support.
75547         (WIDE): New macro.
75549 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75551         * po/it.po: Update from translation team.
75553 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75555         * sysdeps/x86_64/wcscmp.S: Update.
75556         Fix wrong comparison semantics.
75557         wcscmp shall use signed comparison not unsigned.
75558         Don't use substraction to avoid overflow bug.
75559         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
75560         * wcsmbc/wcscmp.c: Likewise.
75561         * string/test-strcmp.c: Likewise.
75562         Add new tests to check cases with negative values.
75564 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75566         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
75567         * sysdeps/x86_64/dla.h: ...here.  New file.
75568         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
75569         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75570         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75571         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75572         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75573         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75574         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75575         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75576         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75578 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
75580         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
75581         __ynl_finite aliases.
75583 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75587         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
75588         define DLA_FMA.
75589         [DLA_FMA] (EMULV): Use DLA_FMA.
75590         [DLA_FMA] (MUL12): Use EMULV.
75591         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
75592         that are not needed.
75593         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75594         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75595         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75596         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75597         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75598         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75599         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75601 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
75603         * math/s_nan.c: Undef __nan.
75604         * math/s_nanf.c: Undef __nanf.
75605         * math/s_nanl.c: Undef __nanl.
75606         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
75607         "math_private.h".
75609 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
75611         * math/s_catan.c: Add branch predictions.
75612         * math/s_catanf.c: Likewise.
75613         * math/s_catanh.c: Likewise.
75614         * math/s_catanhf.c: Likewise.
75615         * math/s_catanhl.c: Likewise.
75616         * math/s_catanl.c: Likewise.
75617         * math/s_cexp.c: Likewise.
75618         * math/s_cexpf.c: Likewise.
75619         * math/s_cexpl.c: Likewise.
75620         * math/s_clog.c: Likewise.
75621         * math/s_clog10.c: Likewise.
75622         * math/s_clog10f.c: Likewise.
75623         * math/s_clog10l.c: Likewise.
75624         * math/s_clogf.c: Likewise.
75625         * math/s_clogl.c: Likewise.
75626         * math/s_csqrt.c: Likewise.
75627         * math/s_csqrtf.c: Likewise.
75628         * math/s_csqrtl.c: Likewise.
75629         * math/s_ctanf.c: Likewise.
75630         * math/s_ctanh.c: Likewise.
75631         * math/s_ctanhf.c: Likewise.
75632         * math/s_ctanhl.c: Likewise.
75633         * math/s_ctanl.c: Likewise.
75635         * math/math_private.h: Define __nan, __nanf, __nanl.
75636         * math/s_cacosh.c: Include <math_private.h>.
75637         * math/s_cacoshl.c: Likewise.
75638         * math/s_casinh.c: Likewise.
75639         * math/s_casinhf.c: Likewise.
75640         * math/s_casinhl.c: Likewise.
75641         * math/s_ccos.c: Rely entire on ccosh.
75642         * math/s_ccosf.c: Rely entire on ccoshf.
75643         * math/s_ccosl.c: Rely entirely on ccoshl.
75644         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
75645         Remove tests for FE_INVALID.
75646         * math/s_ccoshf.c: Likewise.
75647         * math/s_ccoshl.c: Likewise.
75648         * math/s_csin.c: Likewise.
75649         * math/s_csinf.c: Likewise.
75650         * math/s_csinh.c Likewise.
75651         * math/s_csinhf.c: Likewise.
75652         * math/s_csinhl.c: Likewise.
75653         * math/s_csinl.c: Likewise.
75654         * math/s_ctan.c: Likewise.
75655         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
75656         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
75657         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
75659 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
75661         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
75662         compilation problems.
75664         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
75665         __builtin_expect.
75667 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
75669         * sysdeps/i386/configure.in: Test for -mfma4 option.
75670         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
75671         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
75672         COMMON_CPUID_INDEX_80000001.
75673         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
75674         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
75675         use it if FMA3 is not supported.
75676         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
75678         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
75679         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
75681 2011-10-20  Andreas Schwab  <schwab@redhat.com>
75683         [BZ #12892]
75684         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
75685         it would create a cycle with a link time dependency.
75687 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
75689         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
75690         instruction.
75691         * string/Makefile (strop-tests): Add rawmemchr.
75692         * string/test-rawmemchr.c: New file.
75694         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
75695         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
75696         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
75697         when compiling str{,n}casecmp and when AVX is available.  Hook up
75698         new optimized code in initializers.
75700 2011-10-19  Andreas Schwab  <schwab@redhat.com>
75702         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
75703         __feraiseexcept instead of feraiseexcept.
75705 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
75707         * math/math_private.h: Define defaults for libc_fetestexcept and
75708         libc_feupdateenv.
75709         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
75710         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
75711         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
75712         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75713         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75714         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75715         libc_fetestexcept and libc_feupdateenv.
75717         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
75718         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
75719         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
75720         * sysdeps/x86_64/fpu/math_private.h: Define special version of
75721         libc_feholdexcept_setround.
75723         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
75724         Add s_nearbyint-c and s_nearbyintf-c.
75725         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
75726         nearbyintf inlines.
75727         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
75728         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
75729         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
75730         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
75732         * math/math_private.h: Define defaults for libc_fegetround,
75733         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
75734         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
75735         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
75736         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
75737         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
75738         standard functions.
75739         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
75740         Remove comments and hacks for old compiler versions.
75741         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
75742         libc_fegetround, libc_fesetround, libc_feholdexcept, and
75743         libc_feholdexceptl.
75745 2011-10-18  Andreas Schwab  <schwab@redhat.com>
75747         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
75748         (__feraiseexcept_renamed): Add __NTH.
75749         (feraiseexcept): Add __NTH.  Rename local variables to fix
75750         namespace violations.
75752 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
75754         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
75756         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
75758         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
75759         recently added interfaces.
75760         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
75762         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
75763         about macro parameter expansion.
75765         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
75766         __NO_MATH_INLINES is defined.  Cleanups.
75768         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
75769         and __floorf is target has SSE4.1.
75770         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
75771         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
75772         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
75773         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
75775         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
75776         name.
75777         (floorf): Likewise.
75779         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
75781 2011-10-17  Andreas Schwab  <schwab@redhat.com>
75783         * misc/sys/cdefs.h: Fix last change.
75785         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
75786         database lookup.
75788 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
75790         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
75792         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
75793         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75794         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75795         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75796         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75797         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75798         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75799         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75800         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75801         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
75802         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
75803         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
75804         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
75805         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
75806         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
75807         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
75808         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
75809         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
75810         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
75811         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
75812         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
75813         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
75815         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
75816         ceil, ceilf, floor, floorf.
75818         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
75819         Perform IRELATIVE relocations last.
75821         * elf/do-rel.h: Add another parameter nrelative, replacing the
75822         local variable with the same name.  Change name of the function
75823         to end in Rel or Rela (uppercase).
75824         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
75825         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
75826         elf_dynamic_do_##reloc function.
75828 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75830         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
75831         is sufficient, at least on modern CPUs.
75833         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
75835         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
75836         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
75838         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
75839         __expl_finite.
75840         * math/bits/math-finite.h: Add entries for exp.
75841         * math/e_expl.c: Add __*_finite alias.
75842         * sysdeps/i386/fpu/e_exp.S: Likewise.
75843         * sysdeps/i386/fpu/e_expf.S: Likewise.
75844         * sysdeps/i386/fpu/e_expl.c: Likewise.
75845         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75846         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
75847         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
75848         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
75849         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
75850         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
75851         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
75853         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
75854         is sufficient, at least on modern CPUs.
75856         * ctype/ctype-info.c (__ctype_init): Define.
75857         * include/ctype.h (__ctype_init): Declare.
75858         (__ctype_b_loc): The variable is always initialized.
75859         (__ctype_toupper_loc): Likewise.
75860         (__ctype_tolower_loc): Likewise.
75861         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
75862         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
75864 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
75866         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
75868         * configure.in: Also look in $cxxmachine/include for C++ system
75869         headers.
75871 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75873         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
75874         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
75875         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
75876         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
75877         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
75878         (USE_AS_WMEMCMP): New macro.
75879         Fixing indents.
75880         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
75881         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
75882         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
75883         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
75884         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75885         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
75886         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
75887         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
75888         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
75889         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
75890         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
75891         (USE_AS_WMEMCMP): New macro.
75892         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
75893         * sysdeps/string/test-memcmp.c: Update.
75894         Fix simple_wmemcmp.
75895         Add new tests.
75896         * wcsmbs/wmemcmp.c: Update.
75897         (WMEMCMP): New macro.
75898         Fix overflow bug.
75900 2011-10-12  Andreas Jaeger  <aj@suse.de>
75902         [BZ #13268]
75903         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
75905 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
75907         * libio/iofwide.c (do_length): Avoid warning.
75909         * ctype/ctype.h (__isctype_f): Add missing __THROW.
75911 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
75913         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
75915         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
75916         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
75917         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
75918         * sysdeps/i386/i686/fpu/e_log.S: New file.
75919         * sysdeps/i386/i686/fpu/e_logf.S: New file.
75920         * sysdeps/i386/i686/fpu/e_logl.S: New file.
75922         * ctype/ctype.h: Add support for inlined isXXX functions when
75923         compiling C++ code.
75925 2011-10-14  Andreas Schwab  <schwab@redhat.com>
75927         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75929         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
75931 2011-10-13  Roland McGrath  <roland@hack.frob.com>
75933         [BZ #13291]
75934         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
75936 2011-10-13  Andreas Schwab  <schwab@redhat.com>
75938         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
75939         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
75940         feraiseexcept.
75942         * sysdeps/x86_64/memrchr.S: Check for zero size.
75944         * string/stratcliff.c: Add memrchr tests.
75946 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75948         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75949         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
75950         rawmemchr-sse2 rawmemchr-sse2-bsf.
75951         * sysdeps/i386/i686/multiarch/memchr.S: New file.
75952         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
75953         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
75954         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
75955         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
75956         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
75957         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
75958         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
75959         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
75960         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
75961         * string/memrchr.c (MEMRCHR): New macro.
75963 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
75965         Add integration with gcc's -ffinite-math-only and optimize wrapper
75966         functions in libm.
75967         * Versions.def: Define GLIBC_2.15 version for libm.
75968         * math/Makefile (headers): Add bits/math-finite.h.
75969         * math/bits/math-finite.h: New file.
75970         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
75971         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
75972         * math/e_acoshl.c: Add __*_finite alias.
75973         * math/e_acosl.c: Likewise.
75974         * math/e_asinl.c: Likewise.
75975         * math/e_atan2l.c: Likewise.
75976         * math/e_atanhl.c: Likewise.
75977         * math/e_coshl.c: Likewise.
75978         * math/e_exp10.c: Likewise.
75979         * math/e_exp10f.c: Likewise.
75980         * math/e_exp10l.c: Likewise.
75981         * math/e_exp2l.c: Likewise.
75982         * math/e_fmodl.c: Likewise.
75983         * math/e_gammal_r.c: Likewise.
75984         * math/e_hypotl.c: Likewise.
75985         * math/e_j0l.c: Likewise.
75986         * math/e_j1l.c: Likewise.
75987         * math/e_jnl.c: Likewise.
75988         * math/e_lgammal_r.c: Likewise.
75989         * math/e_log10l.c: Likewise.
75990         * math/e_log2l.c: Likewise.
75991         * math/e_logl.c: Likewise.
75992         * math/e_powl.c: Likewise.
75993         * math/e_sinhl.c: Likewise.
75994         * math/e_sqrtl.c: Likewise.
75995         * math/e_scalb.c: Completely rewritten and optimized.
75996         * math/e_scalbf.c: Likewise.
75997         * math/e_scalbl.c: Likewise.
75998         * math/w_acos.c: Likewise.
75999         * math/w_acosf.c: Likewise.
76000         * math/w_acosl.c: Likewise.
76001         * math/w_acosh.c: Likewise.
76002         * math/w_acoshf.c: Likewise.
76003         * math/w_acoshl.c: Likewise.
76004         * math/w_asin.c: Likewise.
76005         * math/w_asinf.c: Likewise.
76006         * math/w_asinl.c: Likewise.
76007         * math/w_atan2.c: Likewise.
76008         * math/w_atan2f.c: Likewise.
76009         * math/w_atan2l.c: Likewise.
76010         * math/w_atanh.c: Likewise.
76011         * math/w_atanhf.c: Likewise.
76012         * math/w_atanhl.c: Likewise.
76013         * math/w_exp10.c: Likewise.
76014         * math/w_exp10f.c: Likewise.
76015         * math/w_exp10l.c: Likewise.
76016         * math/w_fmod.c: Likewise.
76017         * math/w_fmodf.c: Likewise.
76018         * math/w_fmodl.c: Likewise.
76019         * math/w_j0.c: Likewise.
76020         * math/w_j0f.c: Likewise.
76021         * math/w_j0l.c: Likewise.
76022         * math/w_j1.c: Likewise.
76023         * math/w_j1f.c: Likewise.
76024         * math/w_j1l.c: Likewise.
76025         * math/w_jn.c: Likewise.
76026         * math/w_jnf.c: Likewise.
76027         * math/w_log.c: Likewise.
76028         * math/w_logf.c: Likewise.
76029         * math/w_logl.c: Likewise.
76030         * math/w_log10.c: Likewise.
76031         * math/w_log10f.c: Likewise.
76032         * math/w_log10l.c: Likewise.
76033         * math/w_log2.c: Likewise.
76034         * math/w_log2f.c: Likewise.
76035         * math/w_log2l.c: Likewise.
76036         * math/w_pow.c: Likewise.
76037         * math/w_powf.c: Likewise.
76038         * math/w_powl.c: Likewise.
76039         * math/w_remainder.c: Likewise.
76040         * math/w_remainderf.c: Likewise.
76041         * math/w_remainderl.c: Likewise.
76042         * math/w_scalb.c: Likewise.
76043         * math/w_scalbf.c: Likewise.
76044         * math/w_scalbl.c: Likewise.
76045         * math/w_sqrt.c: Likewise.
76046         * math/w_sqrtf.c: Likewise.
76047         * math/w_sqrtl.c: Likewise.
76048         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76049         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76050         used.
76051         * math/math_private.h: Declare __kernel_standard_f.
76052         * math/w_cosh.c: Remove cruft and optimize a bit.
76053         * math/w_coshf.c: Likewise.
76054         * math/w_coshl.c: Likewise.
76055         * math/w_exp2.c: Likewise.
76056         * math/w_exp2f.c: Likewise.
76057         * math/w_exp2l.c: Likewise.
76058         * math/w_hypot.c: Likewise.
76059         * math/w_hypotf.c: Likewise.
76060         * math/w_hypotl.c: Likewise.
76061         * math/w_lgamma.c: Likewise.
76062         * math/w_lgamma_r.c: Likewise.
76063         * math/w_lgammaf.c: Likewise.
76064         * math/w_lgammaf_r.c: Likewise.
76065         * math/w_lgammal.c: Likewise.
76066         * math/w_lgammal_r.c: Likewise.
76067         * math/w_sinh.c: Likewise.
76068         * math/w_sinhf.c: Likewise.
76069         * math/w_sinhl.c: Likewise.
76070         * math/w_tgamma.c: Likewise.
76071         * math/w_tgammaf.c: Likewise.
76072         * math/w_tgammal.c: Likewise.
76073         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76074         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76075         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76076         Minor optimizations.  Pretty printing.  Remove cruft.
76077         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76078         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76079         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76080         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76081         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76082         * sysdeps/i386/fpu/e_asin.S: Likewise.
76083         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76084         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76085         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76086         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76087         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76088         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76089         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76090         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76091         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76092         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76093         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76094         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76095         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76096         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76097         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76098         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76099         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76100         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76101         * sysdeps/i386/fpu/e_log.S: Likewise.
76102         * sysdeps/i386/fpu/e_log10.S: Likewise.
76103         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76104         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76105         * sysdeps/i386/fpu/e_log2.S: Likewise.
76106         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76107         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76108         * sysdeps/i386/fpu/e_logf.S: Likewise.
76109         * sysdeps/i386/fpu/e_logl.S: Likewise.
76110         * sysdeps/i386/fpu/e_pow.S: Likewise.
76111         * sysdeps/i386/fpu/e_powf.S: Likewise.
76112         * sysdeps/i386/fpu/e_powl.S: Likewise.
76113         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76114         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76115         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76116         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76117         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76118         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76119         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76120         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76121         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76122         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76123         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76124         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76125         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76126         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76127         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76128         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76129         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76130         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76131         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76132         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76133         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76134         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76135         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76136         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76137         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76138         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76139         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76140         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76141         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76142         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76143         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76144         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76145         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76146         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76147         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76148         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76149         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76150         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76151         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76152         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76153         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76154         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76155         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76156         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76157         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76158         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76159         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76160         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76161         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76162         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76163         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76164         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76165         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76166         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76167         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76168         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76169         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76170         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76171         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76172         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76173         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76174         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76175         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76176         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76177         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76178         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76179         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76180         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76181         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76182         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76183         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76184         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76185         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76186         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76187         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76188         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76189         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76190         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76191         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76192         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76193         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76194         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76195         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76196         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76197         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76198         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76199         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76200         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76201         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76202         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76203         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76204         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76205         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76206         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76207         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76208         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76209         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76210         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76211         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76212         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76213         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76214         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76215         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76216         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76217         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76218         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76219         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76220         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76221         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76222         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76223         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76224         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76225         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76226         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76227         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76228         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76229         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76230         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76231         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76232         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76233         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76234         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76235         (__isnanf): Likewise.
76236         (__isinf_ns): Likewise.
76237         (__isinf_nsf): Likewise.
76238         (__finite): Likewise.
76239         (__finitef): Likewise.
76240         (__ieee754_sqrt): Define as macro.
76241         (__ieee754_sqrtf): Define as macro.
76242         (__ieee754_sqrtl): Define as macro.
76243         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76244         inlined copy.
76245         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76246         __FINITE_MATH_ONLY__ consistent.
76247         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76249 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76251         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76252         of rawmemchr.
76254         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76256 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76258         * po/ja.po: Update from translation team.
76260 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76262         * locale/programs/locarchive.c (prepare_address_space): New function.
76263         (create_archive, enlarge_archive, open_archive): Use it.
76265         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76266         inside [SHARED], where it is used.
76268         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76270         * nss/getent.c (netgroup_keys): Remove unused variable.
76271         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76273 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76275         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76276         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76277         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76278         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76279         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76280         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76281         * math/Makefile (libm-calls): Add s_isinf_ns.
76282         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76283         * math/multc3.c: Likewise.
76284         * math/s_casin.c: Likewise.
76285         * math/s_casinf.c: Likewise.
76286         * math/s_casinl.c: Likewise.
76287         * math/s_ccos.c: Likewise.
76288         * math/s_ccosf.c: Likewise.
76289         * math/s_ccosl.c: Likewise.
76290         * math/s_ctan.c: Likewise.
76291         * math/s_ctanf.c: Likewise.
76292         * math/s_ctanh.c: Likewise.
76293         * math/s_ctanhf.c: Likewise.
76294         * math/s_ctanhl.c: Likewise.
76295         * math/s_ctanl.c: Likewise.
76296         * math/w_fmod.c: Likewise.
76297         * math/w_fmodf.c: Likewise.
76298         * math/w_fmodl.c: Likewise.
76299         * math/w_remainder.c: Likewise.
76300         * math/w_remainderf.c: Likewise.
76301         * math/w_remainderl.c: Likewise.
76302         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76303         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76304         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76305         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76306         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76307         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76308         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76309         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76311         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76312         of the number.
76313         * stdio-common/printf_fphex.c: Likewise.
76314         * stdio-common/printf_size.c: Likewise.
76316         * math/e_exp10.c: Include math_private.h using <...> not "...".
76317         * math/e_exp10f.c: Likewise.
76318         * math/e_exp10l.c: Likewise.
76319         * math/e_exp2l.c: Likewise.
76320         * math/e_j0l.c: Likewise.
76321         * math/e_j1l.c: Likewise.
76322         * math/e_jnl.c: Likewise.
76323         * math/e_lgammal_r.c: Likewise.
76324         * math/e_rem_pio2l.c: Likewise.
76325         * math/e_scalb.c: Likewise.
76326         * math/e_scalbf.c: Likewise.
76327         * math/e_scalbl.c: Likewise.
76328         * math/k_cosl.c: Likewise.
76329         * math/k_sinl.c: Likewise.
76330         * math/k_tanl.c: Likewise.
76331         * math/s_cacoshf.c: Likewise.
76332         * math/s_catan.c: Likewise.
76333         * math/s_catanf.c: Likewise.
76334         * math/s_catanh.c: Likewise.
76335         * math/s_catanhf.c: Likewise.
76336         * math/s_catanhl.c: Likewise.
76337         * math/s_catanl.c: Likewise.
76338         * math/s_ccosh.c: Likewise.
76339         * math/s_ccoshf.c: Likewise.
76340         * math/s_ccoshl.c: Likewise.
76341         * math/s_cexp.c: Likewise.
76342         * math/s_cexpf.c: Likewise.
76343         * math/s_cexpl.c: Likewise.
76344         * math/s_clog.c: Likewise.
76345         * math/s_clog10.c: Likewise.
76346         * math/s_clog10f.c: Likewise.
76347         * math/s_clog10l.c: Likewise.
76348         * math/s_clogf.c: Likewise.
76349         * math/s_clogl.c: Likewise.
76350         * math/s_csin.c: Likewise.
76351         * math/s_csinf.c: Likewise.
76352         * math/s_csinh.c: Likewise.
76353         * math/s_csinhf.c: Likewise.
76354         * math/s_csinhl.c: Likewise.
76355         * math/s_csinl.c: Likewise.
76356         * math/s_csqrt.c: Likewise.
76357         * math/s_csqrtf.c: Likewise.
76358         * math/s_csqrtl.c: Likewise.
76359         * math/s_ctan.c: Likewise.
76360         * math/s_ctanf.c: Likewise.
76361         * math/s_ctanh.c: Likewise.
76362         * math/s_ctanhf.c: Likewise.
76363         * math/s_ctanhl.c: Likewise.
76364         * math/s_ctanl.c: Likewise.
76365         * math/s_ldexp.c: Likewise.
76366         * math/s_ldexpf.c: Likewise.
76367         * math/s_ldexpl.c: Likewise.
76368         * math/s_significand.c: Likewise.
76369         * math/s_significandf.c: Likewise.
76370         * math/s_significandl.c: Likewise.
76371         * math/w_acos.c: Likewise.
76372         * math/w_acosf.c: Likewise.
76373         * math/w_acosh.c: Likewise.
76374         * math/w_acoshf.c: Likewise.
76375         * math/w_acoshl.c: Likewise.
76376         * math/w_acosl.c: Likewise.
76377         * math/w_asin.c: Likewise.
76378         * math/w_asinf.c: Likewise.
76379         * math/w_asinl.c: Likewise.
76380         * math/w_atan2.c: Likewise.
76381         * math/w_atan2f.c: Likewise.
76382         * math/w_atan2l.c: Likewise.
76383         * math/w_atanh.c: Likewise.
76384         * math/w_atanhf.c: Likewise.
76385         * math/w_atanhl.c: Likewise.
76386         * math/w_cosh.c: Likewise.
76387         * math/w_coshf.c: Likewise.
76388         * math/w_coshl.c: Likewise.
76389         * math/w_dremf.c: Likewise.
76390         * math/w_exp10.c: Likewise.
76391         * math/w_exp10f.c: Likewise.
76392         * math/w_exp10l.c: Likewise.
76393         * math/w_exp2.c: Likewise.
76394         * math/w_exp2f.c: Likewise.
76395         * math/w_fmod.c: Likewise.
76396         * math/w_fmodf.c: Likewise.
76397         * math/w_fmodl.c: Likewise.
76398         * math/w_hypot.c: Likewise.
76399         * math/w_hypotf.c: Likewise.
76400         * math/w_hypotl.c: Likewise.
76401         * math/w_j0.c: Likewise.
76402         * math/w_j0f.c: Likewise.
76403         * math/w_j0l.c: Likewise.
76404         * math/w_j1.c: Likewise.
76405         * math/w_j1f.c: Likewise.
76406         * math/w_j1l.c: Likewise.
76407         * math/w_jn.c: Likewise.
76408         * math/w_jnf.c: Likewise.
76409         * math/w_jnl.c: Likewise.
76410         * math/w_lgamma.c: Likewise.
76411         * math/w_lgamma_r.c: Likewise.
76412         * math/w_lgammaf.c: Likewise.
76413         * math/w_lgammaf_r.c: Likewise.
76414         * math/w_lgammal.c: Likewise.
76415         * math/w_lgammal_r.c: Likewise.
76416         * math/w_log.c: Likewise.
76417         * math/w_log10.c: Likewise.
76418         * math/w_log10f.c: Likewise.
76419         * math/w_log10l.c: Likewise.
76420         * math/w_log2.c: Likewise.
76421         * math/w_log2f.c: Likewise.
76422         * math/w_log2l.c: Likewise.
76423         * math/w_logf.c: Likewise.
76424         * math/w_logl.c: Likewise.
76425         * math/w_pow.c: Likewise.
76426         * math/w_powf.c: Likewise.
76427         * math/w_powl.c: Likewise.
76428         * math/w_remainder.c: Likewise.
76429         * math/w_remainderf.c: Likewise.
76430         * math/w_remainderl.c: Likewise.
76431         * math/w_scalb.c: Likewise.
76432         * math/w_scalbf.c: Likewise.
76433         * math/w_scalbl.c: Likewise.
76434         * math/w_sinh.c: Likewise.
76435         * math/w_sinhf.c: Likewise.
76436         * math/w_sinhl.c: Likewise.
76437         * math/w_sqrt.c: Likewise.
76438         * math/w_sqrtf.c: Likewise.
76439         * math/w_sqrtl.c: Likewise.
76440         * math/w_tgamma.c: Likewise.
76441         * math/w_tgammaf.c: Likewise.
76442         * math/w_tgammal.c: Likewise.
76444         * po/ja.po: Update from translation team.
76446 2011-09-29  Andreas Jaeger  <aj@suse.de>
76448         [BZ #13179]
76449         * sunrpc/netname.c (netname2host): Fix logic.
76451         [BZ #6779]
76452         [BZ #6783]
76453         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76454         correctly.
76455         * math/w_remainder.c (__remainder): Likewise.
76456         * math/w_remainderf.c (__remainderf): Likewise.
76457         * math/libm-test.inc (remainder_test): Add test cases.
76459 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76461         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76462         sdiv_qrnnd.
76464 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76466         * string/test-memcmp.c: Avoid unncessary #defines.
76467         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76469 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76471         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76472         Use new sse2 version for core i3 - i7 as it's faster
76473         than sse42 version.
76474         (bit_Prefer_PMINUB_for_stringop): New.
76475         * sysdeps/x86_64/rawmemchr.S: Update.
76476         Replace with faster SSE2 version.
76477         * sysdeps/x86_64/memrchr.S: New file.
76478         * sysdeps/x86_64/memchr.S: Update.
76479         Replace with faster SSE2 version.
76481 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76483         * elf/dl-load.c (lose): Add cast to avoid warning.
76485 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76487         * po/ca.po: Update from translation team.
76489         * inet/getnetgrent_r.c: Hook up nscd.
76490         * nscd/Makefile (routines): Add nscd_netgroup.
76491         (nscd-modules): Add netgroupcache.
76492         (CFLAGS-netgroupcache.c): Define.
76493         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76494         (cache_search): Add const to second parameter.
76495         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76496         INNETGR.
76497         (dbs): Add netgrdb entry.
76498         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76499         (verify_persistent_db): Handle netgrdb.
76500         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76501         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76502         GETFDNETGR.
76503         (netgroup_response_header): Define.
76504         (innetgroup_response_header): Define.
76505         (datahead): Add netgroup_response_header and innetgroup_response_header
76506         elements.
76507         * nscd/nscd.conf: Add entries for netgroup cache.
76508         * nscd/nscd.h (dbtype): Add netgrdb.
76509         (_PATH_NSCD_NETGROUP_DB): Define.
76510         (netgroup_iov_disabled): Declare.
76511         (xmalloc, xcalloc, xrealloc): Move declarations here.
76512         (cache_search): Adjust prototype.
76513         Add netgroup-related prototypes.
76514         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76515         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76516         (__nscd_innetgr): Declare.
76517         * nscd/selinux.c (perms): Use access_vector_t as element type and
76518         add netgroup-related initializers.
76519         * nscd/netgroupcache.c: New file.
76520         * nscd/nscd_netgroup.c: New file.
76521         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76522         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76523         For four parameters use innetgr.
76524         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76525         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76526         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76527         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76529         * nscd/connections.c (register_traced_file): Don't register file
76530         for disabled databases.
76532 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
76534         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
76536         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
76537         from tree and freeing node.
76539 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
76541         * nss/nsswitch.c (__nss_database_lookup): Handle
76542         nss_parse_service_list out of memory case.
76544 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
76546         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
76547         out of memory case.
76549 2011-10-04  Andreas Schwab  <schwab@redhat.com>
76551         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
76552         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
76553         pass it down.
76554         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
76555         elf_machine_rela, elf_machine_lazy_rel.
76556         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
76557         (ELF_DYNAMIC_DO_REL): Likewise.
76558         (ELF_DYNAMIC_DO_RELA): Likewise.
76559         (ELF_DYNAMIC_RELOCATE): Likewise.
76560         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
76561         to ELF_DYNAMIC_DO_REL.
76562         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
76563         (dl_main): In trace mode always set __RTLD_NOIFUNC.
76564         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
76565         elf_machine_rela.
76566         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
76567         skip_ifunc, don't call ifunc function if non-zero.
76568         (elf_machine_rela): Likewise.
76569         (elf_machine_lazy_rel): Likewise.
76570         (elf_machine_lazy_rela): Likewise.
76571         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
76572         (elf_machine_lazy_rel): Likewise.
76573         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
76574         Likewise.
76575         (elf_machine_lazy_rel): Likewise.
76576         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76577         Likewise.
76578         (elf_machine_lazy_rel): Likewise.
76579         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
76580         (elf_machine_lazy_rel): Likewise.
76581         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
76582         (elf_machine_lazy_rel): Likewise.
76583         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
76584         (elf_machine_lazy_rel): Likewise.
76585         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
76586         (elf_machine_lazy_rel): Likewise.
76587         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
76588         (elf_machine_lazy_rel): Likewise.
76589         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
76590         (elf_machine_lazy_rel): Likewise.
76592 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
76594         * nss/nss_files/files-init.c (_nss_files_init): Use static
76595         initialization for all the *_traced_file variables.
76597 2011-09-28  Andreas Schwab  <schwab@redhat.com>
76599         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76601 2011-09-27  Roland McGrath  <roland@hack.frob.com>
76603         [BZ #13226]
76604         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
76606 2011-09-27  Andreas Schwab  <schwab@redhat.com>
76608         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76609         Reread the line before reparsing it.
76611 2011-09-26  Andreas Schwab  <schwab@redhat.com>
76613         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
76615 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
76616             Maxim Kuvyrkov  <maxim@codesourcery.com>
76617             Joseph Myers  <joseph@codesourcery.com>
76619         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
76620         if needed for __stack_chk_guard.
76622 2011-09-19  Roland McGrath  <roland@hack.frob.com>
76624         * sysdeps/posix/spawni.c (script_execute): Always define it.
76625         It will be optimized away if unused.
76626         (maybe_script_execute): New function.
76627         (__spawni): Call it.
76629         * Makerules: Don't include tls.make.
76630         (config-tls): Always set to thread.
76631         * tls.make.c: File removed.
76633 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
76635         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
76636         * config.make.in (CPPFLAGS-config): New substituted variable.
76638 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76640         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
76642         [BZ #13192]
76643         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
76644         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
76646 2011-09-15  Roland McGrath  <roland@hack.frob.com>
76648         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
76649         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
76650         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
76651         (CALL_FAIL): Likewise.
76652         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
76653         (CALL_FAIL): Macro removed.
76654         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
76656 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
76658         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
76659         for __FINITE_MATH_ONLY__ == 1.
76661 2011-09-15  Andreas Schwab  <schwab@redhat.com>
76663         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
76664         __ieee754_sqrt instead of sqrt.
76665         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
76666         __ieee754_sqrtf instead of sqrtf.
76667         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
76668         __floorf instead of floorf.
76669         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
76670         __floorf, __truncf instead of floorf, truncf.
76672 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
76674         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
76676         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
76677         __extern_always_inline.
76678         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
76679         32-bit.
76681 2011-09-14  Andreas Schwab  <schwab@redhat.com>
76683         * elf/rtld.c (dl_main): Also relocate in dependency order when
76684         doing symbol dependency testing.
76686 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
76688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
76689         Always define `refsym'.
76691 2011-09-13  Andreas Schwab  <schwab@redhat.com>
76693         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
76694         (__FD_ELT): Renamed from __FDELT.
76695         * misc/bits/select2.h (__FD_ELT): Likewise.
76696         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
76697         __FD_MASK instead of __FDELT, __FDMASK.
76698         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76699         Likewise.
76700         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
76701         Likewise.
76703         * elf/Makefile (gen-ldd): Fix pattern.
76705         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
76706         (init_tls): Likewise.
76708 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
76710         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
76712 2011-09-12  Andreas Schwab  <schwab@redhat.com>
76714         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
76715         `struct cmsghdr *' instead of `void *'.
76716         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
76717         Likewise.
76719 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
76721         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
76722         if non-absolute.
76723         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
76724         ldd_rewrite_script.
76726 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
76728         * configure.in: Remove --with-tls option.
76729         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
76730         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
76731         out in case it is missing.
76732         * sysdeps/ia64/elf/configure.in: Likewise.
76733         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
76734         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
76735         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
76736         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
76737         * sysdeps/sh/elf/configure.in: Likewise.
76738         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
76739         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76740         * sysdeps/x86_64/elf/configure.in: Likewise.
76741         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
76742         * sysdeps/mach/hurd/tls.h: Likewise.
76744         [BZ #13067]
76745         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
76747         [BZ #13090]
76748         * configure.in: Fix use of AC_INIT.
76750         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
76752 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
76754         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
76755         __set_errno.
76756         * malloc/hooks.c: Likewise.
76758         [BZ #11929]
76759         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
76760         variables statically.
76761         (narenas): Initialize.
76762         (list_lock): Initialize.
76763         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
76764         initializtion of main_arena and list_lock.  Small cleanups.
76765         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
76766         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
76767         Add initializers to main_arena and mp_.
76768         (malloc_state): Remove pagesize member.  Change all users to use
76769         GLRO(dl_pagesize).
76771         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
76772         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
76773         is always initialized.
76775         * malloc/malloc.c: Removed unused configurations and dead code.
76776         * malloc/arena.c: Likewise.
76777         * malloc/hooks.c: Likewise.
76778         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
76780         * include/tls.h: Removed.  USE___THREAD must always be defined.
76781         * bits/libc-tsd.h: Don't handle !USE___THREAD.
76782         * elf/dl-libc.c: Likewise.
76783         * elf/dl-tsd.c: Likewise.
76784         * include/errno.h: Likewise.
76785         * include/netdb.h: Likewise.
76786         * include/resolv.h: Likewise.
76787         * inet/herrno-loc.c: Likewise.
76788         * inet/herrno.c: Likewise.
76789         * malloc/arena.c: Likewise.
76790         * malloc/hooks.c: Likewise.
76791         * malloc/malloc.c: Likewise.
76792         * resolv/res-state.c: Likewise.
76793         * resolv/res_libc.c: Likewise.
76794         * sysdeps/i386/dl-machine.h: Likewise.
76795         * sysdeps/ia64/dl-machine.h: Likewise.
76796         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
76797         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
76798         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
76799         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
76800         * sysdeps/sh/dl-machine.h: Likewise.
76801         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76802         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76803         * sysdeps/unix/i386/sysdep.S: Likewise.
76804         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
76805         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
76806         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
76807         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
76808         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
76809         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
76810         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
76811         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76812         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76813         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
76814         * sysdeps/unix/x86_64/sysdep.S: Likewise.
76815         * sysdeps/x86_64/dl-machine.h: Likewise.
76816         * tls.make.c: Likewise.
76818         * configure.in: Remove --with-__thread option.  Make tests for
76819         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
76820         tls_model attribute fail if no support is available.  Remove
76821         USE_IN_LIBIO.
76822         * Makeconfig: Adjust for dropped configure option.  All features are
76823         now mandatory.
76824         * Makerules: Likewise.
76825         * Versions.def: Likewise.
76826         * argp/argp-fmtstream.c: Likewise.
76827         * argp/argp-fmtstream.h: Likewise.
76828         * argp/argp-help.c: Likewise.
76829         * assert/assert.c: Likewise.
76830         * config.h.in: Likewise.
76831         * config.make.in: Likewise.
76832         * configure: Likewise.
76833         * configure.in: Likewise.
76834         * csu/Versions: Likewise.
76835         * csu/init.c: Likewise.
76836         * elf/tst-audit2.c: Likewise.
76837         * elf/tst-tls10.c: Likewise.
76838         * elf/tst-tls10.h: Likewise.
76839         * elf/tst-tls11.c: Likewise.
76840         * elf/tst-tls12.c: Likewise.
76841         * elf/tst-tls14.c: Likewise.
76842         * elf/tst-tlsmod11.c: Likewise.
76843         * elf/tst-tlsmod12.c: Likewise.
76844         * elf/tst-tlsmod13.c: Likewise.
76845         * elf/tst-tlsmod13a.c: Likewise.
76846         * elf/tst-tlsmod14a.c: Likewise.
76847         * elf/tst-tlsmod15b.c: Likewise.
76848         * elf/tst-tlsmod16a.c: Likewise.
76849         * elf/tst-tlsmod16b.c: Likewise.
76850         * elf/tst-tlsmod7.c: Likewise.
76851         * elf/tst-tlsmod8.c: Likewise.
76852         * elf/tst-tlsmod9.c: Likewise.
76853         * gmon/gmon.c: Likewise.
76854         * grp/fgetgrent_r.c: Likewise.
76855         * grp/putgrent.c: Likewise.
76856         * hurd/fopenport.c: Likewise.
76857         * include/libc-symbols.h: Likewise.
76858         * include/tls.h: Likewise.
76859         * intl/gettextP.h: Likewise.
76860         * intl/loadinfo.h: Likewise.
76861         * locale/global-locale.c: Likewise.
76862         * locale/localeinfo.h: Likewise.
76863         * mach/devstream.c: Likewise.
76864         * malloc/arena.c: Likewise.
76865         * malloc/set-freeres.c: Likewise.
76866         * misc/err.c: Likewise.
76867         * misc/getttyent.c: Likewise.
76868         * misc/mntent_r.c: Likewise.
76869         * posix/getopt.c: Likewise.
76870         * posix/wordexp.c: Likewise.
76871         * pwd/fgetpwent_r.c: Likewise.
76872         * resolv/Versions: Likewise.
76873         * resolv/res_hconf.c: Likewise.
76874         * shadow/fgetspent_r.c: Likewise.
76875         * shadow/putspent.c: Likewise.
76876         * stdio-common/printf_fphex.c: Likewise.
76877         * stdio-common/tmpfile.c: Likewise.
76878         * stdlib/abort.c: Likewise.
76879         * stdlib/fmtmsg.c: Likewise.
76880         * sunrpc/auth_unix.c: Likewise.
76881         * sunrpc/clnt_perr.c: Likewise.
76882         * sunrpc/clnt_tcp.c: Likewise.
76883         * sunrpc/clnt_udp.c: Likewise.
76884         * sunrpc/clnt_unix.c: Likewise.
76885         * sunrpc/openchild.c: Likewise.
76886         * sunrpc/svc_simple.c: Likewise.
76887         * sunrpc/svc_tcp.c: Likewise.
76888         * sunrpc/svc_udp.c: Likewise.
76889         * sunrpc/svc_unix.c: Likewise.
76890         * sunrpc/xdr.c: Likewise.
76891         * sunrpc/xdr_array.c: Likewise.
76892         * sunrpc/xdr_rec.c: Likewise.
76893         * sunrpc/xdr_ref.c: Likewise.
76894         * sunrpc/xdr_stdio.c: Likewise.
76896 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76898         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76900 2011-07-03  Andreas Jaeger  <aj@suse.de>
76902         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
76903         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
76904         regenerate with gen-libm-tests.pl.
76906 2010-05-12  Petr Baudis  <pasky@suse.cz>
76908         [BZ #11589]
76909         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
76910         around j0() zero points by switching to j1().
76911         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76912         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76913         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76914         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76916 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76918         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
76919         instead of 0.
76920         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
76921         instead of 0.
76922         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76923         Patch in part by Pavel Roskin <proski@gnu.org>.
76925         [BZ #13138]
76926         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
76927         realloc.
76928         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
76929         Free memory block if necessary.
76931         [BZ #12847]
76932         * libio/genops.c (INTDEF): For string streams the _lock pointer can
76933         be NULL.  Don't lock in this case.
76935 2011-09-09  Roland McGrath  <roland@hack.frob.com>
76937         * elf/elf.h (ELFOSABI_GNU): New macro.
76938         (ELFOSABI_LINUX): Define to that.
76940 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
76942         * string/strncat.c (strncat): Undef the symbol in case it has been
76943         defined in bits/string.h.
76945 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
76947         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
76949         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
76950         link map.
76952 2011-08-17  Andreas Jaeger  <aj@suse.de>
76954         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
76956 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
76957             Ian Lance Taylor  <iant@google.com>
76959         * math/libm-test.inc (lround_test): New testcase.
76960         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
76962 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
76964         * Makefile: Remove support for automatic cvs check-ins.
76965         * Makerules: Likewise.
76966         * config.make.in: Likewise.
76967         * configure.in: Likewise.
76968         * intl/Makefile: Likewise.
76969         * locale/Makefile: Likewise.
76970         * po/Makefile: Likewise.
76971         * posix/Makefile: Likewise.
76972         * sysdeps/gnu/Makefile: Likewise.
76973         * sysdeps/mach/hurd/Makefile: Likewise.
76974         * sysdeps/sparc/sparc32/Makefile: Likewise.
76976         [BZ #13118]
76977         * posix/Makefile (bug-regex32-ENV): Define.
76978         Patch by John Stanley <jpsinthemix@verizon.net>.
76980         * misc/Makefile (headers): Add bits/select2.h.
76981         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
76982         * misc/bits/select2.h: New file.
76983         * include/bits/select2.h: New file.
76984         * debug/Makefile (routines): Add fdelt_chk.
76985         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
76986         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
76987         FD_ISSET.
76988         * debug/fdelt_chk.c: New file.
76990         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
76991         * wcsmbs/test-wmemcmp.c: Likewise.
76992         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
76993         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
76995 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76997         * string/Makefile (strop-tests): Add memcmp.
76998         * string/test-wmemcmp.c: New file.
76999         * string/test-memcmp.c: Add wmemcmp support.
77001 2011-09-08  Roland McGrath  <roland@hack.frob.com>
77003         [BZ #13153]
77004         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
77005         2011-07-19 change.
77007         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
77008         garbage value in a __mach_port_mod_refs call in the cases of the
77009         task-self and thread-self ports.
77011 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77013         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77015 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77017         * elf/dl-load.c (lose): Check for non-null L.
77019 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77021         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77023         * elf/dl-libc.c (dlerror_run): Pass back error code from
77024         dl_catch_error.
77026         [BZ #13123]
77027         * elf/dl-load.c (lose): Free l_origin if it is valid.
77029         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77030         names.
77031         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77032         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77033         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77034         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77035         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77036         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77038 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77040         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77041         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77042         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77043         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77044         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77045         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77046         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77047         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77048         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77049         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77051 2011-08-15  Alan Modra  <amodra@gmail.com>
77053         [BZ #13092]
77054         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77055         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77056         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77057         ppc_mcount to static-only-routines.
77058         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77059         __mcount_internal.
77060         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77061         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77063 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77065         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77066         for finite and infinity parameters.
77068 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77070         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77071         and add nop instructions for throughput optimization.
77072         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77074 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77076         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77077         aligned copy for power7 with vector-scalar instructions.
77078         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77080 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77082         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77083         AVX check.
77085 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77087         [BZ #13144]
77088         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77089         last change.
77091 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77093         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77094         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77095         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77096         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77097         clock_gettime.
77099 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77101         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77102         Forgot to demangle the pointer.
77104         * sysdeps/i386/sysdep.h: Define atom_text_section.
77105         * sysdeps/x86_64/sysdep.h: Likewise.
77106         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77107         section with atom_text_section.
77108         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77109         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77110         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77111         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77112         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77114         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77115         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77116         already be defined.  Change to take two parameters and don't assign
77117         result to variable.  Adjust all users.
77118         Define INTERNAL_GETTIME if not already defined.
77119         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77120         call.
77121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77122         HAVE_CLOCK_GETTIME_VSYSCALL.
77123         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77125         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77126         gettimeofday vsyscall, just use time.
77128 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77130         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77131         <errno.h>.
77133 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77135         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77136         syscall on x86-64.
77137         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77138         syscall.
77139         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77140         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77141         syscall if possible.
77143 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77145         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77146         e_ident.  Don't pass to find_mapsXX.
77147         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77149 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77151         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77152         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77153         * sysdeps/x86_64/multiarch/strchr.S: Update.
77154         Check bit_slow_BSF bit.
77155         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77156         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77157         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77159 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77161         [BZ #13134]
77162         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77163         before glibc 2.15.
77164         (tryshell): Define.
77165         (__spawni): Change last parameter to be flag.  Test
77166         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77167         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77168         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77169         * posix/spawni.c: Likewise.
77170         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77171         * posix/spawnp.c: Likewise.  Change normal version to use
77172         SPAWN_XFLAGS_USE_PATH.
77173         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77174         SPAWN_XFLAGS_TRY_SHELL.
77176         [BZ #13150]
77177         * posix/glob.h: Remove gcc 1.x support.
77179         [BZ #13068]
77180         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77182 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77184         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77185         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77186         strrchr-sse2-bsf
77187         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77188         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77189         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77190         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77191         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77192         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77194 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77196         * sysdeps/x86_64/wcscmp.S: New file.
77198         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77199         wcscmp-c wcscmp-sse2
77200         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77201         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77202         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77203         * wcsmbs/wcscmp.c: Allow renaming.
77205 2011-09-05  David S. Miller  <davem@davemloft.net>
77207         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77208         stack slot, rather than the struct return pointer slot.
77209         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77210         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77212         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77214 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77216         * po/ja.po: Update from translation team.
77218         [BZ #13144]
77219         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77220         kernel in 64-bit binaries.
77222 2011-09-01  David S. Miller  <davem@davemloft.net>
77224         * elf/elf.h (HWCAP_SPARC_*): Move to..
77225         * sysdeps/sparc/sysdep.h: this new file and add new values.
77226         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77227         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77228         _DL_HWCAP_COUNT to 24.
77229         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77230         entries.
77231         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77232         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77233         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77234         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77235         instead of magic constants.
77236         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77238 2011-08-31  David S. Miller  <davem@davemloft.net>
77240         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77241         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77242         Reimplement to do errno handling inline.
77243         (SYSCALL_ERROR_HANDLER): New macro.
77244         (__SYSCALL_STRING): Do not do errno handling in asm.
77245         (__CLONE_SYSCALL_STRING): Delete.
77246         (__INTERNAL_SYSCALL_STRING): Delete.
77247         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77248         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77249         (PSEUDO): Reimplement to do errno handling inline.
77250         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77251         (SYSCALL_ERROR_HANDLER): New macro.
77252         (__SYSCALL_STRING): Do not do errno handling in asm.
77253         (__CLONE_SYSCALL_STRING): Delete.
77254         (__INTERNAL_SYSCALL_STRING): Delete.
77255         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77256         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77257         i386.
77258         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77259         (inline_syscall*): Add 'err' argument.
77260         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77261         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77262         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77263         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77265         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77266         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77268 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77270         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77272 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77274         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77275         directive.
77277 2011-08-24  David S. Miller  <davem@davemloft.net>
77279         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77281 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77283         * elf/Makefile: Add rules to build and run unload8 test.
77284         * elf/unload8.c: New file.
77285         * elf/unload8mod1.c: New file.
77286         * elf/unload8mod1x.c: New file.
77287         * elf/unload8mod2.c: New file.
77288         * elf/unload8mod3.c: New file.
77290         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77291         it wasn't used.
77293 2011-08-23  David S. Miller  <davem@davemloft.net>
77295         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77296         subtract stack bias.
77297         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77298         %sp not %fp in calculations.
77299         (_JMPBUF_UNWINDS_ADJ): Likewise.
77301         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77302         (aio_suspend): Call it to force an exception region around the
77303         AIO_MISC_WAIT() invocation.
77305 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77307         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77308         backslash.
77310 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77312         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77313         protection macro.
77314         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77315         and <dl-machine.h>.
77316         (Elf64_FuncDesc): Remove.
77318 2011-08-22  David S. Miller  <davem@davemloft.net>
77320         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77321         sigaltstack check, add missing cfi directives.
77322         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77323         missing cfi directives, and sigaltstack handling.
77325 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77327         [BZ #11724]
77328         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77329         object is seen twice.
77330         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77332         * elf/Makefile (distribute): Add tst-initorder2.c.
77333         (tests): Add tst-initorder2.
77334         (modules-names): Add tst-initorder2a tst-initorder2b
77335         tst-initorder2c tst-initorder2d.  Add rules to build them.
77336         ($(objpfx)tst-initorder2.out): New rule.
77337         * elf/tst-initorder2.c: New file.
77338         * elf/tst-initorder2.exp: New file.
77340 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77342         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77344         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77345         dependencies back to end of function.
77347         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77348         $(elfobjdir)/ld.so.
77350 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77352         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77353         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77354         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77355         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77356         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77357         of __vdso_gettimeofday.
77358         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77359         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77360         attribute_hidden.
77361         (_libc_vdso_platform_setup): Remove initialization of
77362         __vdso_gettimeofday and __vdso_time.
77364 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77366         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77367         and fgetc_unlocked.
77368         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77369         getc_unlocked.
77371         * elf/dl-open.c (add_to_global): Report additions to the global scope
77372         for LD_DEBUG=scopes.
77373         (dl_open_worker): Also print scope of newly loaded dependencies.
77374         (_dl_show_scope): Indicate if there is no scope.
77376         [BZ #13114]
77377         * stdio-common/Makefile (tests): Add bug24.
77378         * stdio-common/bug24.c: New file.
77380 2011-08-19  Andreas Jaeger  <aj@suse.de>
77382         [BZ #13114]
77383         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77384         non-existant file when using close-on-exec mode.
77386 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77388         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77389         the very first instruction.
77391         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77392         the CFI state in the end.
77393         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77394         inclusion of dl-trampoline.h.
77395         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77397 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77399         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77400         expectations for long double.
77402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77403         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77405 2011-08-14  David S. Miller  <davem@davemloft.net>
77407         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77408         artificual limit depends upon the system page size.
77410 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77412         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77413         * resolv/Makefile: Define CFLAGS-libresolv.
77415 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77417         * nss/makedb.c (compute_tables): Make variables used in nested
77418         function static.
77420 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77422         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77423         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77424         if buffer was too small.
77426         * elf/pldd.c (main): Attach to all threads in the process.
77427         Rewrite /proc handling to use *at functions.
77429 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77431         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77432         specifies first scope to show.
77433         (dl_open_worker): Update callers.  Move printing scope of new
77434         object to before the relocation.
77435         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77436         * sysdeps/generic/ldsodefs.h: Update declaration.
77438         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77439         string for the scope number.
77441 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77443         * nscd/servicescache.c (cache_addserv): Make sure written is always
77444         initialized.
77446 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77448         * sysdeps/i386/i486/bits/atomic.h
77449         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77450         statement expression, so as to suppress "set but not used" warning.
77451         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77453         * string/strncat.c (STRNCAT): Use prototype definition.
77455         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77456         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77457         -Iprograms here.
77458         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77459         (localedef-modules): Add localedef.
77460         (locale-modules): Add locale.
77462         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77463         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77464         to avoid a warning.
77466 2011-08-14  David S. Miller  <davem@davemloft.net>
77468         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77469         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77471 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77473         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77474         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77475         * elf/rtld.c (dl_main): Set l_name of vDSO.
77476         Call _dl_show_scope when DL_DEBUG_SCOPES.
77477         (process_dl_debug): Recognize scopes flag and also set it for all.
77478         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77479         Declare _dl_show_scope.
77481         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77482         (do_dlopen): Pass caller_dlopen to dl_open.
77483         (__libc_dlopen_mode): Initialize caller_dlopen.
77485         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77486         of libc.  Make tolower call locale-independent.  Optimize a bit by
77487         using isdigit instead of isalnum.
77488         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77490 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77492         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77493         was a dependency or dynamically loaded.
77495 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77497         * intl/l10nflist.c: Allow architecture-specific pop function.
77498         * sysdeps/x86_64/l10nflist.c: New file.
77500         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77501         classification.
77503 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77505         * include/dirent.h: Add libc_hidden_proto for scandirat and
77506         scandirat64.  Don't declare __scandirat64.
77507         * dirent/scandirat.c: Add libc_hidden_def.
77508         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77509         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77511 2011-08-10  David S. Miller  <davem@davemloft.net>
77513         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77514         enum.
77515         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77516         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77517         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77519 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77521         * Versions.def [libc]: Add GLIBC_2.15.
77522         * dirent/Makefile (routines): Add scandirat and scandirat64.
77523         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77524         GLIBC_2.15.
77525         * dirent/dirent.h: Declare scandirat and scandirat64.
77526         * dirent/scandirat.c: New file.
77527         * dirent/scandirat64.c: New file.
77528         * sysdeps/wordsize-64/scandirat.c: New file.
77529         * sysdeps/wordsize-64/scandirat64.c: New file.
77530         * dirent/opendir.c: Define opendirat.
77531         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77532         using scandirat.
77533         * dirent/scandir64.c: Adjust for scandir.c change.
77534         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
77535         __scandirat64, and __scandir_cancel_handler.
77536         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
77537         additional parameter and use openat instead of open (outside of ld.so).
77538         Add new __opendir as wrapper around __opendirat.
77539         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
77540         here without requiring old scandirat implementation.
77542 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
77544         * dirent/scandir.c (cancel_handler): Renamed to
77545         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
77546         defined.  Adjust users.
77547         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
77548         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
77550 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
77552         * string/test-string.h (IMPL): Use __STRING to expand name and then
77553         stringify it.
77555         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
77556         of cleanups.
77558 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77560         * string/Makefile: Update.
77561         (strop-tests): Append strncat.
77562         * string/test-wcscmp.c: New file.
77563         New comprehensive test for wcscmp.
77564         * string/test-strcmp.c: Update.
77565         (WIDE): New define.
77567 2011-07-22  Andreas Schwab  <schwab@redhat.com>
77569         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
77570         line.
77572 2011-07-26  Andreas Schwab  <schwab@redhat.com>
77574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77575         encoding to ACE if AI_IDN.
77577 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
77579         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
77580         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
77582 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77584         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
77585         Fix overflow bug in strncat.
77586         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
77588         * string/test-strncat.c: Update.
77589         Add new tests for checking overflow bugs.
77591 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77593         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77594         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
77595         * sysdeps/i386/i686/multiarch/strcat.S: New file.
77596         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
77597         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
77598         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
77599         * sysdeps/i386/i686/multiarch/strncat.S: New file.
77600         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
77601         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
77603         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
77604         (USE_AS_STRCAT): Define.
77605         Add strcat and strncat support.
77606         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77608 2011-07-25  Andreas Schwab  <schwab@redhat.com>
77610         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
77611         __n bigger than INT_MAX+1.
77612         (__strncmp_g): Likewise.
77614 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
77616         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
77617         * libio/stido.h: Likewise.
77619         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
77620         (AF_NFC): Define.
77621         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
77622         (AF_NFC): Define.
77624         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
77625         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77626         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77627         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
77628         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77630         [BZ #13021]
77631         * scripts/test-installation.pl: Don't expect libnss_test1 to be
77632         installed.
77634         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
77635         typo.
77636         (_dl_x86_64_save_sse): Likewise.
77638 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
77640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
77641         OSXSAVE.
77642         (_dl_x86_64_save_sse): Likewise.
77644         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
77646         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
77648 2011-07-21  Andreas Schwab  <schwab@redhat.com>
77650         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
77651         change.
77652         (_dl_x86_64_save_sse): Use correct AVX check.
77654 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77656         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
77657         bug in strncpy/strncat.
77658         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
77660 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
77662         * string/tester.c (test_strcat): Add tests for different alignments
77663         of source and destination.
77664         (test_strncat): Likewise.
77666 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77668         [BZ #12852]
77669         * posix/glob.c (glob): Check passed in values before using them in
77670         expressions to avoid some overflows.
77671         (glob_in_dir): Likewise.
77673         [BZ #13007]
77674         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
77675         check for AVX enablement so that we don't crash with old kernels and
77676         new hardware.
77677         * elf/tst-audit4.c: Add same checks here.
77678         * elf/tst-audit6.c: Likewise.
77680         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
77682 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
77684         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
77686 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
77688         * po/cs.po: Update from translation team.
77689         * po/bg.po: Likewise.
77691 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
77693         * misc/sys/cdefs.h: Add support for const attribute.
77694         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
77695         to gnu_dev_{major,minor,makedev} functions.
77697 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
77699         * intl/dcigettext.c (get_output_charset): Add missing bracket.
77701 2011-07-20  Andreas Schwab  <schwab@redhat.com>
77703         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
77704         strlen results.
77706 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77708         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
77709         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
77710         register in order to avoid conflicts with the soft frame pointer
77711         being held in r11 when necessary.
77712         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
77713         (INTERNAL_VSYSCALL_NCS): Likewise.
77715 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
77717         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
77718         * elf/dl-fini.c (_dl_fini): Adjust caller.
77719         * elf/dl-close.c (_dl_close_worker): Likewise.
77720         * sysdeps/generic/ldsodefs.h: Adjust declaration.
77722 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77724         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
77725         "aux_cache->nlibs < 0".
77727         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
77728         in the reload-count case.
77730 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77732         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77733         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
77734         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
77735         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
77736         * sysdeps/x86_64/multiarch/strcat.S: New file.
77737         * sysdeps/x86_64/multiarch/strncat.S: New file.
77738         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
77739         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
77740         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
77741         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
77742         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
77743         (USE_AS_STRCAT): Define.
77744         Add strcat and strncat support.
77745         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77746         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
77747         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
77748         * string/strncat.c: Update.
77749         (USE_AS_STRNCAT): Define.
77750         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77751         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
77752         and i7.
77753         * sysdeps/x86_64/multiarch/init-arch.h
77754         (bit_Prefer_PMINUB_for_stringop): New.
77755         (index_Prefer_PMINUB_for_stringop): Likewise.
77756         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
77757         bit_Prefer_PMINUB_for_stringop.
77759 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77761         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
77762         buffer64.
77763         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
77764         of casting of buffer.
77765         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
77766         buffer32 and buffer64.
77767         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
77768         writes instead of casting of buffer.
77769         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
77770         buffer32.
77771         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
77772         casting of buffer.
77774 2011-07-19  Andreas Schwab  <schwab@redhat.com>
77776         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
77778 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
77780         * nscd/nscd.c (termination_handler): Don't do anything for a database
77781         if it has not yet been initialized.
77783 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77785         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77787 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
77789         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
77791 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
77793         * po/nl.po: Update from translation team.
77794         * po/sv.po: Likewise.
77796 2011-07-16  Roland McGrath  <roland@hack.frob.com>
77798         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
77799         now disallowed by GCC.
77801         * configure.in (use-default-link): Default to yes if a test -shared
77802         link meets our qualifications.
77803         * configure: Regenerated.
77805         * config.make.in (output-format): New variable.
77806         * configure.in: Check for ld --print-output-format support.
77807         * configure: Regenerated.
77808         * Makerules ($(common-objpfx)format.lds)
77809         [$(output-format) != unknown]: Just use $(output-format),
77810         instead of the linker-script munging.
77812 2011-07-14  Roland McGrath  <roland@hack.frob.com>
77814         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
77815         of $(common-objpfx)shlib.lds.
77816         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
77818         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
77819         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
77821         * configure.in (-z relro check): Adjust test code to add a large
77822         writable data section after it.
77823         * configure: Regenerated.
77825 2011-07-11  Roland McGrath  <roland@hack.frob.com>
77827         * configure.in (-z relro check): Fix test code to make the variable
77828         truly const.
77829         * configure: Regenerated.
77831 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
77833         * nscd/nscd.h (struct traced_file): Define.
77834         (struct database_dyn): Remove inotify_descr, reset_res, and filename
77835         elements.  Add traced_files.
77836         (inotify_fd): Declare.
77837         (register_traced_file): Declare.
77838         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
77839         (inotify_fd): Export.
77840         (resolv_conf_descr): Remove.
77841         (nscd_init): Move inotify descriptor creation to main.
77842         Don't register files for notification here.
77843         (register_traced_file): New function.
77844         (invalidate_cache): Don't use reset_res to determine whether to call
77845         res_init, go through the list of registered files.
77846         (main_loop_poll): The inotify descriptors are now stored in the
77847         structures for the traced files.
77848         (main_loop_epoll): Likewise.
77849         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
77850         to __nss_disable_nscd.
77851         * nscd/cache.c (prune_cache): There is no single inotify descriptor
77852         for a database anymore.  Check the records for all the registered
77853         files instead.
77854         * nss/Makefile (libnss_files-routines): Add files-init.
77855         (libnss_db-routines): Add db-init.
77856         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
77857         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
77858         * nss/nss_db/db-init.c: New file.
77859         * nss/nss_files/files-init.c: New file.
77860         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
77861         __nss_lookup_function.
77862         (__nss_lookup_function): Call nss_load_library.
77863         (nss_load_all_libraries): New function.
77864         (__nss_disable_nscd): Take parameter with callback function for files
77865         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
77866         used for the cached services.
77867         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
77868         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
77869         options for features to all the files in nscd.
77871         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
77873 2011-07-10  Roland McGrath  <roland@hack.frob.com>
77875         * csu/elf-init.c (__libc_csu_init): Comment typo.
77877 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
77879         * po/pl.po: Update from translation team.
77880         * po/ja.po: Likewise.
77881         * po/ru.po: Likewise.
77882         * po/ko.po: Likewise.
77883         * po/fr.po: Likewise.
77885 2011-07-09  Roland McGrath  <roland@hack.frob.com>
77887         * configure.in (.ctors/.dtors header and trailer check):
77888         Use an empirical test on a built program.
77889         * configure: Regenerated.
77891         * configure.in (-z relro check): Use an empirical test on a built DSO.
77892         Detect, but do not require, on ia64.
77893         * configure: Regenerated.
77895         * configure.in (READELF): Find it with AC_CHECK_TOOL.
77896         Update tests that use readelf to use $READELF instead.
77897         * configure: Regenerated.
77899 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
77901         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
77902         if the result is not used.
77904 2011-07-05  Andreas Jaeger  <aj@suse.de>
77906         [BZ#9696]
77907         * stdlib/tst-strtod.c: Add testcase.
77909 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
77911         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
77912         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
77913         The latter has a higher limit.  Take additional parameter to pass to
77914         the new function.
77915         (__pathconf): Pass file to __statfs_link_max.
77916         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
77917         __statfs_link_max.
77918         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
77919         __statfs_link_max.
77921         [BZ #12868]
77922         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
77923         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77924         Handle Lustre.
77925         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
77926         (__statfs_filesize_max): Likewise.
77927         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
77929 2011-07-05  Andreas Jaeger  <aj@suse.de>
77931         * resolv/res_comp.c (dn_skipname): Remove unused variable.
77933 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
77935         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
77936         `status' variable.
77937         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
77938         Likewise.
77940 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
77942         * Makefile (strop-tests): Add strncat.
77943         * string/test-strncat.c: New file.
77945 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
77947         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
77949 2011-06-21  Andreas Jaeger  <aj@suse.de>
77951         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
77952         Copy rule from iconvdata/Makefile.
77954 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77956         [BZ #12922]
77957         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
77958         but no long options are defined, just return 'W'.
77960 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
77962         [BZ #9696]
77963         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
77965 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
77967         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
77968         netgroups to read.
77969         (innetgr): Likewise.
77971 2011-07-05  Roland McGrath  <roland@hack.frob.com>
77973         * config.make.in (install_root): Default to $(DESTDIR).
77975 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
77977         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
77979 2011-07-02  Roland McGrath  <roland@hack.frob.com>
77981         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
77983         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
77984         containing directory rather than embedding absolute directory names.
77986         * scripts/check-local-headers.sh: Rewritten using awk.
77987         Match by word, not by line.  Print error messages for matches.
77988         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
77990         * Makerules [shlib-lds-flags empty]:
77991         ($(common-objpfx)libc_pic.opts): New target.
77992         ($(common-objpfx)libc_pic.os.clean): New target.
77993         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
77995         * config.make.in (OBJCOPY): New variable.
77996         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
77997         * configure: Regenerated.
77999         * config.make.in (use-default-link): New variable.
78000         * configure.in (use_default_link): Grok --with-default-link to set it.
78001         * configure: Regenerated.
78002         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
78003         (shlib-lds, shlib-lds-flags): Define to empty.
78005         * Makerules (shlib-lds): New variable.
78006         (shlib-lds-flags): New variable.
78007         (build-shlib, build-moduile, build-module-asneeded): Use it.
78008         ($(common-objpfx)libc.so): Use $(shlib-lds).
78009         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78010         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78012         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78013         DT_FLAGS/DT_FLAGS_1 with zero flags.
78015         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78016         linker script munging.
78018 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78020         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78021         as 128-bit value.
78022         * crypt/sha512.c (sha512_process_block): Perform total addition using
78023         128-bit if possible.
78024         (__sha512_finish_ctx): Likewise.
78025         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78026         as 64-bit value.
78027         * crypt/sha256.c (SWAP64): Define.
78028         (sha256_process_block): Perform total addition using 64-bit if
78029         possible.
78030         (__sha256_finish_ctx): Likewise.
78032 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78034         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78035         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78036         * nscd/hstcache.c (cache_addhst): Likewise.
78037         * nscd/grpcache.c (cache_addgr): Likewise.
78038         * nscd/aicache.c (addhstaiX): Likewise.
78039         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78041 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78043         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78044         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78045         * nscd/hstcache.c (cache_addhst): Likewise.
78046         * nscd/grpcache.c (cache_addgr): Likewise.
78047         * nscd/aicache.c (addhstaiX): Likewise.
78049 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78051         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78052         domain only when needed.
78054 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78057         is always restored.
78059 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78061         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78062         are re-adding the entry.
78063         * nscd/servicescache.c (cache_addserv): Likewise.
78065 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78067         * sysdeps/generic/dl-irel.h: fix protection against multiple
78068         inclusions.
78069         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78071 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78073         [BZ #12935]
78074         * malloc/memusage.sh: Fix quoting in message.
78075         * debug/xtrace.sh: Likewise.
78077         * configure.in: Remove support for --experimental-malloc option, make
78078         it the default.
78079         * config.make.in: Likewise.
78080         * malloc/Makefile: Likewise.
78082 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78084         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78085         two-byte characters.
78087 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78089         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78090         AC_CACHE_CHECK invocation.
78091         * configure: Regenerated.
78093         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78095 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78097         [BZ #12350]
78098         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78099         bit from old_res_options.
78101         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78103         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78104         value type for setfct.
78106 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78108         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78109         __gettimeofday instead of gettimeofday.
78111 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78113         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78115 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78117         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78119         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78120         info.
78122 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78124         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78125         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78126         strcpy-sse2-unaligned strncpy-sse2-unaligned
78127         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78128         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78129         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78130         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78131         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78132         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78133         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78134         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78135         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78136         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78137         (STRCPY): Support SSE2 and SSSE3 versions.
78139 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78141         [BZ #12874]
78142         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78143         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78144         kernels which artificially limit size of requests.
78146 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78148         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78149         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78150         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78151         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78152         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78153         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78154         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78155         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78156         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78157         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78158         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78159         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78160         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78161         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78162         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78164         Enable unaligned load optimization for Intel Core i3, i5 and i7
78165         processors.
78166         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78167         Define.
78168         (index_Fast_Unaligned_Load): Define.
78169         (HAS_FAST_UNALIGNED_LOAD): Define.
78171 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78173         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78175 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78177         [BZ #12907]
78178         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78179         until it is clear that the information is realy needed.
78180         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78182 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78186 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78188         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78189         /sys/devices/system/cpu/online if it is usable.
78191         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78192         reading the information from the /proc filesystem to once a second.
78194 2011-06-21  Andreas Jaeger  <aj@suse.de>
78196         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78197         NULL after inclusion of kernel headers.
78199 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78201         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78202         calls to internal_setent.
78204         [BZ #12885]
78205         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78206         addresses using gethostbyname4_r ignore IPv4 addresses.
78208         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78209         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78211         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78213 2011-06-20  David S. Miller  <davem@davemloft.net>
78215         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78216         inclusions.
78217         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78219         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78220         (elf_irel): Use it.
78221         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78222         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78223         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78224         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78225         * sysdeps/x86_64/dl-irel.h: Likewise.
78227         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78228         * elf/dl-sym.c: Likewise.
78230 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78232         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78233         need to dereference resplen2.
78235 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78237         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78239 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78241         * Makeconfig: Define vardbdir and inst_vardbdir.
78242         * nss/Makefile: Add rules to install db-Makefile.
78244         * nss/nss_db/db-XXX.c: Cleanup.
78246         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78247         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78248         GLIBC_PRIVATE.
78249         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78250         * nss/makedb.c: Implement -g option to specify that value strings
78251         are generated and should not be added to table iterated over for
78252         get*ent calls.
78253         * nss/nss_db/db-initgroups.c: New file.
78255         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78256         interface.
78258         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78259         (internal_getgrouplist): Adjust to name change.
78260         Update use_initgroups_entry if this is not the first call.
78261         * nss/databases.def: Add initgroups entry.
78263         * nss/makedb.c (compute_tables): Check result of multiple hash table
78264         sizes to minimize maximum chain length.
78266 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78268         * Versions.def: Add entry for libnss_db.
78269         * shlib-versions: Likewise.
78270         * nss/Makefile: Add rules to build libnss_db.
78271         * nss/Versions: Add libnss_db information.  Organize libnss_files
78272         entries better.
78273         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78274         makedb progra.  Some minor improvements to generate smaller files.
78275         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78276         here from...
78277         * nss/makedb.c: ...here.
78278         Improve database format to be smaller and require less memory at
78279         runtime.
78280         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78281         db anymore.
78282         * nss/nss_db/db-netgrp.c: Likewise.
78283         * nss/nss_db/db-open.c: Likewise.
78284         * nss/nss_files/flies-XXX.x: Adjust comments.
78285         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78286         * nss/nss_files/files-grp.c: Likewise.
78287         * nss/nss_files/files-hosts.c: Likewise.
78288         * nss/nss_files/files-network.c: Likewise.
78289         * nss/nss_files/files-proto.c: Likewise.
78290         * nss/nss_files/files-pwd.c: Likewise.
78291         * nss/nss_files/files-rpc.c: Likewise.
78292         * nss/nss_files/files-service.c: Likewise.
78293         * nss/nss_files/files-sgrp.c: Likewise.
78294         * nss/nss_files/files-spwd.c: Likewise.
78295         * nss/nss_db/db-alias.c: Removed.
78296         * nss/nss_db/dummy-db.h: Removed.
78298 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78300         * nss/makedb.c: Rewritten to not use database library.
78301         * nss/Makefile: Update to build new makedb program.
78303 2011-06-14  Andreas Jaeger  <aj@suse.de>
78305         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78306         memset declaration.
78308 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78311         tmpbuf.
78313 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78315         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78316         * elf/Makefile ($(objpfx)ld.so): Likewise.
78318         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78319         Don't list ld.so twice in dependencies.
78321         * posix/bug-regex31.c: Include <stdlib.h>.
78323         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78325         * nis/nss_compat/compat-spwd.c
78326         (getspent_next_nss_netgr): Remove unused variable.
78327         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78329         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78330         nonmembers" output to use the right array.
78332         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78334         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78336         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78337         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78338         * catgets/gencat.c (read_input_file): Likewise.
78339         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78341         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78342         variable definition inside #if's controlling its use.
78344         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78346         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78348         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78350         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78351         unreachable code.
78353         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78355         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78356         * configure: Regenerated.
78358         * Makerules: Revert last change.
78359         * elf/Makefile: Likewise.
78361 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78363         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78364         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78365         (reloc-link): Likewise.
78367 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78369         * elf/Makefile: Add rules to build pldd.
78370         * elf/pldd.c: New file.
78371         * elf/pldd-xx.c: New file.
78373 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78375         * version.h: Update for 2.15 development version.
78377 2011-06-07  David S. Miller  <davem@davemloft.net>
78379         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78380         ifuncs.
78381         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78382         elf_machine_lazy_rel): Likewise.
78383         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78384         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78385         elf_machine_lazy_rel): Likewise.
78386         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78387         dl_hwcap via passed in argument.
78388         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78389         Likewise.
78391 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78393         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78395 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78397         [BZ #12849]
78398         * manual/fdl-1.1.texi: New file, verbatim from:
78399         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78400         * manual/lgpl-2.1.texi: New file, verbatim from:
78401         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78402         * manual/Makefile (licenses): New variable, list those new file names.
78403         (texis): Use it.
78404         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78406         * manual/fdl.texi: File removed.
78407         * manual/lesser.texi: File removed.
78408         * manual/libc.texinfo (Copying, Documentation License):
78409         Use new @include file names, put @appendix directive before @include.
78411 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78413         [BZ #12841]
78414         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78415         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78416         (mq_open): Add __NTH.
78418 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78421         Assume Intel Core i3/i5/i7 processor if AVX is available.
78423 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78425         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78426         typo.
78428 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78430         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78431         memory.  Use alloca_account.  Fix memory leak when retrying.
78433 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78435         * version.h (RELEASE): Bump for 2.14 release.
78436         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78438         * config.make.in (RANLIB): Remove entry.
78440 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78442         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78443         (libc.pot): Work around missing support for .ksh extension in xgettext.
78445         [BZ #12684]
78446         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78447         if both request failed.
78448         (send_dg): In case of server errors clear resplen or *resplen2.
78450         [BZ #12454]
78451         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78452         when there are multiple maps.
78453         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78454         (_dl_fini): Remove test here.
78456         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78458 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78460         [BZ #12350]
78461         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78462         bit from old_res_options.
78463         (gaih_inet): Likewise.
78465         [BZ #11099]
78466         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78467         as signed.
78469         * resolv/res_init.c (res_setoptions): Make the code more compact.
78471         [BZ #11558]
78472         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78473         set RES_USEVC.
78475         [BZ #11634]
78476         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78478         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78480         [BZ #11781]
78481         * malloc/malloc.h: Declare malloc hook variables as volatile.
78483         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78484         in last patch.
78486         [BZ #11799]
78487         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78488         raise in the comment.
78489         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78490         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78491         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78493 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78495         [BZ #12811]
78496         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78497         grow the buffers more if it already has to be sufficient.
78498         (build_wcs_upper_buffer): Likewise.
78499         * posix/regexec.c (check_matching): Likewise.
78500         (clean_state_log_if_needed): Likewise.
78501         (extend_buffers): Don't enlarge buffers beyond size of the input
78502         buffer.
78503         Patches mostly by Emil Wojak <emil@wojak.eu>.
78504         * posix/bug-regex32.c: New file.
78505         * posix/Makefile (tests): Add bug-regex32.
78507         * locale/findlocale.c (_nl_find_locale): Return right away if
78508         _nl_explode_name failed.
78509         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78511         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78513         * debug/xtrace.sh: Unify messages.
78514         * malloc/memusage.sh: Likewise.
78516         [BZ #12813]
78517         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78518         time symbol from vDSO.  Substitute with vsyscall if not available.
78519         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78520         __vdso_time.
78522         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78523         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78524         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78525         Add sendmmsg and internal_sendmmsg.
78526         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78527         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78528         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78530         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78531         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78532         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
78534 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
78536         [BZ #12813]
78537         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
78538         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
78539         available.
78540         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
78541         __vdso_getcpu.
78543         [BZ #12814]
78544         * iconvdata/Makefile (tests): Add bug-iconv9.
78545         * iconvdata/bug-iconv9.c: New file.
78547 2011-05-27  Andreas Schwab  <schwab@redhat.com>
78549         [BZ #12814]
78550         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
78552 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
78554         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78555         (struct user_regs_struct): Change intcs field back to cs.
78557 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
78559         * po/ja.po: Update from translation team.
78561 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
78563         [BZ #12795]
78564         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
78565         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
78567 2011-05-20  Andreas Schwab  <schwab@redhat.com>
78569         * stdlib/longlong.h: Update from GCC.
78571 2011-05-23  Andreas Schwab  <schwab@redhat.com>
78573         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
78574         parameter name.
78575         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
78576         Add parameter name.
78577         (__sysconf): Pass it down.
78579 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
78581         [BZ #12671]
78582         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
78583         some situations.
78584         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
78585         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
78586         add in in __libc_use_alloca calls.  Adjust callers.
78587         (glob): Use malloc in some situations.
78589         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
78590         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
78591         pltexit.
78593 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
78595         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
78596         and CLOCK_BOOTTIME_ALARM.
78598         [BZ #12782]
78599         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
78600         is returned.
78602         * string/_strerror.c (__strerror_r): Print negative errors as signed
78603         numbers.
78605         [BZ #12777]
78606         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
78607         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
78608         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
78610         * configure.in: Fix typo in redirection and correct removal of test
78611         files in two cases.
78613         [BZ #12788]
78614         * locale/setlocale.c (new_composite_name): Fix test to check for
78615         identical name of all categories.
78617         [BZ #12792]
78618         * libio/filedoalloc.c (local_isatty): New function.
78619         (_IO_file_doallocate): Use local_isatty.
78620         * stdio-common/perror.c (perror): In case a new stream is used
78621         forward the stream error.
78622         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
78623         error flag.
78625 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
78627         [BZ #11884]
78628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
78629         alloca.
78630         * include/alloca.h (extend_alloca_account): Define.
78632         [BZ #11857]
78633         * posix/regex.h: Fix comments with documentation of user-accessible
78634         fields after compilation and describe correct free'ing of pattern
78635         after re_compile_pattern.
78636         Patch by Reuben Thomas <rrt@sc3d.org>.
78638 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
78640         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
78641         and -mno-altivec to prevent the compiler from using Altivec and/or
78642         VSX instructions when the corresponding registers are not available.
78644 2011-05-19  Andreas Schwab  <schwab@redhat.com>
78646         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
78648 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
78650         * libio/freopen.c (freopen): Use __dup2, not dup2.
78651         * libio/freopen64.c (freopen64): Likewise.
78653 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78655         [BZ #12775]
78656         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
78657         * math/Makefile (tests): Add test-powl.
78658         (CFLAGS-test-powl.c): Define.
78659         * math/test-powl.c: New file.
78661 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78663         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
78665 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
78667         [BZ #11837]
78668         * iconvdata/gb18030.c: Update to GB18020-2005.
78670 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
78672         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
78673         RE_SYNTAX_POSIX_AWK): Update to match recent development.
78674         Patch by Aharon Robbins <arnold@skeeve.com>.
78676         [BZ #11892]
78677         * stdlib/putenv.c (putenv): Don't always create copy of the variable
78678         on the stack.
78680         [BZ #11895]
78681         * misc/pselect.c (__pselect): Handle timeout value errors hidden
78682         through underflows.
78684         [BZ #12766]
78685         * misc/error.c (error_at_line): Ensure file_name and old_file_name
78686         point to strings before performing equality test for error_one_per_line
78687         mode.
78689         [BZ #11697]
78690         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
78692         [BZ #11820]
78693         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
78694         (struct user_fpregs_struct): Avoid __uint*_t types.
78696         [BZ #6420]
78697         * malloc/mtrace.c (tr_where): Add additional parameter to point to
78698         symbol info.  Use it instead of calling _dl_addr locally.
78699         (lock_and_info): New function.
78700         (tr_freehook): Call lock_and_info and pass symbol info as additional
78701         parameter to tr_where.
78702         (tr_mallochook): Likewise.
78703         (tr_reallochook): Likewise.
78704         (tr_memalignhook): Likewise.
78706         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
78707         used and couldn't be at all thread-safe.
78709 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
78711         * libio/freopen.c (freopen): Don't close old file descriptor
78712         before the new one is opened.  Instead dup the new file descriptor
78713         to the old one after the new stream is created.
78714         * libio/freopen64.c (freopen64): Likewise.
78715         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
78716         * libio/fileops.c (_IO_new_file_close_it): Handle new
78717         _IO_FLAGS2_NOCLOSE flag.
78718         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
78719         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
78720         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
78721         _IO_FLAGS2_NOCLOSE flag.
78722         * include/unistd.h: Add hidden_proto for dup3.
78723         Define __have_dup3.
78724         * io/dup3.c: Define hidden symbol.
78725         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
78727         [BZ #7101]
78728         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
78729         when an incomplete long option is used.
78730         * posix/tst-getopt_long1.c: New file.
78731         * posix/Makefile (tests): Add tst-getopt_long1.
78733         [BZ #10138]
78734         * scripts/config.guess: Update from autoconf-2.68.
78735         * scripts/config.sub: Likewise.
78737         [BZ #10157]
78738         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
78739         tests into ...
78740         (has_cpuclock): ...this.  New function.
78741         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
78742         macro here based on has_cpuclock code.
78744         [BZ #10149]
78745         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78746         First byte (not low byte) is now always NUL.
78747         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
78749         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
78750         Use non-cancelable interfaces.
78752         [BZ #9809]
78753         * locale/iso-639.def: Add entry for Sorani.
78755         [BZ #11901]
78756         * include/stdlib.h: Move include protection to the right place.
78757         Define abort_msg_s.  Declare __abort_msg with it.
78758         * stdlib/abort.c (__abort_msg): Adjust type.
78759         * assert/assert.c (__assert_fail_base): New function.  Majority
78760         of code from __assert_fail.  Allocate memory for __abort_msg with
78761         mmap.
78762         (__assert_fail): Now call __assert_fail_base.
78763         * assert/assert-perr.c: Remove bulk of implementation.  Use
78764         __assert_fail_base.
78765         * include/assert.hL Declare __assert_fail_base.
78766         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
78767         mmap.
78768         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
78770 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
78772         [BZ #11952]
78773         [BZ #12453]
78774         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
78775         until all modules are registered in the DTV.
78776         * elf/Makefile: Add rules to build and run tst-tls19.
78777         * elf/tst-tls19.c: New file.
78778         * elf/tst-tls19mod1.c: New file.
78779         * elf/tst-tls19mod2.c: New file.
78780         * elf/tst-tls19mod3.c: New file.
78781         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
78783         [BZ #12083]
78784         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
78785         correctly.
78787         [BZ #12601]
78788         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
78789         two-byte sequence errors.
78790         * iconvdata/Makefile (tests): Add bug-iconv8.
78791         * iconvdata/bug-iconv8.c: New file.
78793         [BZ #12626]
78794         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
78795         buf2 definition.
78797         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
78799         [BZ #12432]
78800         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
78801         (dummy_getcfa): New function.
78802         (init): Get _Unwind_GetCFA address, use dummy if not found.
78803         (backtrace_helper): In recursion check, also check whether CFA changes.
78804         (__backtrace): Completely initialize arg.
78806         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
78807         storing incomplete byte sequence in state object.  Avoid testing for
78808         guaranteed too small input if we know there is enough data available.
78810 2011-05-11  Andreas Schwab  <schwab@redhat.com>
78812         * Makeconfig (+link-pie): Indent.
78813         * Rules (binaries-pie): Define if $(have-fpie) and
78814         $(build-shared).
78815         (binaries-shared): Also filter out $(binaries-pie).
78816         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
78817         * nscd/Makefile (others-pie): Add nscd.
78818         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
78819         ($(objpfx)nscd): Remove command override.
78820         * login/Makefile (others-pie): Add pt_chown.
78821         ($(objpfx)pt_chown): Remove command override.
78822         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
78823         remove command overrides.
78825 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
78827         * libio/tst_putwc.c: Fix error messages.
78829         [BZ #12724]
78830         * libio/fileops.c (_IO_new_file_close_it): Always flush when
78831         currently writing and seek to current position when not.
78832         * libio/Makefile (tests): Add bug-fclose1.
78833         * libio/bug-fclose1.c: New file.
78835 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
78837         [BZ #12511]
78838         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
78839         don't set DF_1_NODELETE here.
78840         (do_lookup_x): When entering new entry test for copy relocation
78841         and if necessary set DF_1_NODELETE flag.
78842         * elf/tst-unique4.cc: New file.
78843         * elf/tst-unique4.h: New file.
78844         * elf/tst-unique4lib.cc: New file.
78845         * elf/Makefile: Add rules to build and run tst-unique4.
78846         Patch by Piotr Bury <pbury@goahead.com>.
78848 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
78850         [BZ #12052]
78851         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
78853         [BZ #12625]
78854         * misc/mntent_r.c (addmntent): Flush the stream after the output
78856         [BZ #12393]
78857         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
78858         (is_trusted_path_normalize): Skip initial colon.  Append slash
78859         to empty buffer.  Duplicate is_trusted_path code but allow
78860         constructed patch to be prefix.
78861         (is_dst): Allow $ORIGIN followed by /.
78862         (_dl_dst_substitute): Correct clearing of check_for_trusted.
78863         Correct testing of result of is_trusted_path_normalize
78864         (decompose_rpath): Fix warning.
78866 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
78868         [BZ #11257]
78869         * grp/initgroups.c (internal_getgrouplist): When we found the service
78870         list through the initgroups entry in nsswitch.conf do not always
78871         continue on a successful lookup.  Don't always use the
78872         __nss_group_database value if it is set.
78873         * nss/nsswitch.conf (initgroups): Change action for successful db
78874         lookup to continue for compatibility.
78876 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
78878         [BZ #11532]
78879         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
78880         and CP774 modules.
78881         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
78882         and CP774 modules.
78883         * iconvdata/tst-tables.sh: Likewise.
78884         * iconvdata/cp770.c: New file.
78885         * iconvdata/cp771.c: New file.
78886         * iconvdata/cp772.c: New file.
78887         * iconvdata/cp773.c: New file.
78888         * iconvdata/cp774.c: New file.
78889         * iconvdata/testdata/CP770: New file.
78890         * iconvdata/testdata/CP770..UTF8: New file.
78891         * iconvdata/testdata/CP771: New file.
78892         * iconvdata/testdata/CP771..UTF8: New file.
78893         * iconvdata/testdata/CP772: New file.
78894         * iconvdata/testdata/CP772..UTF8: New file.
78895         * iconvdata/testdata/CP773: New file.
78896         * iconvdata/testdata/CP773..UTF8: New file.
78897         * iconvdata/testdata/CP774: New file.
78898         * iconvdata/testdata/CP774..UTF8: New file.
78900         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
78901         END CHARMAP line.
78902         * iconvdata/gen-8bit-gap.sh: Likewise.
78903         * iconvdata/gen-8bit.sh: Likewise.
78905         * locale/iso-639.def: Add ary entry.
78907         [BZ #11258]
78908         * locale/C-translit.h.in: Add U20A1 transliteration.
78910         [BZ #12178]
78911         * locale/iso-639.def: Add wae entry.
78912         Patch by Kevin Bortis <bortis@translate-wae.ch>.
78914         [BZ #12545]
78915         * locale/programs/localedef.c (construct_output_path): Use ssize_t
78916         for n.
78918         [BZ #12711]
78919         * locale/C-translit.h.in: Add entry for U20B9.
78920         Patch by pravin.d.s@gmail.com.
78922 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
78924         [BZ #12713]
78925         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
78926         ENAMETOOLONG use generic getcwd.
78927         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
78928         in rtld.  Use *stat64.
78929         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
78930         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
78931         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
78932         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
78933         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
78934         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
78935         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
78936         __fstatat64 macros.
78937         * include/dirent.h: Add libc_hidden_proto for rewinddir.
78938         * dirent/rewinddir.c: Add libc_hidden_def.
78939         * sysdeps/mach/hurd/rewinddir.c: Likewise.
78940         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
78942         * include/dirent.h (__alloc_dir): Add flags parameter.
78943         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
78944         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
78945         __alloc_dir.
78946         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
78947         from fdopendir if O_CLOEXEC is already set.
78949 2011-03-15  Alan Modra  <amodra@gmail.com>
78951         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
78952         l_tls_firstbyte_offset non-zero.  Save padding offset in
78953         l_tls_firstbyte_offset for later use.
78954         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
78955         freeing static tls block.
78957 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
78959         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
78960         where #ifdef was intended.  The intent is to prevent ARG_MAX from
78961         being defined by the kernel headers.
78963 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
78965         [BZ #12734]
78966         * resolv/resolv.h: Define RES_NOTLDQUERY.
78967         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
78968         no-tld-query and set RES_NOTLDQUERY.
78969         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
78970         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
78971         modern BIND to search name as TLD unless forbidden.
78973 2011-05-07  Petr Baudis  <pasky@suse.cz>
78974             Ulrich Drepper  <drepper@gmail.com>
78976         [BZ #12393]
78977         * elf/dl-load.c (fillin_rpath): Move trusted path check...
78978         (is_trusted_path): ...to here.
78979         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
78980         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
78981         using is_trusted_path_normalize() in setuid scripts.
78983 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
78985         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
78986         __BEGIN/__END_DECLS.
78988 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
78990         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
78991         NSS_STATUS_NOTFOUND if no record was found.
78993 2011-05-05  Andreas Schwab  <schwab@redhat.com>
78995         * sunrpc/Makefile (headers): Add rpc/netdb.h.
78996         (headers-not-in-tirpc): Remove rpc/netdb.h
78997         * resolv/netdb.h: Revert last change.
78999 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79001         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
79002         circular dependency between libgcc.a and libc.a.
79004 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79006         * resolv/netdb.h: Don't include <rpc/netdb.h>.
79007         * nis/Makefile: Don't install rpcsvc/*.
79008         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79009         instead of <rpc/types.h>.
79010         (MAXHOSTNAMELEN): Define.
79012 2011-05-03  Andreas Schwab  <schwab@redhat.com>
79014         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79016 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79018         [BZ #12714]
79019         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79020         gethostbyname4_r when IPv6 results are possible.
79022 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79024         [BZ #12723]
79025         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79026         _PC_PIPE_BUF handling.
79028 2011-04-30  Bruno Haible  <bruno@clisp.org>
79030         [BZ #12717]
79031         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79032         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79033         to 'int'.
79034         * inet/getnameinfo.c (getnameinfo): Likewise.
79036 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79038         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79039         to groups setting in database lookup.
79040         * nss/nsswitch.conf: Add initgroups entry.
79042 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79044         [BZ #12685]
79045         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79046         mode string.
79047         Patch by Eric Blake <eblake@redhat.com>.
79049 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79051         * sunrpc/Makefile (need-export-routines): Add svc_run.
79052         (routines): Remove svc_run.
79053         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79054         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79055         * sunrpc/svc_run.c (svc_run): Likewise.
79056         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79058 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79060         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79061         problem in reallocation in last patch.
79063 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79065         * sunrpc/Makefile: Move inclusion of Rules.
79067 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79069         * nss/nss_files/files-initgroups.c: New file.
79070         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79071         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79072         _nss_files_initgroups_dyn.
79074 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79076         * elf/elf.h (R_ARM_IRELATIVE): Define.
79078 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79080         * po/ru.po: Update from translation team.
79082 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79084         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79085         dependencies.
79087 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79089         [BZ #12653]
79090         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79091         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79092         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79093         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79094         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79096 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79098         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79099         differing bytes.
79100         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79101         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79102         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79104 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79106         [BZ #12420]
79107         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79108         storing it.
79109         * stdlib/bug-getcontext.c: New file.
79110         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79112 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79114         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79115         instructions into .machine "z9-109".
79116         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79117         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79119 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79121         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79122         between environment variables and auxiliary vector.
79124 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79126         * Makefile: Add rules to build linkobj/libc.so.
79127         * include/libc-symbols.h: Define libc_hidden_nolink.
79128         * include/rpc/auth.h: Mark functions which are to be hidden.
79129         * include/rpc/auth_des.h: Likewise.
79130         * include/rpc/auth_unix.h: Likewise.
79131         * include/rpc/clnt.h: Likewise.
79132         * include/rpc/des_crypt.h: Likewise.
79133         * include/rpc/key_prot.h: Likewise.
79134         * include/rpc/pmap_clnt.h: Likewise.
79135         * include/rpc/pmap_prot.h: Likewise.
79136         * include/rpc/pmap_rmt.h: Likewise.
79137         * include/rpc/rpc_msg.h: Likewise.
79138         * include/rpc/svc.h: Likewise.
79139         * include/rpc/svc_auth.h: Likewise.
79140         * include/rpc/xdr.h: Likewise.
79141         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79142         * nss/Makefile: Likewise.
79143         * sunrpc/Makefile: Don't install headers.  Build library with normal
79144         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79145         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79146         for the compat linking library.  Remove use of INTDEF/INTUSE.
79147         * sunrpc/auth_none.c: Likewise.
79148         * sunrpc/auth_unix.c: Likewise.
79149         * sunrpc/authdes_prot.c: Likewise.
79150         * sunrpc/authuxprot.c: Likewise.
79151         * sunrpc/clnt_gen.c: Likewise.
79152         * sunrpc/clnt_perr.c: Likewise.
79153         * sunrpc/clnt_raw.c: Likewise.
79154         * sunrpc/clnt_simp.c: Likewise.
79155         * sunrpc/clnt_tcp.c: Likewise.
79156         * sunrpc/clnt_udp.c: Likewise.
79157         * sunrpc/clnt_unix.c: Likewise.
79158         * sunrpc/des_crypt.c: Likewise.
79159         * sunrpc/des_soft.c: Likewise.
79160         * sunrpc/get_myaddr.c: Likewise.
79161         * sunrpc/key_call.c: Likewise.
79162         * sunrpc/key_prot.c: Likewise.
79163         * sunrpc/netname.c: Likewise.
79164         * sunrpc/pm_getmaps.c: Likewise.
79165         * sunrpc/pm_getport.c: Likewise.
79166         * sunrpc/pmap_clnt.c: Likewise.
79167         * sunrpc/pmap_prot.c: Likewise.
79168         * sunrpc/pmap_prot2.c: Likewise.
79169         * sunrpc/pmap_rmt.c: Likewise.
79170         * sunrpc/publickey.c: Likewise.
79171         * sunrpc/rpc_cmsg.c: Likewise.
79172         * sunrpc/rpc_common.c: Likewise.
79173         * sunrpc/rpc_dtable.c: Likewise.
79174         * sunrpc/rpc_prot.c: Likewise.
79175         * sunrpc/rpc_thread.c: Likewise.
79176         * sunrpc/rtime.c: Likewise.
79177         * sunrpc/svc.c: Likewise.
79178         * sunrpc/svc_auth.c: Likewise.
79179         * sunrpc/svc_authux.c: Likewise.
79180         * sunrpc/svc_raw.c: Likewise.
79181         * sunrpc/svc_run.c: Likewise.
79182         * sunrpc/svc_simple.c: Likewise.
79183         * sunrpc/svc_tcp.c: Likewise.
79184         * sunrpc/svc_udp.c: Likewise.
79185         * sunrpc/svc_unix.c: Likewise.
79186         * sunrpc/svcauth_des.c: Likewise.
79187         * sunrpc/xcrypt.c: Likewise.
79188         * sunrpc/xdr.c: Likewise.
79189         * sunrpc/xdr_array.c: Likewise.
79190         * sunrpc/xdr_float.c: Likewise.
79191         * sunrpc/xdr_intXX_t.c: Likewise.
79192         * sunrpc/xdr_mem.c: Likewise.
79193         * sunrpc/xdr_rec.c: Likewise.
79194         * sunrpc/xdr_ref.c: Likewise.
79195         * sunrpc/xdr_sizeof.c: Likewise.
79196         * sunrpc/xdr_stdio.c: Likewise.
79198 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79200         [BZ #12650]
79201         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79202         * sysdeps/ia64/dl-tls.h: Likewise.
79203         * sysdeps/powerpc/dl-tls.h: Likewise.
79204         * sysdeps/s390/dl-tls.h: Likewise.
79205         * sysdeps/sh/dl-tls.h: Likewise.
79206         * sysdeps/sparc/dl-tls.h: Likewise.
79207         * sysdeps/x86_64/dl-tls.h: Likewise.
79208         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79210 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79212         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79213         rpath element also skip the following colon.
79214         (expand_dynamic_string_token): Add is_path parameter and pass
79215         down to DL_DST_REQUIRED and _dl_dst_substitute.
79216         (decompose_rpath): Call expand_dynamic_string_token with
79217         non-zero is_path.  Ignore empty rpaths.
79218         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79219         with zero is_path.
79221 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79224         Make cancelable.
79226 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79228         [BZ #12655]
79229         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79230         Patch by Filipe David Manana <fdmanana@apache.org>.
79232 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79234         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79235         Maintain aligned stack.
79236         (CHECK_RSP): Remove unused macro.
79238 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79240         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79241         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79243 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79245         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79247         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79249 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79251         [BZ #12518]
79252         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79253         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79254         * sysdeps/x86_64/memmove.c: New file.
79255         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79256         (memcpy): Renamed to ...
79257         (__new_memcpy): This.
79258         (memcpy): Provide GLIBC_2_14 memcpy.
79259         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79260         (memcpy): Provide GLIBC_2_2_5 memcpy.
79262 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79264         [BZ #12631]
79265         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79267 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79269         * misc/syncfs.c: New file.
79270         * misc/Makefile (routines): Add syncfs.
79271         * posix/unistd.h: Declare syncfs.
79272         * sysdeps/unix/syscalls.list: Add syncfs.
79274 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79276         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79277         open_by_handle_at.
79278         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79279         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79280         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79281         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79282         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79283         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79284         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79286 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79288         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79289         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79290         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79291         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79292         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79293         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79294         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79296         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79297         sync_file_range.c with -fexceptions.
79298         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79299         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79300         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79301         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79302         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79303         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79304         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79305         sync_file_range as cancellation point
79306         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79307         now a wrapper around __call_sync_file_range with cancellation handling.
79308         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79309         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79310         function name to __call_sync_file_range.
79311         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79312         Add call_sync_file_range.
79314 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79316         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79317         bits/timex.h.
79319 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79321         * iconv/iconv.h: Fix typo in comment.
79322         * io/fcntl.h: Likewise.
79323         * libio/stdio.h: Likewise.
79324         * posix/spawn.h: Likewise.
79325         * posix/unistd.h: Likewise.
79326         * stdlib/stdlib.h: Likewise.
79327         * time/time.h: Likewise.
79328         * wcsmbs/wchar.h: Likewise.
79330         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79331         open_by_handle): Add.
79332         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79333         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79334         Augment a few comments.
79335         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79336         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79337         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79338         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79339         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79340         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79341         open_by_handle.
79343         * io/fcntl.h (AT_EMPTY_PATH): Define.
79345 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79347         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79348         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79349         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79350         to...
79351         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79352         * Versions.def: Add GLIBC_2.14.
79353         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79354         Export.
79356 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79358         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79359         round counter.
79360         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79362 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79364         [BZ #12597]
79365         * string/test-strncmp.c (do_page_test): New function.
79366         (check2): Likewise.
79367         (test_main): Call check2.
79368         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79370 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79372         [BZ #12587]
79373         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79374         Handle cache information in CPU leaf 4.
79375         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79377 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79379         [BZ #12583]
79380         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79381         character representation.
79382         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79384 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79386         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79387         END(__isnan) to END(__isnanf) to match function entry point/label
79388         EALIGN(__isnanf,...).
79390 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79392         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79394 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79396         [BZ #12510]
79397         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79398         copy from the symbol referenced in the relocation to initialize the
79399         used variable.
79400         Patch by Piotr Bury <pbury@goahead.com>.
79401         * elf/Makefile: Add rules to build and tst-unique3.
79402         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79403         * elf/tst-unique3.cc: New file.
79404         * elf/tst-unique3.h: New file.
79405         * elf/tst-unique3lib.cc: New file.
79406         * elf/tst-unique3lib2.cc: New file.
79408         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79410 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79412         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79413         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79414         to _start.
79416 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79418         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79419         to-be-loaded object along a path to loader is ld.so.
79421 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79422             Ulrich Drepper  <drepper@gmail.com>
79424         * sysdeps/x86_64/memset.S: After aligning destination, code
79425         branches to different locations depending on the value of
79426         misalignment, when multiarch is enabled. Fix this.
79428 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79430         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79431         Set _x86_64_preferred_memory_instruction for AMD processsors.
79432         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79433         Set bit_Prefer_SSE_for_memop for AMD processors.
79435 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79437         * libio/fmemopen.c (fmemopen): Optimize a bit.
79439 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79441         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79443 2011-03-03  Roland McGrath  <roland@redhat.com>
79445         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79447 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79449         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79450         __bzero_ultra1 instead of __memset_ultra1.
79452 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79453             Ulrich Drepper  <drepper@gmail.com>
79455         [BZ #12509]
79456         * include/link.h (struct link_map): Add l_orig_initfini.
79457         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79458         returning unsuccessfully.
79459         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79460         close of a file loaded at startup, restore the original l_initfini
79461         list.
79462         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79463         list, store the pointer.
79464         * elf/Makefile ($(objpfx)noload-mem): New rule.
79465         (noload-ENV): Define.
79466         (tests): Add $(objpfx)noload-mem.
79467         * elf/noload.c: Include <memcheck.h>.
79468         (main): Call mtrace.  Close all opened handles.
79470 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79472         [BZ #12454]
79473         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79474         dependencies are missing.
79476 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79478         Fix __if_freereq crash: Unlike the generic version which uses free,
79479         Hurd needs munmap.
79480         * sysdeps/mach/hurd/ifreq.h: New file.
79482 2011-01-27  Petr Baudis  <pasky@suse.cz>
79483             Ulrich Drepper  <drepper@gmail.com>
79485         [BZ 12445]#
79486         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79487         to extend_alloca().
79488         * stdio-common/bug23.c: New file.
79489         * stdio-common/Makefile (tests): Add bug23.
79491 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79492             Ulrich Drepper  <drepper@gmail.com>
79494         [BZ #12489]
79495         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79496         before performing relro protection.  At old place add assertion
79497         to make sure nothing changed.
79499 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79500             Glauber de Oliveira Costa  <glommer@gmail.com>
79502         * elf/elf.h: Add new ARM TLS relocs.
79504 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79507         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79508         cast from r3.
79509         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79510         'tests' variable.
79511         * sysdeps/wordsize-64/tst-writev.c: New file.
79513 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79515         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79516         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79517         insns in _dl_start to prevent a TOC reference before relocs are
79518         resolved.
79520 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79522         [BZ #12469]
79523         * Makeconfig: Remove RANLIB definition.
79524         * Makerules: Don't use RANLIB.
79525         * aclocal.m4: Remove ranlib test.
79526         * configure.in: No need to check for ranlib.
79527         * elf/rtld-Rules: Don't use RANLIB.
79529 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79531         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79532         protection macro.
79533         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
79534         inclusion protection macro.
79536         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
79537         SIGRTMIN and SIGRTMAX and print information in that case only when
79538         SIGRTMIN is defined.
79540 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
79542         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
79543         arginfo fn returning -1.
79545         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
79546         and thousands string is zero terminated.
79548 2011-02-03  Andreas Schwab  <schwab@redhat.com>
79550         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
79551         sysdeps/unix/sysv/linux/bits/socket.h.
79553 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79555         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
79556         (__CPU_COUNT): Remove old macros.
79557         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
79558         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
79559         (__CPU_ALLOC, __CPU_FREE): Add macros.
79560         (__sched_cpualloc, __sched_cpufree): Add declarations.
79562 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
79564         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
79565         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
79566         * nscd/aicache.c (addhstaiX): Return timeout of added value.
79567         (readdhstai): Return value of addhstaiX call.
79568         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
79569         (addgrbyX): Return value returned by cache_addgr.
79570         (readdgrbyname): Return value returned by addgrbyX.
79571         (readdgrbygid): Likewise.
79572         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
79573         (addpwbyX): Return value returned by cache_addpw.
79574         (readdpwbyname): Return value returned by addhstbyX.
79575         (readdpwbyuid): Likewise.
79576         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
79577         (addservbyX): Return value returned by cache_addserv.
79578         (readdservbyname): Return value returned by addservbyX:
79579         (readdservbyport): Likewise.
79580         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
79581         (addhstbyX): Return value returned by cache_addhst.
79582         (readdhstbyname): Return value returned by addhstbyX.
79583         (readdhstbyaddr): Likewise.
79584         (readdhstbynamev6): Likewise.
79585         (readdhstbyaddrv6): Likewise.
79586         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
79587         (readdinitgroups): Return value returned by addinitgroupsX.
79588         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
79589         (prune_cache): Keep track of timeout value of re-added entries.
79590         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
79591         * nscd/nscd.h: Adjust prototypes of readd* functions.
79593 2011-02-04  Roland McGrath  <roland@redhat.com>
79595         * nis/nis_server.c (nis_servstate): Use the right name for 0.
79596         (nis_stats): Likewise.
79597         * nis/nis_modify.c (nis_modify): Likewise.
79598         * nis/nis_remove.c (nis_remove): Likewise.
79599         * nis/nis_add.c (nis_add): Likewise.
79601         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
79603         * posix/fnmatch_loop.c: Add some consts.
79605         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
79607 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
79609         [BZ #12460]
79610         * config.make.in (config-cflags-novzeroupper): Define.
79611         * configure.in: Substitute libc_cv_cc_novzeroupper.
79612         * elf/Makefile (AVX-CFLAGS): Define.
79613         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
79614         (CFLAGS-tst-auditmod4a.c): Likewise.
79615         (CFLAGS-tst-auditmod4b.c): Likewise.
79616         (CFLAGS-tst-auditmod6b.c): Likewise.
79617         (CFLAGS-tst-auditmod6c.c): Likewise.
79618         (CFLAGS-tst-auditmod7b.c): Likewise.
79619         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
79621 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
79623         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
79624         function to the callback.
79625         Patch partly by Jiri Olsa <jolsa@redhat.com>.
79627 2011-02-02  Andreas Schwab  <schwab@redhat.com>
79629         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
79630         of errno.
79632 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
79634         [BZ #11724]
79635         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
79636         of constructors.
79637         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
79638         of destructors.
79639         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
79641         [BZ #11724]
79642         * elf/Makefile: Add rules to build and run new test.
79643         * elf/tst-initorder.c: New file.
79644         * elf/tst-initorder.exp: New file.
79645         * elf/tst-initordera1.c: New file.
79646         * elf/tst-initordera2.c: New file.
79647         * elf/tst-initordera3.c: New file.
79648         * elf/tst-initordera4.c: New file.
79649         * elf/tst-initorderb1.c: New file.
79650         * elf/tst-initorderb2.c: New file.
79651         * elf/tst-order-a1.c: New file.
79652         * elf/tst-order-a2.c: New file.
79653         * elf/tst-order-a3.c: New file.
79654         * elf/tst-order-a4.c: New file.
79655         * elf/tst-order-b1.c: New file.
79656         * elf/tst-order-b2.c: New file.
79657         * elf/tst-order-main.c: New file.
79658         New test case by George Gensure <werkt0@gmail.com>.
79660 2010-10-01  Andreas Schwab  <schwab@redhat.com>
79662         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79663         decoding ACE if AI_CANONIDN.
79665 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
79667         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
79669 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
79671         * version.h (RELEASE): Bump for 2.13 release.
79672         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
79674         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
79676         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
79677         MADV_NOHUGEPAGE.
79678         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
79679         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
79680         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79681         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79682         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79683         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79685         * posix/getconf.c: Update copyright year.
79686         * catgets/gencat.c: Likewise.
79687         * csu/version.c: Likewise.
79688         * debug/catchsegv.sh: Likewise.
79689         * debug/xtrace.sh: Likewise.
79690         * elf/ldconfig.c: Likewise.
79691         * elf/ldd.bash.in: Likewise.
79692         * elf/sprof.c (print_version): Likewise.
79693         * iconv/iconv_prog.c: Likewise.
79694         * iconv/iconvconfig.c: Likewise.
79695         * locale/programs/locale.c: Likewise.
79696         * locale/programs/localedef.c: Likewise.
79697         * malloc/memusage.sh: Likewise.
79698         * malloc/mtrace.pl: Likewise.
79699         * nscd/nscd.c (print_version): Likewise.
79700         * nss/getent.c: Likewise.
79702         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
79703         PF_CAIF, and PF_ALG.
79704         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79706 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
79708         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
79709         (modules-names): Use them.
79710         (ifunc-test-modules, ifunc-pie-tests): Define.
79711         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
79712         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
79713         (test-extras): Likewise.
79714         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
79715         $(compile-command.c).
79716         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
79717         (all-built-dso): Define.
79718         (check-textrel.out, check-execstack.out): Depend on it.
79720         * configure.in: Don't override --enable-multi-arch.
79722 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
79724         [BZ #6812]
79725         * nscd/hstcache.c (tryagain): Define.
79726         (cache_addhst): Return tryagain not notfound for temporary errors.
79727         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
79728         failed.
79730 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
79732         [BZ #10563]
79733         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
79734         to make the syscall.
79735         * sysdeps/unix/sysv/linux/setgroups.c: New file.
79737         [BZ #12378]
79738         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
79739         and fall back to matching as normal character if the string ends before
79740         the matching ']' is found.  This is what POSIX requires.
79741         * posix/testfnm.c: Adjust test result.
79742         * posix/globtest.sh: Adjust test result.  Add new test.
79743         * posix/tst-fnmatch.input: Likewise.
79744         * posix/tst-fnmatch2.c: Add new test.
79746 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
79748         * elf/Makefile (check-execstack): Revert last change.  Depend on
79749         check-execstack.h.
79750         (check-execstack.h): New target.
79751         (generated): Add check-execstack.h.
79752         * elf/check-execstack.c: Include "check-execstack.h".
79753         (main): Revert last change.
79754         (handle_file): Return zero if GNU_STACK is absent and
79755         DEFAULT_STACK_PERMS doesn't include PF_X.
79757 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
79759         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
79760         in child fails because the descriptor is already closed.
79761         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
79762         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
79763         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
79765         [BZ #12397]
79766         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
79767         syscall.
79769         [BZ #10484]
79770         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
79771         temporary buffer used to handle multi lookups locally.
79772         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
79774 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79776         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
79777         loader is ld.so.
79779 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
79781         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
79782         alignment for SSE2.
79784 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
79786         [BZ #12394]
79787         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
79788         characters.  When rounding increased number of integer digits recompute
79789         number of groups.
79790         * stdio-common/tst-grouping.c: New file.
79791         * stdio-common/Makefile: Add rules to build and run tst-grouping.
79793 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
79795         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
79796         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
79798         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
79799         void.
79800         * bits/select.h: Likewise.
79802 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
79804         * po/ja.po: Update from translation team.
79806 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
79808         [BZ #11155]
79809         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
79810         implementation just like for lxstat, fxstatat, et al.
79812 2010-12-27  Jim Meyering  <meyering@redhat.com>
79814         [BZ #12348]
79815         * posix/regexec.c (build_trtable): Return failure indication upon
79816         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
79818 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
79820         [BZ #12201]
79821         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
79822         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
79823         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
79824         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
79826         [BZ #12207]
79827         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
79829         [BZ #12204]
79830         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
79831         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
79833 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
79835         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
79836         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
79837         script has SORT_BY_INIT_PRIORITY.
79838         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
79839         NO_CTORS_DTORS_SECTIONS is defined.
79840         * elf/soinit.c: Likewise.
79841         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
79842         NO_CTORS_DTORS_SECTIONS is defined.
79843         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
79844         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
79845         * sysdeps/sh/init-first.c: Likewise.
79846         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
79848 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
79850         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
79851         always use the slow path.
79853 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
79855         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
79856         similar rule which adds the sysdep directories to the header search in
79857         order to pick up the correct platform stackinfo.h.
79858         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
79859         perform test if it is, otherwise return successfully without testing.
79860         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
79861         DEFAULT_STACK_PERMS define in stackinfo.h.
79862         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
79863         defined in stackinfo.h.
79864         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
79865         DEFAULT_STACK_PERMS defined in stackinfo.h.
79866         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
79867         * sysdeps/ia64/stackinfo.h: Likewise.
79868         * sysdeps/s390/stackinfo.h: Likewise.
79869         * sysdeps/sh/stackinfo.h: Likewise.
79870         * sysdeps/sparc/stackinfo.h: Likewise.
79871         * sysdeps/x86_64/stackinfo.h: Likewise.
79872         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
79873         PF_X for powerpc64.  Retain PF_X for powerpc32.
79875 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
79877         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
79878         accurately.
79879         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
79880         GETDENTS_64BIT_ALIGNED.
79882 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
79884         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
79886 2010-12-10  Andreas Schwab  <schwab@redhat.com>
79888         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
79889         _GNU_SOURCE.
79891         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
79892         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
79893         Remove __restrict.
79894         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
79895         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
79897 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
79899         [BZ #11655]
79900         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
79901         are initialized.
79903 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
79905         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
79907 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
79909         * po/it.po: Update from translation team.
79911 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
79913         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
79914         unused codes.
79916 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
79918         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
79920 2010-11-24  Andreas Schwab  <schwab@redhat.com>
79922         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
79923         specially.
79924         (gaih_getanswer_slice): Likewise.
79926 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
79928         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
79930 2010-05-31  Petr Baudis  <pasky@suse.cz>
79932         [BZ #11149]
79933         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
79934         silently even in the chroot mode.
79936 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
79938         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
79939         last patch a bit.  Pretty printing
79941 2010-05-31  Petr Baudis <pasky@suse.cz>
79943         [BZ #10085]
79944         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
79945         initialization of skip_initgroups_dyn.
79947 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
79949         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
79950         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
79952 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
79954         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
79956 2010-11-11  Andreas Schwab  <schwab@redhat.com>
79958         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
79959         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
79960         (tst-fnmatch-ENV): Set MALLOC_TRACE.
79961         ($(objpfx)tst-fnmatch-mem): New rule.
79962         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
79963         * posix/tst-fnmatch.c (main): Call mtrace.
79965 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
79967         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79968         Support Intel processor model 6 and model 0x2c.
79970 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
79972         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
79973           signed comparison.
79975 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
79977         [BZ #12205]
79978         * string/test-strncasecmp.c (check_result): New function.
79979         (do_one_test): Use it.
79980         (check1): New function.
79981         (test_main): Use it.
79982         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
79983         Support strcasecmp and strncasecmp.
79985 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
79987         [BZ #12194]
79988         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
79989         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79991 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
79993         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
79994         IFUNC support.
79995         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79996         memset-x86-64.
79997         * sysdeps/x86_64/multiarch/bzero.S: New file.
79998         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
79999         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80000         * sysdeps/x86_64/multiarch/memset.S: New file.
80001         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
80002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80003         Set bit_Prefer_SSE_for_memop for Intel processors.
80004         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
80005         Define.
80006         (index_Prefer_SSE_for_memop): Define.
80007         (HAS_PREFER_SSE_FOR_MEMOP): Define.
80009 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
80011         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80012         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80014 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80016         [BZ #12191]
80017         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80018         (__x86_64_raw_data_cache_size_half): Likewise.
80019         (__x86_64_raw_shared_cache_size): Likewise.
80020         (__x86_64_raw_shared_cache_size_half): Likewise.
80022         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80023         (__x86_64_raw_data_cache_size_half): Likewise.
80024         (__x86_64_raw_shared_cache_size): Likewise.
80025         (__x86_64_raw_shared_cache_size_half): Likewise.
80026         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80027         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80028         and __x86_64_raw_shared_cache_size_half.  Round
80029         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80030         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80031         to multiple of 256 bytes.
80033 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80035         [BZ #12167]
80036         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80037         of inacessible symlinks.  Verify result of symlink before returning it.
80038         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80039         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80041 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80043         * math/math.h (isinf): Fix typo in comment.
80045 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80047         * po/da.po: Update from translation team.
80049 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80051         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80052         is added to the list.
80054 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80055             Ulrich Drepper  <drepper@gmail.com>
80057         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80058         the global list here.  Move code to...
80059         (_dl_add_to_namespace_list): ...here.  New function.
80060         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80061         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80062         * elf/dl-load.c (lose): Don't remove the element from the list.
80063         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80064         (_dl_map_object): Likewise.
80066 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80068         [BZ #12159]
80069         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80070         into all bytes of SSE register.
80071         Patch by Richard Li <richardpku@gmail.com>.
80073 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80075         [BZ #12140]
80076         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80077         perturbing.
80079 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80081         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80082         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80083         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80084         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80086         submachine.
80087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80089 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80091         * include/dlfcn.h (__RTLD_SECURE): Define.
80092         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80093         mode & __RTLD_SECURE instead.
80094         (open_path): Rename preloaded parameter to secure.
80095         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80096         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80097         * elf/dl-deps.c (openaux): Likewise.
80098         * elf/rtld.c (struct map_args): Remove is_preloaded.
80099         (map_doit): Don't use it.
80100         (dl_main): Likewise.
80101         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80102         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80104 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80106         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80107         (sysd-rules-targets): Remove duplicates.
80108         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80109         rtld-%.$o dependency.
80111 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80113         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80114         _dl_map_object do it.
80116 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80118         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80119         fast fma builtins, define the macros in the C99 standard.
80120         (FP_FAST_FMAF): Likewise.
80121         (FP_FAST_FMAL): Likewise.
80122         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80124         * bits/mathdef.h: Update copyright year.
80125         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80127 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80129         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80130         builtins, define the macros in the C99 standard.
80131         (FP_FAST_FMAF): Likewise.
80132         (FP_FAST_FMAL): Likewise.
80133         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80134         multiply/add.
80135         (FP_FAST_FMAF): Likewise.
80137 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80139         [BZ #3268]
80140         * math/libm-test.inc (fma_test): Some new testcases.
80141         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80142         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80143         y and infinite z.  Do multiplication by C already in long double.
80144         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80145         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80146         y and infinite z.  Do bitwise or of inexact bit into u.d.
80147         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80148         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80149         * sysdeps/i386/fpu/s_fma.S: Removed.
80150         * sysdeps/i386/fpu/s_fmal.S: Removed.
80152 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80154         [BZ #3268]
80155         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80156         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80157         computation is not scheduled after fetestexcept.  Fix value
80158         of minimum denormal long double.
80160 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80162         [BZ #3268]
80163         * math/libm-test.inc (fma_test): Add some more tests.
80164         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80165         correctly.
80167 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80169         * scripts/data/localplt-s390-linux-gnu.data: New file.
80170         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80172 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80174         [BZ #3268]
80175         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80176         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80177         instead of dbl-64.
80178         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80179         inlines.
80180         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80182         if one of x and y is very large and the other is subnormal.
80183         * sysdeps/s390/fpu/s_fmaf.c: New file.
80184         * sysdeps/s390/fpu/s_fma.c: New file.
80185         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80186         * sysdeps/powerpc/fpu/s_fma.S: New file.
80187         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80188         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80189         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80191 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80193         [BZ #3268]
80194         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80195         fma tests.
80196         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80197         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80198         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80199         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80200         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80201         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80202         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80204 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80206         [BZ #12078]
80207         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80208         * posix/bug-regex31.input: Add test case.
80210 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80212         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80213         * posix/bug-regex31.input: New file.
80215         [BZ #12078]
80216         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80217         (parse_sub_exp): Fix last change, use postorder.
80219         * posix/bug-regex31.c: New file.
80220         * posix/Makefile: Add rules to build and run bug-regex31.
80222         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80224         [BZ #12078]
80225         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80227         [BZ #12108]
80228         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80229         to have entries in sys_siglist.
80231         [BZ #12093]
80232         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80233         be NULL.
80235 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80237         [BZ #3268]
80238         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80239         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80240         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80241         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80242         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80243         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80244         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80245         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80246         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80247         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80248         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80249         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80250         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80251         * math/ftestexcept.c (fetestexcept): Likewise.
80252         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80253         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80254         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80255         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80256         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80257         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80258         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80260 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80262         [BZ #12107]
80263         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80264         newline.
80266 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80268         * string/bug-strstr1.c: New file.
80269         * string/Makefile: Add rules to build and run bug-strstr1.
80271 2010-10-05  Eric Blake  <eblake@redhat.com>
80273         [BZ #12092]
80274         * string/str-two-way.h (two_way_long_needle): Always clear memory
80275         when skipping input due to the shift table.
80277 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80279         [BZ #12005]
80280         * malloc/mcheck.c: Handle large requests.
80282         [BZ #12077]
80283         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80284         for strncmp and strncasecmp.
80285         * string/stratcliff.c: Add tests for strcmp and strncmp.
80286         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80288 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80290         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80291         __set_fpscr.
80293 2010-09-30  Andreas Jaeger  <aj@suse.de>
80295         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80296         (CGROUP_SUPER_MAGIC): Define.
80297         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80298         Handle btrfs and cgroup file systems.
80299         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80300         Likewise.
80302 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80304         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80305         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80307 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80309         [BZ #12067]
80310         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80311         trying to locate the ELF header.
80313 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80315         [BZ #11611]
80316         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80317         Mask out sign-bit copies when constructing f_fsid.
80319 2010-09-24  Petr Baudis <pasky@suse.cz>
80321         * debug/stack_chk_fail_local.c: Add missing licence exception.
80322         * debug/warning-nop.c: Likewise.
80324 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80326         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80327         implementing getdents64 using getdents syscall, set d_type if
80328         __ASSUME_GETDENTS32_D_TYPE.
80330 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80332         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80333         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80335 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80337         [BZ #12037]
80338         * posix/unistd.h: Undo change of feature selection for ftruncate from
80339         2010-01-11.
80341 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80343         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80344         detection.
80346 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80348         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80349         fanotify_mark.
80350         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80352 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80354         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80355         variables after CHECK_SP call.
80356         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80358 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80359             Ulrich Drepper  <drepper@redhat.com>
80361         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80362         re-relocationg ld.so.
80363         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80364         _dl_init_paths call.
80365         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80366         here anymore.
80368 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80370         * resolv/res_init.c (__res_vinit): Count the default server we added.
80372 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80373             Ulrich Drepper  <drepper@redhat.com>
80375         [BZ #11968]
80376         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80377         (____longjmp_chk): Use %ebx for saving value across system call.
80378         Add unwind info.
80380 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80382         * manual/Makefile: Don't mix pattern rules with normal rules.
80384 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80386         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80387         operation.
80388         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80389         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80390         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80391         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80392         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80393         Likewise.
80395 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80397         [BZ #11979]
80398         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80399         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80401 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80403         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80404         * sysdeps/x86_64/addmul_1.S: Likewise.
80405         * sysdeps/x86_64/lshift.S: Likewise.
80406         * sysdeps/x86_64/mul_1.S: Likewise.
80407         * sysdeps/x86_64/rshift.S: Likewise.
80408         * sysdeps/x86_64/sub_n.S: Likewise.
80409         * sysdeps/x86_64/submul_1.S: Likewise.
80411 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80413         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80414         Define __sched_param instead of SCHED_* and sched_param when
80415         <bits/sched.h> is included with __need_schedparam defined.
80416         * bits/sched.h [__need_schedparam]
80417         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80418         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80419         (__defined_schedparam): Define to 1.
80420         (__sched_param): New structure, identical to sched_param.
80421         (__need_schedparam): Undefine.
80423 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80425         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80426         (epoll_create1): Declare.
80428         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80430 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80432         [BZ #7066]
80433         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80434         shifting retval into place.
80436 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80438         * nis/rpcsvc/nis.h: Update copyright notice.
80439         * nis/rpcsvc/nis.x: Likewise.
80440         * nis/rpcsvc/nis_callback.h: Likewise.
80441         * nis/rpcsvc/nis_callback.x: Likewise.
80442         * nis/rpcsvc/nis_object.x: Likewise.
80443         * nis/rpcsvc/nis_tags.h: Likewise.
80444         * nis/rpcsvc/yp.h: Likewise.
80445         * nis/rpcsvc/yp.x: Likewise.
80446         * nis/rpcsvc/ypupd.h: Likewise.
80447         * nis/yp_xdr.c: Likewise.
80448         * nis/ypupdate_xdr.c: Likewise.
80450         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80451         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80452         (pmap_getport): Use __libc_rpc_getport.
80453         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80454         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80455         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80457 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80460         fanotify_mark.
80462 2010-08-27  Roland McGrath  <roland@redhat.com>
80464         * sysdeps/i386/i686/multiarch/Makefile
80465         (CFLAGS-varshift.c): New variable.
80467 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80469         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80470         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80472         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80474         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80476 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80478         * sysdeps/x86_64/strlen.S: Unroll the loop.
80479         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80480         strlen-sse2 strlen-sse2-bsf.
80481         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80482         __strlen_no_bsf if bit_Slow_BSF is set.
80483         (__strlen_sse42): Removed.
80484         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80485         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80487 2010-08-25  Roland McGrath  <roland@redhat.com>
80489         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80490         * sysdeps/x86_64/multiarch/varshift.c: New file.
80491         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80492         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80493         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80494         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80496 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80499         strlen-sse2 strlen-sse2-bsf.
80500         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80501         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80502         (__strlen_sse2): Removed.
80503         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80504         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80506         bit_Slow_BSF for Atom.
80507         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80508         (index_Slow_BSF): Define.
80509         (HAS_SLOW_BSF): Define.
80511 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80513         [BZ #10851]
80514         * resolv/res_init.c (__res_vinit): When no server address at all
80515         is given default to loopback.
80517 2010-08-24  Roland McGrath  <roland@redhat.com>
80519         * configure.in: Remove config-name.h generation.
80520         * configure: Regenerated.
80521         * config-name.in: File removed.
80522         * scripts/config-uname.sh: New file.
80523         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80524         ($(objdir)config-name.h): New target.
80526         * sunrpc/rpc_parse.h: Avoid nested comment.
80528 2010-08-24  Richard Henderson  <rth@redhat.com>
80529             Ulrich Drepper  <drepper@redhat.com>
80530             H.J. Lu  <hongjiu.lu@intel.com>
80532         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
80533         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
80534         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
80535         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
80536         _mm_alignr_epi8 with _mm_loadu_si128.
80537         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
80538         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
80539         (__m128i_shift_right): Removed.
80540         * sysdeps/i386/i686/multiarch/varshift.h: New file.
80541         * sysdeps/i386/i686/multiarch/varshift.S: New file.
80542         * sysdeps/x86_64/multiarch/varshift.h: New file.
80543         * sysdeps/x86_64/multiarch/varshift.S: New file.
80545 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
80547         * configure.in: Move assembler checks to before sysdep dir checking.
80549 2010-08-20  Petr Baudis  <pasky@suse.cz>
80551         * LICENSES: Sync the sunrpc license.
80553 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
80555         * sunrpc/auth_des.c: Update copyright notice once again.
80556         * sunrpc/auth_none.c: Likewise.
80557         * sunrpc/auth_unix.c: Likewise.
80558         * sunrpc/authdes_prot.c: Likewise.
80559         * sunrpc/authuxprot.c: Likewise.
80560         * sunrpc/bindrsvprt.c: Likewise.
80561         * sunrpc/clnt_gen.c: Likewise.
80562         * sunrpc/clnt_perr.c: Likewise.
80563         * sunrpc/clnt_raw.c: Likewise.
80564         * sunrpc/clnt_simp.c: Likewise.
80565         * sunrpc/clnt_tcp.c: Likewise.
80566         * sunrpc/clnt_udp.c: Likewise.
80567         * sunrpc/clnt_unix.c: Likewise.
80568         * sunrpc/des_crypt.c: Likewise.
80569         * sunrpc/des_soft.c: Likewise.
80570         * sunrpc/get_myaddr.c: Likewise.
80571         * sunrpc/getrpcport.c: Likewise.
80572         * sunrpc/key_call.c: Likewise.
80573         * sunrpc/key_prot.c: Likewise.
80574         * sunrpc/openchild.c: Likewise.
80575         * sunrpc/pm_getmaps.c: Likewise.
80576         * sunrpc/pm_getport.c: Likewise.
80577         * sunrpc/pmap_clnt.c: Likewise.
80578         * sunrpc/pmap_prot.c: Likewise.
80579         * sunrpc/pmap_prot2.c: Likewise.
80580         * sunrpc/pmap_rmt.c: Likewise.
80581         * sunrpc/rpc/auth.h: Likewise.
80582         * sunrpc/rpc/auth_unix.h: Likewise.
80583         * sunrpc/rpc/clnt.h: Likewise.
80584         * sunrpc/rpc/des_crypt.h: Likewise.
80585         * sunrpc/rpc/key_prot.h: Likewise.
80586         * sunrpc/rpc/netdb.h: Likewise.
80587         * sunrpc/rpc/pmap_clnt.h: Likewise.
80588         * sunrpc/rpc/pmap_prot.h: Likewise.
80589         * sunrpc/rpc/pmap_rmt.h: Likewise.
80590         * sunrpc/rpc/rpc.h: Likewise.
80591         * sunrpc/rpc/rpc_des.h: Likewise.
80592         * sunrpc/rpc/rpc_msg.h: Likewise.
80593         * sunrpc/rpc/svc.h: Likewise.
80594         * sunrpc/rpc/svc_auth.h: Likewise.
80595         * sunrpc/rpc/types.h: Likewise.
80596         * sunrpc/rpc/xdr.h: Likewise.
80597         * sunrpc/rpc_clntout.c: Likewise.
80598         * sunrpc/rpc_cmsg.c: Likewise.
80599         * sunrpc/rpc_common.c: Likewise.
80600         * sunrpc/rpc_cout.c: Likewise.
80601         * sunrpc/rpc_dtable.c: Likewise.
80602         * sunrpc/rpc_hout.c: Likewise.
80603         * sunrpc/rpc_main.c: Likewise.
80604         * sunrpc/rpc_parse.c: Likewise.
80605         * sunrpc/rpc_parse.h: Likewise.
80606         * sunrpc/rpc_prot.c: Likewise.
80607         * sunrpc/rpc_sample.c: Likewise.
80608         * sunrpc/rpc_scan.c: Likewise.
80609         * sunrpc/rpc_scan.h: Likewise.
80610         * sunrpc/rpc_svcout.c: Likewise.
80611         * sunrpc/rpc_tblout.c: Likewise.
80612         * sunrpc/rpc_util.c: Likewise.
80613         * sunrpc/rpc_util.h: Likewise.
80614         * sunrpc/rpcinfo.c: Likewise.
80615         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
80616         * sunrpc/rpcsvc/key_prot.x: Likewise.
80617         * sunrpc/rpcsvc/klm_prot.x: Likewise.
80618         * sunrpc/rpcsvc/mount.x: Likewise.
80619         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
80620         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
80621         * sunrpc/rpcsvc/rex.x: Likewise.
80622         * sunrpc/rpcsvc/rstat.x: Likewise.
80623         * sunrpc/rpcsvc/rusers.x: Likewise.
80624         * sunrpc/rpcsvc/sm_inter.x: Likewise.
80625         * sunrpc/rpcsvc/spray.x: Likewise.
80626         * sunrpc/rpcsvc/yppasswd.x: Likewise.
80627         * sunrpc/rtime.c: Likewise.
80628         * sunrpc/svc.c: Likewise.
80629         * sunrpc/svc_auth.c: Likewise.
80630         * sunrpc/svc_authux.c: Likewise.
80631         * sunrpc/svc_raw.c: Likewise.
80632         * sunrpc/svc_run.c: Likewise.
80633         * sunrpc/svc_simple.c: Likewise.
80634         * sunrpc/svc_tcp.c: Likewise.
80635         * sunrpc/svc_udp.c: Likewise.
80636         * sunrpc/svc_unix.c: Likewise.
80637         * sunrpc/svcauth_des.c: Likewise.
80638         * sunrpc/xcrypt.c: Likewise.
80639         * sunrpc/xdr.c: Likewise.
80640         * sunrpc/xdr_array.c: Likewise.
80641         * sunrpc/xdr_float.c: Likewise.
80642         * sunrpc/xdr_mem.c: Likewise.
80643         * sunrpc/xdr_rec.c: Likewise.
80644         * sunrpc/xdr_ref.c: Likewise.
80645         * sunrpc/xdr_sizeof.c: Likewise.
80646         * sunrpc/xdr_stdio.c: Likewise.
80648         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
80649         handling.
80651 2010-08-19  Andreas Schwab  <schwab@redhat.com>
80653         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
80655 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
80657         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
80658         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
80659         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
80660         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
80661         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
80662         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
80663         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
80664         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
80665         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
80666         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
80667         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
80668         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
80669         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
80670         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
80672 2010-07-26  Anton Blanchard  <anton@samba.org>
80674         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
80675         * malloc/arena.c (heap_trim): Likewise.
80677 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
80679         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
80680         here.  Not...
80681         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
80682         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
80684 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
80686         * sysdeps/i386/elf/Makefile: New file.
80688 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80690         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
80691         from fanotify_init.
80692         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
80693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80695 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
80697         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
80698         of strncasecmp_l.
80699         * sysdeps/multiarch/strcmp.S: Likewise.
80701 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
80703         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80704         strncase_l-nonascii.
80705         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80706         Add strncase_l-ssse3.
80707         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
80708         * sysdeps/x86_64/strcmp.S: Likewise.
80709         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
80710         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
80711         * sysdeps/x86_64/strncase.S: New file.
80712         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
80713         * sysdeps/x86_64/strncase_l.S: New file.
80714         * string/Makefile (strop-tests): Add strncasecmp.
80715         * string/test-strncasecmp.c: New file.
80717         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
80718         warning.
80720         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
80721         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
80723 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
80725         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
80727 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
80729         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
80730         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
80731         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
80733 2010-05-01  Alan Modra  <amodra@gmail.com>
80735         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
80736         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
80737         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
80738         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
80739         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
80740         tidying.  Don't tail-call __sigjmp_save for static lib.
80741         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
80742         save location.
80743         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
80744         (CALL_MCOUNT): Add eh info, and nop after bl.
80745         (TAIL_CALL_SYSCALL_ERROR): New macro.
80746         (PSEUDO_RET): Use it.
80747         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
80748         Correct save location of integer regs and cr.
80749         (_dl_profile_resolve): Correct cr save location.  Delete nops
80750         after bl when SHARED.  Reduce cfi size a little by better
80751         placement of cfi directives.
80752         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
80753         make a stack frame.  Instead use parm save area as a temp.
80754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
80755         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
80756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
80757         Don't make a stack frame for parent, use parm save area.
80758         Increase child stack frame to 112 bytes.  Don't save unused reg,
80759         and adjust reg usage.  Set up cfi on error recovery and
80760         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
80761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
80762         (__makecontext): Add dummy nop after jump to exit.
80763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
80764         Use correct parm save area and cr save, reduce stack frame.
80765         Correct cfi for possible PSEUDO_RET frame setup.
80766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
80767         Branch to local label emitted by PSEUDO_RET rather than
80768         __syscall_error.
80770 2010-08-12  Andreas Schwab  <schwab@redhat.com>
80772         [BZ #11904]
80773         * locale/programs/locale.c (print_assignment): New function.
80774         (show_locale_vars): Use it.
80776 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
80778         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
80779         field.
80780         (struct statfs64): Likewise.
80781         (_STATFS_F_FLAGS): Define.
80782         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
80783         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80784         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
80785         (ST_VALID): Define locally.
80786         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
80787         __statvfs_getflags, use the provided value.
80788         * sysdeps/unix/sysv/linux/kernel-features.h: Define
80789         __ASSUME_STATFS_F_FLAGS.
80791         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
80793         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
80794         Add sys/fanotify.h.
80795         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
80796         fanotify_mask for GLIBC_2.13.
80797         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
80798         fanotify_init and fanotify_mark.
80799         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
80800         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
80802         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
80803         Add prlimit.
80804         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
80805         prlimit64 for GLIBC_2.13.
80806         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
80807         prlimit64.
80808         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
80809         syscall.
80810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
80811         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80812         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
80813         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
80814         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
80815         add prlimit alias.
80816         * sysdeps/unix/sysv/linux/prlimit.c: New file.
80818         [BZ #11903]
80819         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
80820         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
80822         * nss/Makefile: Add rules to build and run tst-nss-test1.
80823         * shlib-versions: Add entry for libnss_test1.
80824         * nss/nss_test1.c: New file.
80825         * nss/tst-nss-test1.c: New file.
80827         * nss/nsswitch.c (__nss_database_custom): Define new variable.
80828         (__nss_configure_lookup): Set appropriate entry in
80829         __nss_configure_lookup to true.
80830         * nss/nsswitch.h: Define enum with indeces of databases in
80831         databases and __nss_database_custom arrays.  Declare
80832         __nss_database_custom.
80833         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
80834         to avoid using nscd when custom rules are installed.
80835         * nss/getXXbyYY_r.c: Likewise.
80836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
80838         * nss/nss_files/files-parse.c: Whitespace fixes.
80840 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
80842         [BZ #11883]
80843         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
80844         * posix/fnmatch_loop.c: Likewise.
80846 2010-07-17  Andi Kleen  <ak@linux.intel.com>
80848         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
80849         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
80850         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
80851         * Versions.def [GLIBC_2.13]: Add.
80853 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
80855         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
80856         Also fail if tpwd after pwuid call is NULL.
80858 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80860         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
80861         when converting to ms.
80863 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80865         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
80866         EOPNOTSUPP errors with ENOTTY.
80867         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
80868         EOPNOTSUPP errors with ENOTTY.
80870 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
80872         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
80873         Add strcasecmp_l-ssse3.
80874         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
80875         strcasecmp.
80876         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
80877         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
80878         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
80880 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
80882         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
80884         * string/Makefile (strop-tests): Add strcasecmp.
80885         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
80886         strcasecmp_l-nonascii.
80887         (gen-as-const-headers): Add locale-defines.sym.
80888         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
80889         * sysdeps/x86_64/strcasecmp.S: New file.
80890         * sysdeps/x86_64/strcasecmp_l.S: New file.
80891         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
80892         * sysdeps/x86_64/locale-defines.sym: New file.
80893         * string/test-strcasecmp.c: New file.
80895         * string/test-strcasestr.c: Test both ends of the range of characters.
80896         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
80898 2010-07-29  Roland McGrath  <roland@redhat.com>
80900         [BZ #11856]
80901         * manual/locale.texi (Yes-or-No Questions): Fix example code.
80903 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
80905         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
80906         for ld.so.
80908 2010-07-27  Andreas Schwab  <schwab@redhat.com>
80910         * manual/memory.texi (Malloc Tunable Parameters): Document
80911         M_PERTURB.
80913 2010-07-26  Roland McGrath  <roland@redhat.com>
80915         [BZ #11840]
80916         * configure.in (-fgnu89-inline check): Set and substitute
80917         gnu89_inline, not libc_cv_gnu89_inline.
80918         * configure: Regenerated.
80919         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
80921 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
80923         * string/test-strnlen.c: New file.
80924         * string/Makefile (strop-tests): Add strnlen.
80925         * string/tester.c (test_strnlen): Add a few more test cases.
80926         * string/tst-strlen.c: Better error reporting.
80928         * sysdeps/x86_64/strnlen.S: New file.
80930 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
80932         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
80933         lower-latency instructions.
80935 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
80937         * string/test-strcasestr.c: New file.
80938         * string/test-strstr.c: New file.
80939         * string/Makefile (strop-tests): Add strstr and strcasestr.
80940         * string/str-two-way.h: Don't undefine MAX.
80941         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
80943 2010-07-21  Andreas Schwab  <schwab@redhat.com>
80945         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80946         strcasestr-nonascii.
80947         (CFLAGS-strcasestr-nonascii.c): Define.
80948         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
80949         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
80950         Remove unused attribute.
80952 2010-07-20  Roland McGrath  <roland@redhat.com>
80954         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
80955         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
80956         ld.so.cache was broken.  With it, there is no way to disable dsocaps
80957         like LD_HWCAP_MASK can disable hwcaps.
80959 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
80961         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
80963 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
80965         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
80966         call in strcasestr.
80967         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
80968         __strcasestr_sse42_nonascii.
80969         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
80970         strcasestr-nonascii.c.
80971         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
80973 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
80975         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
80976         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
80977         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
80978         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
80980 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
80982         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
80983         fcntl.
80985 2010-07-06  Andreas Schwab  <schwab@redhat.com>
80987         [BZ #11577]
80988         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
80989         dl_signal_cerror.
80991 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
80993         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
80994         _PC_PIPE_BUF using F_GETPIPE_SZ.
80996 2010-07-05  Roland McGrath  <roland@redhat.com>
80998         * manual/arith.texi (Rounding Functions): Fix rint description
80999         implicit in round description.
81001 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
81003         * elf/Makefile: Fix linking for a few tests to make recent linker
81004         happy.
81006 2010-06-30  Andreas Schwab  <schwab@redhat.com>
81008         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81009         $(common-objpfx)libc_nonshared.a.
81011 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
81013         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81014         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81015         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81016         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81017         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81018         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81019         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81020         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81035         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81036         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81037         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81038         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81039         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81040         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81041         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81042         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81043         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81044         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81045         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81046         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81062 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81064         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81065         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81066         * string/memmove.c (memmove): Renamed to ...
81067         (MEMMOVE): ...this.  Default to memmove.
81068         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81069         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81070         (END_CHK): Define.
81071         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81072         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81073         mempcpy-ssse3-back memmove-ssse3-back.
81074         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81075         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81076         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81077         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81078         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81079         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81080         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81081         * sysdeps/x86_64/multiarch/memmove.c: New file.
81082         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81083         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81084         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81085         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81086         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81087         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81088         Define.
81089         (index_Fast_Copy_Backward): Define.
81090         (HAS_ARCH_FEATURE): Define.
81091         (HAS_FAST_REP_STRING): Define.
81092         (HAS_FAST_COPY_BACKWARD): Define.
81094 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81096         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81097         Restore proper fallback handling.
81099 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81101         [BZ #11701]
81102         * posix/group_member.c (__group_member): Correct checking loop.
81104         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81105         OOM in getpwuid_r correctly.  Return error number when the caller
81106         should return, otherwise -1.
81107         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81108         call returning > 0 value.
81109         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81111 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81113         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81114         libc_nonshared.a from targets in modules-names.
81116 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81118         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81119         requires it.
81121 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81123         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81124         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81125         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81126         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81128 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81130         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81132 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81134         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81135         and F_GETPIPE_SZ.
81136         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81137         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81138         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81139         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81140         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81141         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81143 2010-06-14  Roland McGrath  <roland@redhat.com>
81145         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81147 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81149         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81150         __REDIRECT followed by __THROW.
81151         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81152         * posix/getopt.h (getopt): Likewise.
81154 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81156         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81157         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81158         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81159         in AT_FLAGS.
81160         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81161         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81163 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81165         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81167 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81169         [BZ #11640]
81170         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81171         Properly check family and model.
81173 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81175         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81177 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81179         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81181 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81183         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81184         symbol reference.
81186 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81188         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81189         symbol reference.
81191 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81193         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81194         and internal_recvmmsg.
81195         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81196         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81197         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81198         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81200         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81201         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81202         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81204 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81206         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81208 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81210         POWER7 optimizations.
81211         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81212         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81214 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81216         * version.h: Update for 2.13 development version.
81218 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81220         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81221         exceptions.  Return 0.
81223 2010-05-07  Roland McGrath  <roland@redhat.com>
81225         * elf/ldconfig.c (main): Add a const.
81227 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81229         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81230         (args_options): Add no-idn option.
81231         (ahosts_keys_int): Add idn_flags to ai_flags.
81232         (parse_option): Handle 'i' option to clear idn_flags.
81234         * malloc/malloc.c (_int_free): Possible race in the most recently
81235         added check.  Only act on the data if no current modification
81236         happened.
81238 See ChangeLog.17 for earlier changes.